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

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

Issue 1895643002: Revert of [Atomics] Remove Atomics code stubs; use TF ops (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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-scheduler.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_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(CheckedLoadWord32) \ 71 V(CheckedLoadWord32) \
72 V(CheckedLoadWord64) \ 72 V(CheckedLoadWord64) \
73 V(CheckedLoadFloat32) \ 73 V(CheckedLoadFloat32) \
74 V(CheckedLoadFloat64) \ 74 V(CheckedLoadFloat64) \
75 V(CheckedStoreWord8) \ 75 V(CheckedStoreWord8) \
76 V(CheckedStoreWord16) \ 76 V(CheckedStoreWord16) \
77 V(CheckedStoreWord32) \ 77 V(CheckedStoreWord32) \
78 V(CheckedStoreWord64) \ 78 V(CheckedStoreWord64) \
79 V(CheckedStoreFloat32) \ 79 V(CheckedStoreFloat32) \
80 V(CheckedStoreFloat64) \ 80 V(CheckedStoreFloat64) \
81 V(ArchStackSlot) \ 81 V(ArchStackSlot)
82 V(AtomicLoadInt8) \
83 V(AtomicLoadUint8) \
84 V(AtomicLoadInt16) \
85 V(AtomicLoadUint16) \
86 V(AtomicLoadWord32)
87 82
88 #define ARCH_OPCODE_LIST(V) \ 83 #define ARCH_OPCODE_LIST(V) \
89 COMMON_ARCH_OPCODE_LIST(V) \ 84 COMMON_ARCH_OPCODE_LIST(V) \
90 TARGET_ARCH_OPCODE_LIST(V) 85 TARGET_ARCH_OPCODE_LIST(V)
91 86
92 enum ArchOpcode { 87 enum ArchOpcode {
93 #define DECLARE_ARCH_OPCODE(Name) k##Name, 88 #define DECLARE_ARCH_OPCODE(Name) k##Name,
94 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) 89 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE)
95 #undef DECLARE_ARCH_OPCODE 90 #undef DECLARE_ARCH_OPCODE
96 #define COUNT_ARCH_OPCODE(Name) +1 91 #define COUNT_ARCH_OPCODE(Name) +1
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 typedef BitField<AddressingMode, 8, 5> AddressingModeField; 172 typedef BitField<AddressingMode, 8, 5> AddressingModeField;
178 typedef BitField<FlagsMode, 13, 2> FlagsModeField; 173 typedef BitField<FlagsMode, 13, 2> FlagsModeField;
179 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; 174 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField;
180 typedef BitField<int, 20, 12> MiscField; 175 typedef BitField<int, 20, 12> MiscField;
181 176
182 } // namespace compiler 177 } // namespace compiler
183 } // namespace internal 178 } // namespace internal
184 } // namespace v8 179 } // namespace v8
185 180
186 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 181 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698