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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 void sub(const Operand& dst, const Immediate& x); | 846 void sub(const Operand& dst, const Immediate& x); |
847 void sub(Register dst, Register src) { sub(dst, Operand(src)); } | 847 void sub(Register dst, Register src) { sub(dst, Operand(src)); } |
848 void sub(Register dst, const Operand& src); | 848 void sub(Register dst, const Operand& src); |
849 void sub(const Operand& dst, Register src); | 849 void sub(const Operand& dst, Register src); |
850 | 850 |
851 void test(Register reg, const Immediate& imm); | 851 void test(Register reg, const Immediate& imm); |
852 void test(Register reg0, Register reg1) { test(reg0, Operand(reg1)); } | 852 void test(Register reg0, Register reg1) { test(reg0, Operand(reg1)); } |
853 void test(Register reg, const Operand& op); | 853 void test(Register reg, const Operand& op); |
854 void test_b(Register reg, const Operand& op); | 854 void test_b(Register reg, const Operand& op); |
855 void test(const Operand& op, const Immediate& imm); | 855 void test(const Operand& op, const Immediate& imm); |
856 void test_b(Register reg, uint8_t imm8) { test_b(Operand(reg), imm8); } | 856 void test_b(Register reg, uint8_t imm8); |
857 void test_b(const Operand& op, uint8_t imm8); | 857 void test_b(const Operand& op, uint8_t imm8); |
858 | 858 |
859 void xor_(Register dst, int32_t imm32); | 859 void xor_(Register dst, int32_t imm32); |
860 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); } | 860 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); } |
861 void xor_(Register dst, const Operand& src); | 861 void xor_(Register dst, const Operand& src); |
862 void xor_(const Operand& dst, Register src); | 862 void xor_(const Operand& dst, Register src); |
863 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } | 863 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } |
864 void xor_(const Operand& dst, const Immediate& x); | 864 void xor_(const Operand& dst, const Immediate& x); |
865 | 865 |
866 // Bit operations. | 866 // Bit operations. |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 private: | 1235 private: |
1236 Assembler* assembler_; | 1236 Assembler* assembler_; |
1237 #ifdef DEBUG | 1237 #ifdef DEBUG |
1238 int space_before_; | 1238 int space_before_; |
1239 #endif | 1239 #endif |
1240 }; | 1240 }; |
1241 | 1241 |
1242 } } // namespace v8::internal | 1242 } } // namespace v8::internal |
1243 | 1243 |
1244 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1244 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |