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