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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 V(Float32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 188 V(Float32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
189 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \ | 189 V(Float64Equal, Operator::kCommutative, 2, 0, 1) \ |
190 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 190 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
191 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 191 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
192 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ | 192 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ |
193 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ | 193 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ |
194 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ | 194 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ |
195 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ | 195 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ |
196 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \ | 196 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \ |
197 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1) \ | 197 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1) \ |
198 V(LoadParentFramePointer, Operator::kNoProperties, 0, 0, 1) | 198 V(LoadParentFramePointer, Operator::kNoProperties, 0, 0, 1) \ |
| 199 V(WasmWord64Shl, Operator::kNoProperties, 3, 0, 2) |
199 | 200 |
200 #define PURE_OPTIONAL_OP_LIST(V) \ | 201 #define PURE_OPTIONAL_OP_LIST(V) \ |
201 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ | 202 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ |
202 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ | 203 V(Word64Ctz, Operator::kNoProperties, 1, 0, 1) \ |
203 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 204 V(Word32ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
204 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ | 205 V(Word64ReverseBits, Operator::kNoProperties, 1, 0, 1) \ |
205 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 206 V(Word32Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
206 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ | 207 V(Word64Popcnt, Operator::kNoProperties, 1, 0, 1) \ |
207 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ | 208 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ |
208 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ | 209 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 case MachineRepresentation::kNone: | 464 case MachineRepresentation::kNone: |
464 break; | 465 break; |
465 } | 466 } |
466 UNREACHABLE(); | 467 UNREACHABLE(); |
467 return nullptr; | 468 return nullptr; |
468 } | 469 } |
469 | 470 |
470 } // namespace compiler | 471 } // namespace compiler |
471 } // namespace internal | 472 } // namespace internal |
472 } // namespace v8 | 473 } // namespace v8 |
OLD | NEW |