OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |