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/code-assembler.h

Issue 2116753002: [builtins] Unify most of the remaining Math builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2102223005
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 V(Word32Ror) \ 102 V(Word32Ror) \
103 V(Word64Or) \ 103 V(Word64Or) \
104 V(Word64And) \ 104 V(Word64And) \
105 V(Word64Xor) \ 105 V(Word64Xor) \
106 V(Word64Shr) \ 106 V(Word64Shr) \
107 V(Word64Sar) \ 107 V(Word64Sar) \
108 V(Word64Ror) 108 V(Word64Ror)
109 109
110 #define CODE_ASSEMBLER_UNARY_OP_LIST(V) \ 110 #define CODE_ASSEMBLER_UNARY_OP_LIST(V) \
111 V(Float64Abs) \ 111 V(Float64Abs) \
112 V(Float64Acos) \
113 V(Float64Acosh) \
114 V(Float64Asin) \
115 V(Float64Asinh) \
112 V(Float64Atan) \ 116 V(Float64Atan) \
113 V(Float64Atanh) \ 117 V(Float64Atanh) \
114 V(Float64Cos) \ 118 V(Float64Cos) \
115 V(Float64Cosh) \ 119 V(Float64Cosh) \
116 V(Float64Exp) \ 120 V(Float64Exp) \
117 V(Float64Expm1) \ 121 V(Float64Expm1) \
118 V(Float64Log) \ 122 V(Float64Log) \
119 V(Float64Log1p) \ 123 V(Float64Log1p) \
120 V(Float64Log2) \ 124 V(Float64Log2) \
121 V(Float64Log10) \ 125 V(Float64Log10) \
122 V(Float64Cbrt) \ 126 V(Float64Cbrt) \
123 V(Float64Neg) \ 127 V(Float64Neg) \
124 V(Float64Sin) \ 128 V(Float64Sin) \
125 V(Float64Sinh) \ 129 V(Float64Sinh) \
126 V(Float64Sqrt) \ 130 V(Float64Sqrt) \
127 V(Float64Tan) \ 131 V(Float64Tan) \
128 V(Float64Tanh) \ 132 V(Float64Tanh) \
129 V(Float64ExtractLowWord32) \ 133 V(Float64ExtractLowWord32) \
130 V(Float64ExtractHighWord32) \ 134 V(Float64ExtractHighWord32) \
131 V(BitcastWordToTagged) \ 135 V(BitcastWordToTagged) \
136 V(TruncateFloat64ToFloat32) \
132 V(TruncateFloat64ToWord32) \ 137 V(TruncateFloat64ToWord32) \
133 V(TruncateInt64ToInt32) \ 138 V(TruncateInt64ToInt32) \
139 V(ChangeFloat32ToFloat64) \
134 V(ChangeFloat64ToUint32) \ 140 V(ChangeFloat64ToUint32) \
135 V(ChangeInt32ToFloat64) \ 141 V(ChangeInt32ToFloat64) \
136 V(ChangeInt32ToInt64) \ 142 V(ChangeInt32ToInt64) \
137 V(ChangeUint32ToFloat64) \ 143 V(ChangeUint32ToFloat64) \
138 V(ChangeUint32ToUint64) \ 144 V(ChangeUint32ToUint64) \
139 V(RoundFloat64ToInt32) \ 145 V(RoundFloat64ToInt32) \
140 V(Float64RoundDown) \ 146 V(Float64RoundDown) \
141 V(Float64RoundUp) \ 147 V(Float64RoundUp) \
142 V(Float64RoundTruncate) \ 148 V(Float64RoundTruncate) \
143 V(Word32Clz) 149 V(Word32Clz)
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // Map of variables to the list of value nodes that have been added from each 443 // Map of variables to the list of value nodes that have been added from each
438 // merge path in their order of merging. 444 // merge path in their order of merging.
439 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 445 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
440 }; 446 };
441 447
442 } // namespace compiler 448 } // namespace compiler
443 } // namespace internal 449 } // namespace internal
444 } // namespace v8 450 } // namespace v8
445 451
446 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 452 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698