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

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

Issue 2063693002: [builtins] Introduce proper Float64Log2 and Float64Log10 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More precise log10. Created 4 years, 6 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/code-generator-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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 V(AtomicLoadUint8) \ 85 V(AtomicLoadUint8) \
86 V(AtomicLoadInt16) \ 86 V(AtomicLoadInt16) \
87 V(AtomicLoadUint16) \ 87 V(AtomicLoadUint16) \
88 V(AtomicLoadWord32) \ 88 V(AtomicLoadWord32) \
89 V(AtomicStoreWord8) \ 89 V(AtomicStoreWord8) \
90 V(AtomicStoreWord16) \ 90 V(AtomicStoreWord16) \
91 V(AtomicStoreWord32) \ 91 V(AtomicStoreWord32) \
92 V(Ieee754Float64Atan) \ 92 V(Ieee754Float64Atan) \
93 V(Ieee754Float64Atan2) \ 93 V(Ieee754Float64Atan2) \
94 V(Ieee754Float64Log) \ 94 V(Ieee754Float64Log) \
95 V(Ieee754Float64Log1p) 95 V(Ieee754Float64Log1p) \
96 V(Ieee754Float64Log2) \
97 V(Ieee754Float64Log10)
96 98
97 #define ARCH_OPCODE_LIST(V) \ 99 #define ARCH_OPCODE_LIST(V) \
98 COMMON_ARCH_OPCODE_LIST(V) \ 100 COMMON_ARCH_OPCODE_LIST(V) \
99 TARGET_ARCH_OPCODE_LIST(V) 101 TARGET_ARCH_OPCODE_LIST(V)
100 102
101 enum ArchOpcode { 103 enum ArchOpcode {
102 #define DECLARE_ARCH_OPCODE(Name) k##Name, 104 #define DECLARE_ARCH_OPCODE(Name) k##Name,
103 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE) 105 ARCH_OPCODE_LIST(DECLARE_ARCH_OPCODE)
104 #undef DECLARE_ARCH_OPCODE 106 #undef DECLARE_ARCH_OPCODE
105 #define COUNT_ARCH_OPCODE(Name) +1 107 #define COUNT_ARCH_OPCODE(Name) +1
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 typedef BitField<AddressingMode, 8, 5> AddressingModeField; 188 typedef BitField<AddressingMode, 8, 5> AddressingModeField;
187 typedef BitField<FlagsMode, 13, 2> FlagsModeField; 189 typedef BitField<FlagsMode, 13, 2> FlagsModeField;
188 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; 190 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField;
189 typedef BitField<int, 20, 12> MiscField; 191 typedef BitField<int, 20, 12> MiscField;
190 192
191 } // namespace compiler 193 } // namespace compiler
192 } // namespace internal 194 } // namespace internal
193 } // namespace v8 195 } // namespace v8
194 196
195 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ 197 #endif // V8_COMPILER_INSTRUCTION_CODES_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698