Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: src/compiler/mips64/instruction-codes-mips64.h

Issue 2795143003: MIPS[64]: Support for some SIMD operations (5) (Closed)
Patch Set: Fix x64 build error Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MIPS_INSTRUCTION_CODES_MIPS_H_ 5 #ifndef V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 V(Mips64F32x4Add) \ 196 V(Mips64F32x4Add) \
197 V(Mips64F32x4Sub) \ 197 V(Mips64F32x4Sub) \
198 V(Mips64F32x4Mul) \ 198 V(Mips64F32x4Mul) \
199 V(Mips64F32x4Max) \ 199 V(Mips64F32x4Max) \
200 V(Mips64F32x4Min) \ 200 V(Mips64F32x4Min) \
201 V(Mips64F32x4Eq) \ 201 V(Mips64F32x4Eq) \
202 V(Mips64F32x4Ne) \ 202 V(Mips64F32x4Ne) \
203 V(Mips64F32x4Lt) \ 203 V(Mips64F32x4Lt) \
204 V(Mips64F32x4Le) \ 204 V(Mips64F32x4Le) \
205 V(Mips64I32x4SConvertF32x4) \ 205 V(Mips64I32x4SConvertF32x4) \
206 V(Mips64I32x4UConvertF32x4) 206 V(Mips64I32x4UConvertF32x4) \
207 V(Mips64I32x4Neg) \
208 V(Mips64I32x4LtS) \
209 V(Mips64I32x4LeS) \
210 V(Mips64I32x4LtU) \
211 V(Mips64I32x4LeU) \
212 V(Mips64I16x8Splat) \
213 V(Mips64I16x8ExtractLane) \
214 V(Mips64I16x8ReplaceLane) \
215 V(Mips64I16x8Neg) \
216 V(Mips64I16x8Shl) \
217 V(Mips64I16x8ShrS) \
218 V(Mips64I16x8ShrU) \
219 V(Mips64I16x8Add) \
220 V(Mips64I16x8AddSaturateS) \
221 V(Mips64I16x8Sub) \
222 V(Mips64I16x8SubSaturateS)
207 223
208 // Addressing modes represent the "shape" of inputs to an instruction. 224 // Addressing modes represent the "shape" of inputs to an instruction.
209 // Many instructions support multiple addressing modes. Addressing modes 225 // Many instructions support multiple addressing modes. Addressing modes
210 // are encoded into the InstructionCode of the instruction and tell the 226 // are encoded into the InstructionCode of the instruction and tell the
211 // code generator after register allocation which assembler method to call. 227 // code generator after register allocation which assembler method to call.
212 // 228 //
213 // We use the following local notation for addressing modes: 229 // We use the following local notation for addressing modes:
214 // 230 //
215 // R = register 231 // R = register
216 // O = register or stack slot 232 // O = register or stack slot
217 // D = double register 233 // D = double register
218 // I = immediate (handle, external, int32) 234 // I = immediate (handle, external, int32)
219 // MRI = [register + immediate] 235 // MRI = [register + immediate]
220 // MRR = [register + register] 236 // MRR = [register + register]
221 // TODO(plind): Add the new r6 address modes. 237 // TODO(plind): Add the new r6 address modes.
222 #define TARGET_ADDRESSING_MODE_LIST(V) \ 238 #define TARGET_ADDRESSING_MODE_LIST(V) \
223 V(MRI) /* [%r0 + K] */ \ 239 V(MRI) /* [%r0 + K] */ \
224 V(MRR) /* [%r0 + %r1] */ 240 V(MRR) /* [%r0 + %r1] */
225 241
226 242
227 } // namespace compiler 243 } // namespace compiler
228 } // namespace internal 244 } // namespace internal
229 } // namespace v8 245 } // namespace v8
230 246
231 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 247 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698