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

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

Issue 654833002: [turbofan] Optimize division/modulus by constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ARM_INSTRUCTION_CODES_ARM_H_ 5 #ifndef V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
6 #define V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_ 6 #define V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
11 11
12 // ARM-specific opcodes that specify which assembly sequence to emit. 12 // ARM-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(ArmAdd) \ 15 V(ArmAdd) \
16 V(ArmAnd) \ 16 V(ArmAnd) \
17 V(ArmBic) \ 17 V(ArmBic) \
18 V(ArmCmp) \ 18 V(ArmCmp) \
19 V(ArmCmn) \ 19 V(ArmCmn) \
20 V(ArmTst) \ 20 V(ArmTst) \
21 V(ArmTeq) \ 21 V(ArmTeq) \
22 V(ArmOrr) \ 22 V(ArmOrr) \
23 V(ArmEor) \ 23 V(ArmEor) \
24 V(ArmSub) \ 24 V(ArmSub) \
25 V(ArmRsb) \ 25 V(ArmRsb) \
26 V(ArmMul) \ 26 V(ArmMul) \
27 V(ArmMla) \ 27 V(ArmMla) \
28 V(ArmMls) \ 28 V(ArmMls) \
29 V(ArmSmmul) \
30 V(ArmSmmla) \
29 V(ArmSdiv) \ 31 V(ArmSdiv) \
30 V(ArmUdiv) \ 32 V(ArmUdiv) \
31 V(ArmMov) \ 33 V(ArmMov) \
32 V(ArmMvn) \ 34 V(ArmMvn) \
33 V(ArmBfc) \ 35 V(ArmBfc) \
34 V(ArmUbfx) \ 36 V(ArmUbfx) \
35 V(ArmVcmpF64) \ 37 V(ArmVcmpF64) \
36 V(ArmVaddF64) \ 38 V(ArmVaddF64) \
37 V(ArmVsubF64) \ 39 V(ArmVsubF64) \
38 V(ArmVmulF64) \ 40 V(ArmVmulF64) \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 V(Operand2_R_ASR_R) /* %r0 ASR %r1 */ \ 82 V(Operand2_R_ASR_R) /* %r0 ASR %r1 */ \
81 V(Operand2_R_LSL_R) /* %r0 LSL %r1 */ \ 83 V(Operand2_R_LSL_R) /* %r0 LSL %r1 */ \
82 V(Operand2_R_LSR_R) /* %r0 LSR %r1 */ \ 84 V(Operand2_R_LSR_R) /* %r0 LSR %r1 */ \
83 V(Operand2_R_ROR_R) /* %r0 ROR %r1 */ 85 V(Operand2_R_ROR_R) /* %r0 ROR %r1 */
84 86
85 } // namespace compiler 87 } // namespace compiler
86 } // namespace internal 88 } // namespace internal
87 } // namespace v8 89 } // namespace v8
88 90
89 #endif // V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_ 91 #endif // V8_COMPILER_ARM_INSTRUCTION_CODES_ARM_H_
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698