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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ | 128 V(Int64Mod, Operator::kNoProperties, 2, 1, 1) \ |
129 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 129 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
130 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 130 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
131 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ | 131 V(Uint64Div, Operator::kNoProperties, 2, 1, 1) \ |
132 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ | 132 V(Uint64Mod, Operator::kNoProperties, 2, 1, 1) \ |
133 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 133 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
134 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 134 V(Uint64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
135 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 135 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
136 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ | 136 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 0, 1) \ |
137 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ | 137 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 0, 1) \ |
138 V(ChangeFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 138 V(TruncateFloat64ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
139 V(TruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 1) \ | 139 V(TruncateFloat64ToUint64, Operator::kNoProperties, 1, 0, 1) \ |
140 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 140 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
141 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 141 V(RoundInt64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
142 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 142 V(RoundInt64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
143 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 143 V(RoundUint64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
144 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 144 V(RoundUint64ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
145 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ | 145 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 0, 1) \ |
146 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ | 146 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 0, 1) \ |
147 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ | 147 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 0, 1) \ |
148 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ | 148 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 0, 1) \ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 default: | 407 default: |
408 break; | 408 break; |
409 } | 409 } |
410 UNREACHABLE(); | 410 UNREACHABLE(); |
411 return nullptr; | 411 return nullptr; |
412 } | 412 } |
413 | 413 |
414 } // namespace compiler | 414 } // namespace compiler |
415 } // namespace internal | 415 } // namespace internal |
416 } // namespace v8 | 416 } // namespace v8 |
OLD | NEW |