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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 2083573002: [builtins] Unify Cosh, Sinh and Tanh as exports from flibm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and windows fix. 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
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/machine-operator-reducer.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 #include "src/compiler/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 10
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 V(Float32SubPreserveNan, Operator::kNoProperties, 2, 0, 1) \ 147 V(Float32SubPreserveNan, Operator::kNoProperties, 2, 0, 1) \
148 V(Float32Mul, Operator::kCommutative, 2, 0, 1) \ 148 V(Float32Mul, Operator::kCommutative, 2, 0, 1) \
149 V(Float32Div, Operator::kNoProperties, 2, 0, 1) \ 149 V(Float32Div, Operator::kNoProperties, 2, 0, 1) \
150 V(Float32Sqrt, Operator::kNoProperties, 1, 0, 1) \ 150 V(Float32Sqrt, Operator::kNoProperties, 1, 0, 1) \
151 V(Float64Abs, Operator::kNoProperties, 1, 0, 1) \ 151 V(Float64Abs, Operator::kNoProperties, 1, 0, 1) \
152 V(Float64Atan, Operator::kNoProperties, 1, 0, 1) \ 152 V(Float64Atan, Operator::kNoProperties, 1, 0, 1) \
153 V(Float64Atan2, Operator::kNoProperties, 2, 0, 1) \ 153 V(Float64Atan2, Operator::kNoProperties, 2, 0, 1) \
154 V(Float64Atanh, Operator::kNoProperties, 1, 0, 1) \ 154 V(Float64Atanh, Operator::kNoProperties, 1, 0, 1) \
155 V(Float64Cbrt, Operator::kNoProperties, 1, 0, 1) \ 155 V(Float64Cbrt, Operator::kNoProperties, 1, 0, 1) \
156 V(Float64Cos, Operator::kNoProperties, 1, 0, 1) \ 156 V(Float64Cos, Operator::kNoProperties, 1, 0, 1) \
157 V(Float64Cosh, Operator::kNoProperties, 1, 0, 1) \
157 V(Float64Exp, Operator::kNoProperties, 1, 0, 1) \ 158 V(Float64Exp, Operator::kNoProperties, 1, 0, 1) \
158 V(Float64Expm1, Operator::kNoProperties, 1, 0, 1) \ 159 V(Float64Expm1, Operator::kNoProperties, 1, 0, 1) \
159 V(Float64Log, Operator::kNoProperties, 1, 0, 1) \ 160 V(Float64Log, Operator::kNoProperties, 1, 0, 1) \
160 V(Float64Log1p, Operator::kNoProperties, 1, 0, 1) \ 161 V(Float64Log1p, Operator::kNoProperties, 1, 0, 1) \
161 V(Float64Log2, Operator::kNoProperties, 1, 0, 1) \ 162 V(Float64Log2, Operator::kNoProperties, 1, 0, 1) \
162 V(Float64Log10, Operator::kNoProperties, 1, 0, 1) \ 163 V(Float64Log10, Operator::kNoProperties, 1, 0, 1) \
163 V(Float64Add, Operator::kCommutative, 2, 0, 1) \ 164 V(Float64Add, Operator::kCommutative, 2, 0, 1) \
164 V(Float64Sub, Operator::kNoProperties, 2, 0, 1) \ 165 V(Float64Sub, Operator::kNoProperties, 2, 0, 1) \
165 V(Float64SubPreserveNan, Operator::kNoProperties, 2, 0, 1) \ 166 V(Float64SubPreserveNan, Operator::kNoProperties, 2, 0, 1) \
166 V(Float64Mul, Operator::kCommutative, 2, 0, 1) \ 167 V(Float64Mul, Operator::kCommutative, 2, 0, 1) \
167 V(Float64Div, Operator::kNoProperties, 2, 0, 1) \ 168 V(Float64Div, Operator::kNoProperties, 2, 0, 1) \
168 V(Float64Mod, Operator::kNoProperties, 2, 0, 1) \ 169 V(Float64Mod, Operator::kNoProperties, 2, 0, 1) \
169 V(Float64Pow, Operator::kNoProperties, 2, 0, 1) \ 170 V(Float64Pow, Operator::kNoProperties, 2, 0, 1) \
170 V(Float64Sin, Operator::kNoProperties, 1, 0, 1) \ 171 V(Float64Sin, Operator::kNoProperties, 1, 0, 1) \
172 V(Float64Sinh, Operator::kNoProperties, 1, 0, 1) \
171 V(Float64Sqrt, Operator::kNoProperties, 1, 0, 1) \ 173 V(Float64Sqrt, Operator::kNoProperties, 1, 0, 1) \
172 V(Float64Tan, Operator::kNoProperties, 1, 0, 1) \ 174 V(Float64Tan, Operator::kNoProperties, 1, 0, 1) \
175 V(Float64Tanh, Operator::kNoProperties, 1, 0, 1) \
173 V(Float32Equal, Operator::kCommutative, 2, 0, 1) \ 176 V(Float32Equal, Operator::kCommutative, 2, 0, 1) \
174 V(Float32LessThan, Operator::kNoProperties, 2, 0, 1) \ 177 V(Float32LessThan, Operator::kNoProperties, 2, 0, 1) \
175 V(Float32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 178 V(Float32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
176 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \ 179 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \
177 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ 180 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \
178 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ 181 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \
179 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ 182 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \
180 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ 183 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \
181 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ 184 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \
182 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ 185 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 } 730 }
728 ATOMIC_REPRESENTATION_LIST(STORE) 731 ATOMIC_REPRESENTATION_LIST(STORE)
729 #undef STORE 732 #undef STORE
730 UNREACHABLE(); 733 UNREACHABLE();
731 return nullptr; 734 return nullptr;
732 } 735 }
733 736
734 } // namespace compiler 737 } // namespace compiler
735 } // namespace internal 738 } // namespace internal
736 } // namespace v8 739 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/machine-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698