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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 void xor_(const Operand& dst, Immediate src) { | 1130 void xor_(const Operand& dst, Immediate src) { |
1131 immediate_arithmetic_op(0x6, dst, src); | 1131 immediate_arithmetic_op(0x6, dst, src); |
1132 } | 1132 } |
1133 | 1133 |
1134 // Bit operations. | 1134 // Bit operations. |
1135 void bt(const Operand& dst, Register src); | 1135 void bt(const Operand& dst, Register src); |
1136 void bts(const Operand& dst, Register src); | 1136 void bts(const Operand& dst, Register src); |
1137 | 1137 |
1138 // Miscellaneous | 1138 // Miscellaneous |
1139 void clc(); | 1139 void clc(); |
| 1140 void cld(); |
1140 void cpuid(); | 1141 void cpuid(); |
1141 void hlt(); | 1142 void hlt(); |
1142 void int3(); | 1143 void int3(); |
1143 void nop(); | 1144 void nop(); |
1144 void nop(int n); | 1145 void nop(int n); |
1145 void rdtsc(); | 1146 void rdtsc(); |
1146 void ret(int imm16); | 1147 void ret(int imm16); |
1147 void setcc(Condition cc, Register reg); | 1148 void setcc(Condition cc, Register reg); |
1148 | 1149 |
1149 // Label operations & relative jumps (PPUM Appendix D) | 1150 // Label operations & relative jumps (PPUM Appendix D) |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1607 private: | 1608 private: |
1608 Assembler* assembler_; | 1609 Assembler* assembler_; |
1609 #ifdef DEBUG | 1610 #ifdef DEBUG |
1610 int space_before_; | 1611 int space_before_; |
1611 #endif | 1612 #endif |
1612 }; | 1613 }; |
1613 | 1614 |
1614 } } // namespace v8::internal | 1615 } } // namespace v8::internal |
1615 | 1616 |
1616 #endif // V8_X64_ASSEMBLER_X64_H_ | 1617 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |