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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 | 476 |
477 void setcc(CondX86::BrCond condition, ByteRegister dst); | 477 void setcc(CondX86::BrCond condition, ByteRegister dst); |
478 | 478 |
479 void mov(Type Ty, GPRRegister dst, const Immediate &src); | 479 void mov(Type Ty, GPRRegister dst, const Immediate &src); |
480 void mov(Type Ty, GPRRegister dst, GPRRegister src); | 480 void mov(Type Ty, GPRRegister dst, GPRRegister src); |
481 | 481 |
482 void mov(Type Ty, GPRRegister dst, const Address &src); | 482 void mov(Type Ty, GPRRegister dst, const Address &src); |
483 void mov(Type Ty, const Address &dst, GPRRegister src); | 483 void mov(Type Ty, const Address &dst, GPRRegister src); |
484 void mov(Type Ty, const Address &dst, const Immediate &imm); | 484 void mov(Type Ty, const Address &dst, const Immediate &imm); |
485 | 485 |
486 void movzxb(GPRRegister dst, ByteRegister src); | 486 void movzx(Type Ty, GPRRegister dst, GPRRegister src); |
487 void movzxb(GPRRegister dst, const Address &src); | 487 void movzx(Type Ty, GPRRegister dst, const Address &src); |
488 void movsxb(GPRRegister dst, ByteRegister src); | 488 void movsx(Type Ty, GPRRegister dst, GPRRegister src); |
489 void movsxb(GPRRegister dst, const Address &src); | 489 void movsx(Type Ty, GPRRegister dst, const Address &src); |
490 | |
491 void movzxw(GPRRegister dst, GPRRegister src); | |
492 void movzxw(GPRRegister dst, const Address &src); | |
493 void movsxw(GPRRegister dst, GPRRegister src); | |
494 void movsxw(GPRRegister dst, const Address &src); | |
495 | 490 |
496 void lea(Type Ty, GPRRegister dst, const Address &src); | 491 void lea(Type Ty, GPRRegister dst, const Address &src); |
497 | 492 |
498 void cmov(CondX86::BrCond cond, GPRRegister dst, GPRRegister src); | 493 void cmov(CondX86::BrCond cond, GPRRegister dst, GPRRegister src); |
499 | 494 |
500 void rep_movsb(); | 495 void rep_movsb(); |
501 | 496 |
502 void movss(Type Ty, XmmRegister dst, const Address &src); | 497 void movss(Type Ty, XmmRegister dst, const Address &src); |
503 void movss(Type Ty, const Address &dst, XmmRegister src); | 498 void movss(Type Ty, const Address &dst, XmmRegister src); |
504 void movss(Type Ty, XmmRegister dst, XmmRegister src); | 499 void movss(Type Ty, XmmRegister dst, XmmRegister src); |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { | 873 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { |
879 buffer_.EmitFixup(fixup); | 874 buffer_.EmitFixup(fixup); |
880 } | 875 } |
881 | 876 |
882 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } | 877 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } |
883 | 878 |
884 } // end of namespace x86 | 879 } // end of namespace x86 |
885 } // end of namespace Ice | 880 } // end of namespace Ice |
886 | 881 |
887 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ | 882 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ |
OLD | NEW |