| 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); } | 875 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); } |
| 876 void xor_(Register dst, const Operand& src); | 876 void xor_(Register dst, const Operand& src); |
| 877 void xor_(const Operand& dst, Register src); | 877 void xor_(const Operand& dst, Register src); |
| 878 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } | 878 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } |
| 879 void xor_(const Operand& dst, const Immediate& x); | 879 void xor_(const Operand& dst, const Immediate& x); |
| 880 | 880 |
| 881 // Bit operations. | 881 // Bit operations. |
| 882 void bt(const Operand& dst, Register src); | 882 void bt(const Operand& dst, Register src); |
| 883 void bts(Register dst, Register src) { bts(Operand(dst), src); } | 883 void bts(Register dst, Register src) { bts(Operand(dst), src); } |
| 884 void bts(const Operand& dst, Register src); | 884 void bts(const Operand& dst, Register src); |
| 885 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } |
| 886 void bsr(Register dst, const Operand& src); |
| 885 | 887 |
| 886 // Miscellaneous | 888 // Miscellaneous |
| 887 void hlt(); | 889 void hlt(); |
| 888 void int3(); | 890 void int3(); |
| 889 void nop(); | 891 void nop(); |
| 890 void ret(int imm16); | 892 void ret(int imm16); |
| 891 | 893 |
| 892 // Label operations & relative jumps (PPUM Appendix D) | 894 // Label operations & relative jumps (PPUM Appendix D) |
| 893 // | 895 // |
| 894 // Takes a branch opcode (cc) and a label (L) and generates | 896 // Takes a branch opcode (cc) and a label (L) and generates |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 private: | 1269 private: |
| 1268 Assembler* assembler_; | 1270 Assembler* assembler_; |
| 1269 #ifdef DEBUG | 1271 #ifdef DEBUG |
| 1270 int space_before_; | 1272 int space_before_; |
| 1271 #endif | 1273 #endif |
| 1272 }; | 1274 }; |
| 1273 | 1275 |
| 1274 } } // namespace v8::internal | 1276 } } // namespace v8::internal |
| 1275 | 1277 |
| 1276 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1278 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |