| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 V(Float64Div, Operator::kNoProperties, 2, 0, 1) \ | 123 V(Float64Div, Operator::kNoProperties, 2, 0, 1) \ |
| 124 V(Float64Mod, Operator::kNoProperties, 2, 0, 1) \ | 124 V(Float64Mod, Operator::kNoProperties, 2, 0, 1) \ |
| 125 V(Float64Sqrt, Operator::kNoProperties, 1, 0, 1) \ | 125 V(Float64Sqrt, Operator::kNoProperties, 1, 0, 1) \ |
| 126 V(Float64Ceil, Operator::kNoProperties, 1, 0, 1) \ | 126 V(Float64Ceil, Operator::kNoProperties, 1, 0, 1) \ |
| 127 V(Float64Floor, Operator::kNoProperties, 1, 0, 1) \ | 127 V(Float64Floor, Operator::kNoProperties, 1, 0, 1) \ |
| 128 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 128 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
| 129 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ | 129 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ |
| 130 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \ | 130 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \ |
| 131 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 131 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
| 132 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 132 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
| 133 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ |
| 134 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ |
| 135 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ |
| 136 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ |
| 133 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) | 137 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) |
| 134 | 138 |
| 135 | 139 |
| 136 #define MACHINE_TYPE_LIST(V) \ | 140 #define MACHINE_TYPE_LIST(V) \ |
| 137 V(MachFloat32) \ | 141 V(MachFloat32) \ |
| 138 V(MachFloat64) \ | 142 V(MachFloat64) \ |
| 139 V(MachInt8) \ | 143 V(MachInt8) \ |
| 140 V(MachUint8) \ | 144 V(MachUint8) \ |
| 141 V(MachInt16) \ | 145 V(MachInt16) \ |
| 142 V(MachUint16) \ | 146 V(MachUint16) \ |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 } | 314 } |
| 311 // Uncached. | 315 // Uncached. |
| 312 return new (zone_) Operator1<CheckedStoreRepresentation>( | 316 return new (zone_) Operator1<CheckedStoreRepresentation>( |
| 313 IrOpcode::kCheckedStore, Operator::kNoRead | Operator::kNoThrow, | 317 IrOpcode::kCheckedStore, Operator::kNoRead | Operator::kNoThrow, |
| 314 "CheckedStore", 4, 1, 1, 0, 1, 0, rep); | 318 "CheckedStore", 4, 1, 1, 0, 1, 0, rep); |
| 315 } | 319 } |
| 316 | 320 |
| 317 } // namespace compiler | 321 } // namespace compiler |
| 318 } // namespace internal | 322 } // namespace internal |
| 319 } // namespace v8 | 323 } // namespace v8 |
| OLD | NEW |