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

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

Issue 1544743004: [turbofan] Add Int64(Add|Sub)WithOverflow support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add truncation to the int64-sub-with-overflow-branch test Created 4 years, 12 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 {
11 11
12 // MIPS64-specific opcodes that specify which assembly sequence to emit. 12 // MIPS64-specific opcodes that specify which assembly sequence to emit.
13 // Most opcodes specify a single instruction. 13 // Most opcodes specify a single instruction.
14 #define TARGET_ARCH_OPCODE_LIST(V) \ 14 #define TARGET_ARCH_OPCODE_LIST(V) \
15 V(Mips64Add) \ 15 V(Mips64Add) \
16 V(Mips64Dadd) \ 16 V(Mips64Dadd) \
17 V(Mips64DaddOvf) \
17 V(Mips64Sub) \ 18 V(Mips64Sub) \
18 V(Mips64Dsub) \ 19 V(Mips64Dsub) \
20 V(Mips64DsubOvf) \
19 V(Mips64Mul) \ 21 V(Mips64Mul) \
20 V(Mips64MulHigh) \ 22 V(Mips64MulHigh) \
21 V(Mips64DMulHigh) \ 23 V(Mips64DMulHigh) \
22 V(Mips64MulHighU) \ 24 V(Mips64MulHighU) \
23 V(Mips64Dmul) \ 25 V(Mips64Dmul) \
24 V(Mips64Div) \ 26 V(Mips64Div) \
25 V(Mips64Ddiv) \ 27 V(Mips64Ddiv) \
26 V(Mips64DivU) \ 28 V(Mips64DivU) \
27 V(Mips64DdivU) \ 29 V(Mips64DdivU) \
28 V(Mips64Mod) \ 30 V(Mips64Mod) \
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 #define TARGET_ADDRESSING_MODE_LIST(V) \ 148 #define TARGET_ADDRESSING_MODE_LIST(V) \
147 V(MRI) /* [%r0 + K] */ \ 149 V(MRI) /* [%r0 + K] */ \
148 V(MRR) /* [%r0 + %r1] */ 150 V(MRR) /* [%r0 + %r1] */
149 151
150 152
151 } // namespace compiler 153 } // namespace compiler
152 } // namespace internal 154 } // namespace internal
153 } // namespace v8 155 } // namespace v8
154 156
155 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 157 #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