OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 void xor_(const Operand& dst, Register src); | 764 void xor_(const Operand& dst, Register src); |
765 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } | 765 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } |
766 void xor_(const Operand& dst, const Immediate& x); | 766 void xor_(const Operand& dst, const Immediate& x); |
767 | 767 |
768 // Bit operations. | 768 // Bit operations. |
769 void bt(const Operand& dst, Register src); | 769 void bt(const Operand& dst, Register src); |
770 void bts(Register dst, Register src) { bts(Operand(dst), src); } | 770 void bts(Register dst, Register src) { bts(Operand(dst), src); } |
771 void bts(const Operand& dst, Register src); | 771 void bts(const Operand& dst, Register src); |
772 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } | 772 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } |
773 void bsr(Register dst, const Operand& src); | 773 void bsr(Register dst, const Operand& src); |
| 774 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); } |
| 775 void bsf(Register dst, const Operand& src); |
774 | 776 |
775 // Miscellaneous | 777 // Miscellaneous |
776 void hlt(); | 778 void hlt(); |
777 void int3(); | 779 void int3(); |
778 void nop(); | 780 void nop(); |
779 void ret(int imm16); | 781 void ret(int imm16); |
780 void ud2(); | 782 void ud2(); |
781 | 783 |
782 // Label operations & relative jumps (PPUM Appendix D) | 784 // Label operations & relative jumps (PPUM Appendix D) |
783 // | 785 // |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1072 Assembler* assembler_; | 1074 Assembler* assembler_; |
1073 #ifdef DEBUG | 1075 #ifdef DEBUG |
1074 int space_before_; | 1076 int space_before_; |
1075 #endif | 1077 #endif |
1076 }; | 1078 }; |
1077 | 1079 |
1078 } // namespace internal | 1080 } // namespace internal |
1079 } // namespace v8 | 1081 } // namespace v8 |
1080 | 1082 |
1081 #endif // V8_X87_ASSEMBLER_X87_H_ | 1083 #endif // V8_X87_ASSEMBLER_X87_H_ |
OLD | NEW |