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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 immediate_arithmetic_op(0x6, dst, src); | 1187 immediate_arithmetic_op(0x6, dst, src); |
1188 } | 1188 } |
1189 | 1189 |
1190 void xor_(const Operand& dst, Immediate src) { | 1190 void xor_(const Operand& dst, Immediate src) { |
1191 immediate_arithmetic_op(0x6, dst, src); | 1191 immediate_arithmetic_op(0x6, dst, src); |
1192 } | 1192 } |
1193 | 1193 |
1194 // Bit operations. | 1194 // Bit operations. |
1195 void bt(const Operand& dst, Register src); | 1195 void bt(const Operand& dst, Register src); |
1196 void bts(const Operand& dst, Register src); | 1196 void bts(const Operand& dst, Register src); |
| 1197 void bsrl(Register dst, Register src); |
1197 | 1198 |
1198 // Miscellaneous | 1199 // Miscellaneous |
1199 void clc(); | 1200 void clc(); |
1200 void cld(); | 1201 void cld(); |
1201 void cpuid(); | 1202 void cpuid(); |
1202 void hlt(); | 1203 void hlt(); |
1203 void int3(); | 1204 void int3(); |
1204 void nop(); | 1205 void nop(); |
1205 void ret(int imm16); | 1206 void ret(int imm16); |
1206 void setcc(Condition cc, Register reg); | 1207 void setcc(Condition cc, Register reg); |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 private: | 1733 private: |
1733 Assembler* assembler_; | 1734 Assembler* assembler_; |
1734 #ifdef DEBUG | 1735 #ifdef DEBUG |
1735 int space_before_; | 1736 int space_before_; |
1736 #endif | 1737 #endif |
1737 }; | 1738 }; |
1738 | 1739 |
1739 } } // namespace v8::internal | 1740 } } // namespace v8::internal |
1740 | 1741 |
1741 #endif // V8_X64_ASSEMBLER_X64_H_ | 1742 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |