OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_S390_INSTRUCTION_CODES_S390_H_ | 5 #ifndef V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
6 #define V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ | 6 #define V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 111 matching lines...) Loading... |
122 V(S390_BitcastInt32ToFloat32) \ | 122 V(S390_BitcastInt32ToFloat32) \ |
123 V(S390_BitcastFloat32ToInt32) \ | 123 V(S390_BitcastFloat32ToInt32) \ |
124 V(S390_BitcastInt64ToDouble) \ | 124 V(S390_BitcastInt64ToDouble) \ |
125 V(S390_BitcastDoubleToInt64) \ | 125 V(S390_BitcastDoubleToInt64) \ |
126 V(S390_LoadWordS8) \ | 126 V(S390_LoadWordS8) \ |
127 V(S390_LoadWordU8) \ | 127 V(S390_LoadWordU8) \ |
128 V(S390_LoadWordS16) \ | 128 V(S390_LoadWordS16) \ |
129 V(S390_LoadWordU16) \ | 129 V(S390_LoadWordU16) \ |
130 V(S390_LoadWordS32) \ | 130 V(S390_LoadWordS32) \ |
131 V(S390_LoadWordU32) \ | 131 V(S390_LoadWordU32) \ |
| 132 V(S390_LoadReverse16RR) \ |
| 133 V(S390_LoadReverse32RR) \ |
| 134 V(S390_LoadReverse64RR) \ |
| 135 V(S390_LoadReverse16) \ |
| 136 V(S390_LoadReverse32) \ |
| 137 V(S390_LoadReverse64) \ |
132 V(S390_LoadWord64) \ | 138 V(S390_LoadWord64) \ |
133 V(S390_LoadFloat32) \ | 139 V(S390_LoadFloat32) \ |
134 V(S390_LoadDouble) \ | 140 V(S390_LoadDouble) \ |
135 V(S390_StoreWord8) \ | 141 V(S390_StoreWord8) \ |
136 V(S390_StoreWord16) \ | 142 V(S390_StoreWord16) \ |
137 V(S390_StoreWord32) \ | 143 V(S390_StoreWord32) \ |
138 V(S390_StoreWord64) \ | 144 V(S390_StoreWord64) \ |
| 145 V(S390_StoreReverse16) \ |
| 146 V(S390_StoreReverse32) \ |
| 147 V(S390_StoreReverse64) \ |
139 V(S390_StoreFloat32) \ | 148 V(S390_StoreFloat32) \ |
140 V(S390_StoreDouble) | 149 V(S390_StoreDouble) |
141 | 150 |
142 // Addressing modes represent the "shape" of inputs to an instruction. | 151 // Addressing modes represent the "shape" of inputs to an instruction. |
143 // Many instructions support multiple addressing modes. Addressing modes | 152 // Many instructions support multiple addressing modes. Addressing modes |
144 // are encoded into the InstructionCode of the instruction and tell the | 153 // are encoded into the InstructionCode of the instruction and tell the |
145 // code generator after register allocation which assembler method to call. | 154 // code generator after register allocation which assembler method to call. |
146 // | 155 // |
147 // We use the following local notation for addressing modes: | 156 // We use the following local notation for addressing modes: |
148 // | 157 // |
149 // R = register | 158 // R = register |
150 // O = register or stack slot | 159 // O = register or stack slot |
151 // D = double register | 160 // D = double register |
152 // I = immediate (handle, external, int32) | 161 // I = immediate (handle, external, int32) |
153 // MRI = [register + immediate] | 162 // MRI = [register + immediate] |
154 // MRR = [register + register] | 163 // MRR = [register + register] |
155 #define TARGET_ADDRESSING_MODE_LIST(V) \ | 164 #define TARGET_ADDRESSING_MODE_LIST(V) \ |
156 V(MRI) /* [%r0 + K] */ \ | 165 V(MRI) /* [%r0 + K] */ \ |
157 V(MRR) /* [%r0 + %r1] */ | 166 V(MRR) /* [%r0 + %r1] */ |
158 | 167 |
159 } // namespace compiler | 168 } // namespace compiler |
160 } // namespace internal | 169 } // namespace internal |
161 } // namespace v8 | 170 } // namespace v8 |
162 | 171 |
163 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ | 172 #endif // V8_COMPILER_S390_INSTRUCTION_CODES_S390_H_ |
OLD | NEW |