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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 immediate_arithmetic_op_32(0x5, dst, src); | 924 immediate_arithmetic_op_32(0x5, dst, src); |
925 } | 925 } |
926 | 926 |
927 void subb(Register dst, Immediate src) { | 927 void subb(Register dst, Immediate src) { |
928 immediate_arithmetic_op_8(0x5, dst, src); | 928 immediate_arithmetic_op_8(0x5, dst, src); |
929 } | 929 } |
930 | 930 |
931 void testb(Register dst, Register src); | 931 void testb(Register dst, Register src); |
932 void testb(Register reg, Immediate mask); | 932 void testb(Register reg, Immediate mask); |
933 void testb(const Operand& op, Immediate mask); | 933 void testb(const Operand& op, Immediate mask); |
| 934 void testb(const Operand& op, Register reg); |
934 void testl(Register dst, Register src); | 935 void testl(Register dst, Register src); |
935 void testl(Register reg, Immediate mask); | 936 void testl(Register reg, Immediate mask); |
936 void testl(const Operand& op, Immediate mask); | 937 void testl(const Operand& op, Immediate mask); |
937 void testq(const Operand& op, Register reg); | 938 void testq(const Operand& op, Register reg); |
938 void testq(Register dst, Register src); | 939 void testq(Register dst, Register src); |
939 void testq(Register dst, Immediate mask); | 940 void testq(Register dst, Immediate mask); |
940 | 941 |
941 void xor_(Register dst, Register src) { | 942 void xor_(Register dst, Register src) { |
942 if (dst.code() == src.code()) { | 943 if (dst.code() == src.code()) { |
943 arithmetic_op_32(0x33, dst, src); | 944 arithmetic_op_32(0x33, dst, src); |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 private: | 1391 private: |
1391 Assembler* assembler_; | 1392 Assembler* assembler_; |
1392 #ifdef DEBUG | 1393 #ifdef DEBUG |
1393 int space_before_; | 1394 int space_before_; |
1394 #endif | 1395 #endif |
1395 }; | 1396 }; |
1396 | 1397 |
1397 } } // namespace v8::internal | 1398 } } // namespace v8::internal |
1398 | 1399 |
1399 #endif // V8_X64_ASSEMBLER_X64_H_ | 1400 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |