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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 void xor_(const Operand& dst, Register src); | 772 void xor_(const Operand& dst, Register src); |
773 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } | 773 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } |
774 void xor_(const Operand& dst, const Immediate& x); | 774 void xor_(const Operand& dst, const Immediate& x); |
775 | 775 |
776 // Bit operations. | 776 // Bit operations. |
777 void bt(const Operand& dst, Register src); | 777 void bt(const Operand& dst, Register src); |
778 void bts(Register dst, Register src) { bts(Operand(dst), src); } | 778 void bts(Register dst, Register src) { bts(Operand(dst), src); } |
779 void bts(const Operand& dst, Register src); | 779 void bts(const Operand& dst, Register src); |
780 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } | 780 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } |
781 void bsr(Register dst, const Operand& src); | 781 void bsr(Register dst, const Operand& src); |
| 782 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); } |
| 783 void bsf(Register dst, const Operand& src); |
782 | 784 |
783 // Miscellaneous | 785 // Miscellaneous |
784 void hlt(); | 786 void hlt(); |
785 void int3(); | 787 void int3(); |
786 void nop(); | 788 void nop(); |
787 void ret(int imm16); | 789 void ret(int imm16); |
788 void ud2(); | 790 void ud2(); |
789 | 791 |
790 // Label operations & relative jumps (PPUM Appendix D) | 792 // Label operations & relative jumps (PPUM Appendix D) |
791 // | 793 // |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1564 Assembler* assembler_; | 1566 Assembler* assembler_; |
1565 #ifdef DEBUG | 1567 #ifdef DEBUG |
1566 int space_before_; | 1568 int space_before_; |
1567 #endif | 1569 #endif |
1568 }; | 1570 }; |
1569 | 1571 |
1570 } // namespace internal | 1572 } // namespace internal |
1571 } // namespace v8 | 1573 } // namespace v8 |
1572 | 1574 |
1573 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1575 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |