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 1444423002: MIPS64: [turbofan] Combine untagging shifts with Mul, Div and Mod. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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(Mips64Sub) \ 17 V(Mips64Sub) \
18 V(Mips64Dsub) \ 18 V(Mips64Dsub) \
19 V(Mips64Mul) \ 19 V(Mips64Mul) \
20 V(Mips64MulHigh) \ 20 V(Mips64MulHigh) \
21 V(Mips64DMulHigh) \
21 V(Mips64MulHighU) \ 22 V(Mips64MulHighU) \
22 V(Mips64Dmul) \ 23 V(Mips64Dmul) \
23 V(Mips64Div) \ 24 V(Mips64Div) \
24 V(Mips64Ddiv) \ 25 V(Mips64Ddiv) \
25 V(Mips64DivU) \ 26 V(Mips64DivU) \
26 V(Mips64DdivU) \ 27 V(Mips64DdivU) \
27 V(Mips64Mod) \ 28 V(Mips64Mod) \
28 V(Mips64Dmod) \ 29 V(Mips64Dmod) \
29 V(Mips64ModU) \ 30 V(Mips64ModU) \
30 V(Mips64DmodU) \ 31 V(Mips64DmodU) \
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #define TARGET_ADDRESSING_MODE_LIST(V) \ 126 #define TARGET_ADDRESSING_MODE_LIST(V) \
126 V(MRI) /* [%r0 + K] */ \ 127 V(MRI) /* [%r0 + K] */ \
127 V(MRR) /* [%r0 + %r1] */ 128 V(MRR) /* [%r0 + %r1] */
128 129
129 130
130 } // namespace compiler 131 } // namespace compiler
131 } // namespace internal 132 } // namespace internal
132 } // namespace v8 133 } // namespace v8
133 134
134 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 135 #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