Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: src/assembler_ia32.h

Issue 647193003: emitIAS for store and indirect calls. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: stuff Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // Modified by the Subzero authors. 5 // Modified by the Subzero authors.
6 // 6 //
7 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ----------------===// 7 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ----------------===//
8 // 8 //
9 // The Subzero Code Generator 9 // The Subzero Code Generator
10 // 10 //
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 TypedEmitRegRegImm RegRegImm; 455 TypedEmitRegRegImm RegRegImm;
456 TypedEmitRegAddrImm RegAddrImm; 456 TypedEmitRegAddrImm RegAddrImm;
457 }; 457 };
458 458
459 /* 459 /*
460 * Emit Machine Instructions. 460 * Emit Machine Instructions.
461 */ 461 */
462 void call(GPRRegister reg); 462 void call(GPRRegister reg);
463 void call(const Address &address); 463 void call(const Address &address);
464 void call(Label *label);
465 void call(const ConstantRelocatable *label); 464 void call(const ConstantRelocatable *label);
466 465
467 static const intptr_t kCallExternalLabelSize = 5; 466 static const intptr_t kCallExternalLabelSize = 5;
468 467
469 void pushl(GPRRegister reg); 468 void pushl(GPRRegister reg);
470 469
471 void popl(GPRRegister reg); 470 void popl(GPRRegister reg);
472 void popl(const Address &address); 471 void popl(const Address &address);
473 472
474 void pushal(); 473 void pushal();
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { 872 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) {
874 buffer_.EmitFixup(fixup); 873 buffer_.EmitFixup(fixup);
875 } 874 }
876 875
877 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } 876 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); }
878 877
879 } // end of namespace x86 878 } // end of namespace x86
880 } // end of namespace Ice 879 } // end of namespace Ice
881 880
882 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ 881 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_
OLDNEW
« src/IceInstX8632.cpp ('K') | « src/IceInstX8632.cpp ('k') | src/assembler_ia32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698