OLD | NEW |
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ | 179 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ |
180 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 180 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
181 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 181 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
182 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ | 182 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ |
183 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ | 183 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ |
184 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ | 184 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ |
185 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ | 185 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ |
186 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 186 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
187 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ | 187 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ |
188 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 188 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
189 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) | 189 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ |
| 190 V(Float64RoundTiesEven, Operator::kNoProperties, 1, 0, 1) |
190 | 191 |
191 | 192 |
192 #define MACHINE_TYPE_LIST(V) \ | 193 #define MACHINE_TYPE_LIST(V) \ |
193 V(MachFloat32) \ | 194 V(MachFloat32) \ |
194 V(MachFloat64) \ | 195 V(MachFloat64) \ |
195 V(MachInt8) \ | 196 V(MachInt8) \ |
196 V(MachUint8) \ | 197 V(MachUint8) \ |
197 V(MachInt16) \ | 198 V(MachInt16) \ |
198 V(MachUint16) \ | 199 V(MachUint16) \ |
199 V(MachInt32) \ | 200 V(MachInt32) \ |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 default: | 404 default: |
404 break; | 405 break; |
405 } | 406 } |
406 UNREACHABLE(); | 407 UNREACHABLE(); |
407 return nullptr; | 408 return nullptr; |
408 } | 409 } |
409 | 410 |
410 } // namespace compiler | 411 } // namespace compiler |
411 } // namespace internal | 412 } // namespace internal |
412 } // namespace v8 | 413 } // namespace v8 |
OLD | NEW |