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

Side by Side Diff: src/compiler/mips/instruction-codes-mips.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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 V(MipsF32x4Add) \ 162 V(MipsF32x4Add) \
163 V(MipsF32x4Sub) \ 163 V(MipsF32x4Sub) \
164 V(MipsF32x4Mul) \ 164 V(MipsF32x4Mul) \
165 V(MipsF32x4Max) \ 165 V(MipsF32x4Max) \
166 V(MipsF32x4Min) \ 166 V(MipsF32x4Min) \
167 V(MipsF32x4Eq) \ 167 V(MipsF32x4Eq) \
168 V(MipsF32x4Ne) \ 168 V(MipsF32x4Ne) \
169 V(MipsF32x4Lt) \ 169 V(MipsF32x4Lt) \
170 V(MipsF32x4Le) \ 170 V(MipsF32x4Le) \
171 V(MipsI32x4SConvertF32x4) \ 171 V(MipsI32x4SConvertF32x4) \
172 V(MipsI32x4UConvertF32x4) 172 V(MipsI32x4UConvertF32x4) \
173 V(MipsI32x4Neg) \
174 V(MipsI32x4LtS) \
175 V(MipsI32x4LeS) \
176 V(MipsI32x4LtU) \
177 V(MipsI32x4LeU) \
178 V(MipsI16x8Splat) \
179 V(MipsI16x8ExtractLane) \
180 V(MipsI16x8ReplaceLane) \
181 V(MipsI16x8Neg) \
182 V(MipsI16x8Shl) \
183 V(MipsI16x8ShrS) \
184 V(MipsI16x8ShrU) \
185 V(MipsI16x8Add) \
186 V(MipsI16x8AddSaturateS) \
187 V(MipsI16x8Sub) \
188 V(MipsI16x8SubSaturateS)
173 189
174 // Addressing modes represent the "shape" of inputs to an instruction. 190 // Addressing modes represent the "shape" of inputs to an instruction.
175 // Many instructions support multiple addressing modes. Addressing modes 191 // Many instructions support multiple addressing modes. Addressing modes
176 // are encoded into the InstructionCode of the instruction and tell the 192 // are encoded into the InstructionCode of the instruction and tell the
177 // code generator after register allocation which assembler method to call. 193 // code generator after register allocation which assembler method to call.
178 // 194 //
179 // We use the following local notation for addressing modes: 195 // We use the following local notation for addressing modes:
180 // 196 //
181 // R = register 197 // R = register
182 // O = register or stack slot 198 // O = register or stack slot
183 // D = double register 199 // D = double register
184 // I = immediate (handle, external, int32) 200 // I = immediate (handle, external, int32)
185 // MRI = [register + immediate] 201 // MRI = [register + immediate]
186 // MRR = [register + register] 202 // MRR = [register + register]
187 // TODO(plind): Add the new r6 address modes. 203 // TODO(plind): Add the new r6 address modes.
188 #define TARGET_ADDRESSING_MODE_LIST(V) \ 204 #define TARGET_ADDRESSING_MODE_LIST(V) \
189 V(MRI) /* [%r0 + K] */ \ 205 V(MRI) /* [%r0 + K] */ \
190 V(MRR) /* [%r0 + %r1] */ 206 V(MRR) /* [%r0 + %r1] */
191 207
192 208
193 } // namespace compiler 209 } // namespace compiler
194 } // namespace internal 210 } // namespace internal
195 } // namespace v8 211 } // namespace v8
196 212
197 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 213 #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