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

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

Issue 2391393003: MIPS64: Fix Word32Compare turbofan operator implementation when comparing signed with unsigned oper… (Closed)
Patch Set: Add runtime checks to make sure optimized compare always works Created 4 years, 2 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(Mips64Float64Max) \ 162 V(Mips64Float64Max) \
163 V(Mips64Float32Min) \ 163 V(Mips64Float32Min) \
164 V(Mips64Float64Min) \ 164 V(Mips64Float64Min) \
165 V(Mips64Float64SilenceNaN) \ 165 V(Mips64Float64SilenceNaN) \
166 V(Mips64Push) \ 166 V(Mips64Push) \
167 V(Mips64StoreToStackSlot) \ 167 V(Mips64StoreToStackSlot) \
168 V(Mips64ByteSwap64) \ 168 V(Mips64ByteSwap64) \
169 V(Mips64ByteSwap32) \ 169 V(Mips64ByteSwap32) \
170 V(Mips64StackClaim) \ 170 V(Mips64StackClaim) \
171 V(Mips64Seb) \ 171 V(Mips64Seb) \
172 V(Mips64Seh) 172 V(Mips64Seh) \
173 V(Mips64AssertEqual)
173 174
174 // Addressing modes represent the "shape" of inputs to an instruction. 175 // Addressing modes represent the "shape" of inputs to an instruction.
175 // Many instructions support multiple addressing modes. Addressing modes 176 // Many instructions support multiple addressing modes. Addressing modes
176 // are encoded into the InstructionCode of the instruction and tell the 177 // are encoded into the InstructionCode of the instruction and tell the
177 // code generator after register allocation which assembler method to call. 178 // code generator after register allocation which assembler method to call.
178 // 179 //
179 // We use the following local notation for addressing modes: 180 // We use the following local notation for addressing modes:
180 // 181 //
181 // R = register 182 // R = register
182 // O = register or stack slot 183 // O = register or stack slot
183 // D = double register 184 // D = double register
184 // I = immediate (handle, external, int32) 185 // I = immediate (handle, external, int32)
185 // MRI = [register + immediate] 186 // MRI = [register + immediate]
186 // MRR = [register + register] 187 // MRR = [register + register]
187 // TODO(plind): Add the new r6 address modes. 188 // TODO(plind): Add the new r6 address modes.
188 #define TARGET_ADDRESSING_MODE_LIST(V) \ 189 #define TARGET_ADDRESSING_MODE_LIST(V) \
189 V(MRI) /* [%r0 + K] */ \ 190 V(MRI) /* [%r0 + K] */ \
190 V(MRR) /* [%r0 + %r1] */ 191 V(MRR) /* [%r0 + %r1] */
191 192
192 193
193 } // namespace compiler 194 } // namespace compiler
194 } // namespace internal 195 } // namespace internal
195 } // namespace v8 196 } // namespace v8
196 197
197 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 198 #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