OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 V(SSEFloat64Cmp) \ | 53 V(SSEFloat64Cmp) \ |
54 V(SSEFloat64Add) \ | 54 V(SSEFloat64Add) \ |
55 V(SSEFloat64Sub) \ | 55 V(SSEFloat64Sub) \ |
56 V(SSEFloat64Mul) \ | 56 V(SSEFloat64Mul) \ |
57 V(SSEFloat64Div) \ | 57 V(SSEFloat64Div) \ |
58 V(SSEFloat64Mod) \ | 58 V(SSEFloat64Mod) \ |
59 V(SSEFloat64ToInt32) \ | 59 V(SSEFloat64ToInt32) \ |
60 V(SSEFloat64ToUint32) \ | 60 V(SSEFloat64ToUint32) \ |
61 V(SSEInt32ToFloat64) \ | 61 V(SSEInt32ToFloat64) \ |
62 V(SSEUint32ToFloat64) \ | 62 V(SSEUint32ToFloat64) \ |
63 V(X64Movsd) \ | |
64 V(X64Movsxbl) \ | 63 V(X64Movsxbl) \ |
65 V(X64Movzxbl) \ | 64 V(X64Movzxbl) \ |
66 V(X64Movb) \ | 65 V(X64Movb) \ |
67 V(X64Movsxwl) \ | 66 V(X64Movsxwl) \ |
68 V(X64Movzxwl) \ | 67 V(X64Movzxwl) \ |
69 V(X64Movw) \ | 68 V(X64Movw) \ |
70 V(X64Movl) \ | 69 V(X64Movl) \ |
71 V(X64Movsxlq) \ | 70 V(X64Movsxlq) \ |
72 V(X64Movq) \ | 71 V(X64Movq) \ |
| 72 V(X64Movsd) \ |
| 73 V(X64Movss) \ |
73 V(X64StoreWriteBarrier) | 74 V(X64StoreWriteBarrier) |
74 | 75 |
75 | 76 |
76 // Addressing modes represent the "shape" of inputs to an instruction. | 77 // Addressing modes represent the "shape" of inputs to an instruction. |
77 // Many instructions support multiple addressing modes. Addressing modes | 78 // Many instructions support multiple addressing modes. Addressing modes |
78 // are encoded into the InstructionCode of the instruction and tell the | 79 // are encoded into the InstructionCode of the instruction and tell the |
79 // code generator after register allocation which assembler method to call. | 80 // code generator after register allocation which assembler method to call. |
80 // | 81 // |
81 // We use the following local notation for addressing modes: | 82 // We use the following local notation for addressing modes: |
82 // | 83 // |
(...skipping 12 matching lines...) Expand all Loading... |
95 V(MR1I) /* [%r1 + %r2 + K] */ \ | 96 V(MR1I) /* [%r1 + %r2 + K] */ \ |
96 V(MR2I) /* [%r1 + %r2*2 + K] */ \ | 97 V(MR2I) /* [%r1 + %r2*2 + K] */ \ |
97 V(MR4I) /* [%r1 + %r2*4 + K] */ \ | 98 V(MR4I) /* [%r1 + %r2*4 + K] */ \ |
98 V(MR8I) /* [%r1 + %r2*8 + K] */ | 99 V(MR8I) /* [%r1 + %r2*8 + K] */ |
99 | 100 |
100 } // namespace compiler | 101 } // namespace compiler |
101 } // namespace internal | 102 } // namespace internal |
102 } // namespace v8 | 103 } // namespace v8 |
103 | 104 |
104 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 105 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
OLD | NEW |