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

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

Issue 738073002: [turbofan]: More optimizations to add and subtract operations on x64 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest version Created 6 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
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/compiler/x64/instruction-selector-x64.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_X64_INSTRUCTION_CODES_X64_H_ 5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 V(X64Movsxwl) \ 68 V(X64Movsxwl) \
69 V(X64Movzxwl) \ 69 V(X64Movzxwl) \
70 V(X64Movw) \ 70 V(X64Movw) \
71 V(X64Movl) \ 71 V(X64Movl) \
72 V(X64Movsxlq) \ 72 V(X64Movsxlq) \
73 V(X64Movq) \ 73 V(X64Movq) \
74 V(X64Movsd) \ 74 V(X64Movsd) \
75 V(X64Movss) \ 75 V(X64Movss) \
76 V(X64Lea32) \ 76 V(X64Lea32) \
77 V(X64Lea) \ 77 V(X64Lea) \
78 V(X64Dec32) \
79 V(X64Inc32) \
78 V(X64Push) \ 80 V(X64Push) \
79 V(X64StoreWriteBarrier) 81 V(X64StoreWriteBarrier)
80 82
81 83
82 // Addressing modes represent the "shape" of inputs to an instruction. 84 // Addressing modes represent the "shape" of inputs to an instruction.
83 // Many instructions support multiple addressing modes. Addressing modes 85 // Many instructions support multiple addressing modes. Addressing modes
84 // are encoded into the InstructionCode of the instruction and tell the 86 // are encoded into the InstructionCode of the instruction and tell the
85 // code generator after register allocation which assembler method to call. 87 // code generator after register allocation which assembler method to call.
86 // 88 //
87 // We use the following local notation for addressing modes: 89 // We use the following local notation for addressing modes:
(...skipping 21 matching lines...) Expand all
109 V(M1I) /* [ %r2*1 + K] */ \ 111 V(M1I) /* [ %r2*1 + K] */ \
110 V(M2I) /* [ %r2*2 + K] */ \ 112 V(M2I) /* [ %r2*2 + K] */ \
111 V(M4I) /* [ %r2*4 + K] */ \ 113 V(M4I) /* [ %r2*4 + K] */ \
112 V(M8I) /* [ %r2*8 + K] */ 114 V(M8I) /* [ %r2*8 + K] */
113 115
114 } // namespace compiler 116 } // namespace compiler
115 } // namespace internal 117 } // namespace internal
116 } // namespace v8 118 } // namespace v8
117 119
118 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ 120 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698