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

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

Issue 2753903004: MIPS[64]: Support for some SIMD operations (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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 V(MipsFloat64SilenceNaN) \ 125 V(MipsFloat64SilenceNaN) \
126 V(MipsFloat32Max) \ 126 V(MipsFloat32Max) \
127 V(MipsFloat64Max) \ 127 V(MipsFloat64Max) \
128 V(MipsFloat32Min) \ 128 V(MipsFloat32Min) \
129 V(MipsFloat64Min) \ 129 V(MipsFloat64Min) \
130 V(MipsPush) \ 130 V(MipsPush) \
131 V(MipsStoreToStackSlot) \ 131 V(MipsStoreToStackSlot) \
132 V(MipsByteSwap32) \ 132 V(MipsByteSwap32) \
133 V(MipsStackClaim) \ 133 V(MipsStackClaim) \
134 V(MipsSeb) \ 134 V(MipsSeb) \
135 V(MipsSeh) 135 V(MipsSeh) \
136 V(MipsS128Zero) \
137 V(MipsI32x4Splat) \
138 V(MipsI32x4ExtractLane) \
139 V(MipsI32x4ReplaceLane) \
140 V(MipsI32x4Add) \
141 V(MipsI32x4Sub)
136 142
137 // Addressing modes represent the "shape" of inputs to an instruction. 143 // Addressing modes represent the "shape" of inputs to an instruction.
138 // Many instructions support multiple addressing modes. Addressing modes 144 // Many instructions support multiple addressing modes. Addressing modes
139 // are encoded into the InstructionCode of the instruction and tell the 145 // are encoded into the InstructionCode of the instruction and tell the
140 // code generator after register allocation which assembler method to call. 146 // code generator after register allocation which assembler method to call.
141 // 147 //
142 // We use the following local notation for addressing modes: 148 // We use the following local notation for addressing modes:
143 // 149 //
144 // R = register 150 // R = register
145 // O = register or stack slot 151 // O = register or stack slot
146 // D = double register 152 // D = double register
147 // I = immediate (handle, external, int32) 153 // I = immediate (handle, external, int32)
148 // MRI = [register + immediate] 154 // MRI = [register + immediate]
149 // MRR = [register + register] 155 // MRR = [register + register]
150 // TODO(plind): Add the new r6 address modes. 156 // TODO(plind): Add the new r6 address modes.
151 #define TARGET_ADDRESSING_MODE_LIST(V) \ 157 #define TARGET_ADDRESSING_MODE_LIST(V) \
152 V(MRI) /* [%r0 + K] */ \ 158 V(MRI) /* [%r0 + K] */ \
153 V(MRR) /* [%r0 + %r1] */ 159 V(MRR) /* [%r0 + %r1] */
154 160
155 161
156 } // namespace compiler 162 } // namespace compiler
157 } // namespace internal 163 } // namespace internal
158 } // namespace v8 164 } // namespace v8
159 165
160 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 166 #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