| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ | 141 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ |
| 142 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 142 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
| 143 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 143 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
| 144 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ | 144 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ |
| 145 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ | 145 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ |
| 146 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 146 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
| 147 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 147 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
| 148 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 148 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 149 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 149 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
| 150 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ | 150 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
| 151 V(TruncateFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
| 151 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 152 V(TruncateFloat32ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
| 152 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \ | 153 V(TruncateFloat32ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
| 153 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ | 154 V(TryTruncateFloat32ToInt64, Operator::kNoProperties, 1, 0, 2) \ |
| 154 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ | 155 V(TryTruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 2) \ |
| 155 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ | 156 V(TryTruncateFloat32ToUint64, Operator::kNoProperties, 1, 0, 2) \ |
| 156 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ | 157 V(TryTruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 2) \ |
| 157 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 158 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| 158 V(RoundInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 159 V(RoundInt32ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
| 159 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 160 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
| 160 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 161 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 | 483 |
| 483 // On 32 bit platforms we need to get a reference to optional operators of | 484 // On 32 bit platforms we need to get a reference to optional operators of |
| 484 // 64-bit instructions for later Int64Lowering, even though 32 bit platforms | 485 // 64-bit instructions for later Int64Lowering, even though 32 bit platforms |
| 485 // don't support the original 64-bit instruction. | 486 // don't support the original 64-bit instruction. |
| 486 const Operator* MachineOperatorBuilder::Word64CtzPlaceholder() { | 487 const Operator* MachineOperatorBuilder::Word64CtzPlaceholder() { |
| 487 return &cache_.kWord64Ctz; | 488 return &cache_.kWord64Ctz; |
| 488 } | 489 } |
| 489 } // namespace compiler | 490 } // namespace compiler |
| 490 } // namespace internal | 491 } // namespace internal |
| 491 } // namespace v8 | 492 } // namespace v8 |
| OLD | NEW |