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

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

Issue 931623002: [turbofan] Optimize certain chains of Branch into a Switch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addrssed comments. Created 5 years, 10 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
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.h » ('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_INSTRUCTION_CODES_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ 6 #define V8_COMPILER_INSTRUCTION_CODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #if V8_TARGET_ARCH_ARM 10 #if V8_TARGET_ARCH_ARM
(...skipping 19 matching lines...) Expand all
30 namespace v8 { 30 namespace v8 {
31 namespace internal { 31 namespace internal {
32 namespace compiler { 32 namespace compiler {
33 33
34 // Target-specific opcodes that specify which assembly sequence to emit. 34 // Target-specific opcodes that specify which assembly sequence to emit.
35 // Most opcodes specify a single instruction. 35 // Most opcodes specify a single instruction.
36 #define ARCH_OPCODE_LIST(V) \ 36 #define ARCH_OPCODE_LIST(V) \
37 V(ArchCallCodeObject) \ 37 V(ArchCallCodeObject) \
38 V(ArchCallJSFunction) \ 38 V(ArchCallJSFunction) \
39 V(ArchJmp) \ 39 V(ArchJmp) \
40 V(ArchSwitch) \ 40 V(ArchLookupSwitch) \
41 V(ArchTableSwitch) \
41 V(ArchNop) \ 42 V(ArchNop) \
42 V(ArchRet) \ 43 V(ArchRet) \
43 V(ArchStackPointer) \ 44 V(ArchStackPointer) \
44 V(ArchTruncateDoubleToI) \ 45 V(ArchTruncateDoubleToI) \
45 V(CheckedLoadInt8) \ 46 V(CheckedLoadInt8) \
46 V(CheckedLoadUint8) \ 47 V(CheckedLoadUint8) \
47 V(CheckedLoadInt16) \ 48 V(CheckedLoadInt16) \
48 V(CheckedLoadUint16) \ 49 V(CheckedLoadUint16) \
49 V(CheckedLoadWord32) \ 50 V(CheckedLoadWord32) \
50 V(CheckedLoadFloat32) \ 51 V(CheckedLoadFloat32) \
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 typedef BitField<AddressingMode, 7, 5> AddressingModeField; 130 typedef BitField<AddressingMode, 7, 5> AddressingModeField;
130 typedef BitField<FlagsMode, 12, 2> FlagsModeField; 131 typedef BitField<FlagsMode, 12, 2> FlagsModeField;
131 typedef BitField<FlagsCondition, 14, 4> FlagsConditionField; 132 typedef BitField<FlagsCondition, 14, 4> FlagsConditionField;
132 typedef BitField<int, 14, 18> MiscField; 133 typedef BitField<int, 14, 18> MiscField;
133 134
134 } // namespace compiler 135 } // namespace compiler
135 } // namespace internal 136 } // namespace internal
136 } // namespace v8 137 } // namespace v8
137 138
138 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 139 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698