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

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

Issue 2780713003: MIPS[64]: Support for some SIMD operations (3) (Closed)
Patch Set: rebased Created 3 years, 8 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 V(MipsS128Zero) \ 136 V(MipsS128Zero) \
137 V(MipsI32x4Splat) \ 137 V(MipsI32x4Splat) \
138 V(MipsI32x4ExtractLane) \ 138 V(MipsI32x4ExtractLane) \
139 V(MipsI32x4ReplaceLane) \ 139 V(MipsI32x4ReplaceLane) \
140 V(MipsI32x4Add) \ 140 V(MipsI32x4Add) \
141 V(MipsI32x4Sub) \ 141 V(MipsI32x4Sub) \
142 V(MipsF32x4Splat) \ 142 V(MipsF32x4Splat) \
143 V(MipsF32x4ExtractLane) \ 143 V(MipsF32x4ExtractLane) \
144 V(MipsF32x4ReplaceLane) \ 144 V(MipsF32x4ReplaceLane) \
145 V(MipsF32x4SConvertI32x4) \ 145 V(MipsF32x4SConvertI32x4) \
146 V(MipsF32x4UConvertI32x4) 146 V(MipsF32x4UConvertI32x4) \
147 V(MipsI32x4Mul) \
148 V(MipsI32x4MaxS) \
149 V(MipsI32x4MinS) \
150 V(MipsI32x4Eq) \
151 V(MipsI32x4Ne) \
152 V(MipsI32x4Shl) \
153 V(MipsI32x4ShrS) \
154 V(MipsI32x4ShrU) \
155 V(MipsI32x4MaxU) \
156 V(MipsI32x4MinU) \
157 V(MipsS32x4Select)
147 158
148 // Addressing modes represent the "shape" of inputs to an instruction. 159 // Addressing modes represent the "shape" of inputs to an instruction.
149 // Many instructions support multiple addressing modes. Addressing modes 160 // Many instructions support multiple addressing modes. Addressing modes
150 // are encoded into the InstructionCode of the instruction and tell the 161 // are encoded into the InstructionCode of the instruction and tell the
151 // code generator after register allocation which assembler method to call. 162 // code generator after register allocation which assembler method to call.
152 // 163 //
153 // We use the following local notation for addressing modes: 164 // We use the following local notation for addressing modes:
154 // 165 //
155 // R = register 166 // R = register
156 // O = register or stack slot 167 // O = register or stack slot
157 // D = double register 168 // D = double register
158 // I = immediate (handle, external, int32) 169 // I = immediate (handle, external, int32)
159 // MRI = [register + immediate] 170 // MRI = [register + immediate]
160 // MRR = [register + register] 171 // MRR = [register + register]
161 // TODO(plind): Add the new r6 address modes. 172 // TODO(plind): Add the new r6 address modes.
162 #define TARGET_ADDRESSING_MODE_LIST(V) \ 173 #define TARGET_ADDRESSING_MODE_LIST(V) \
163 V(MRI) /* [%r0 + K] */ \ 174 V(MRI) /* [%r0 + K] */ \
164 V(MRR) /* [%r0 + %r1] */ 175 V(MRR) /* [%r0 + %r1] */
165 176
166 177
167 } // namespace compiler 178 } // namespace compiler
168 } // namespace internal 179 } // namespace internal
169 } // namespace v8 180 } // namespace v8
170 181
171 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 182 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698