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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 V(Int32Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 77 V(Int32Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
78 V(Int32MulHigh, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 78 V(Int32MulHigh, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
79 V(Int32Div, Operator::kNoProperties, 2, 1, 1) \ | 79 V(Int32Div, Operator::kNoProperties, 2, 1, 1) \ |
80 V(Int32Mod, Operator::kNoProperties, 2, 1, 1) \ | 80 V(Int32Mod, Operator::kNoProperties, 2, 1, 1) \ |
81 V(Int32LessThan, Operator::kNoProperties, 2, 0, 1) \ | 81 V(Int32LessThan, Operator::kNoProperties, 2, 0, 1) \ |
82 V(Int32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 82 V(Int32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
83 V(Uint32Div, Operator::kNoProperties, 2, 1, 1) \ | 83 V(Uint32Div, Operator::kNoProperties, 2, 1, 1) \ |
84 V(Uint32LessThan, Operator::kNoProperties, 2, 0, 1) \ | 84 V(Uint32LessThan, Operator::kNoProperties, 2, 0, 1) \ |
85 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 85 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
86 V(Uint32Mod, Operator::kNoProperties, 2, 1, 1) \ | 86 V(Uint32Mod, Operator::kNoProperties, 2, 1, 1) \ |
| 87 V(Uint32MulHigh, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
87 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 88 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
88 V(Int64Sub, Operator::kNoProperties, 2, 0, 1) \ | 89 V(Int64Sub, Operator::kNoProperties, 2, 0, 1) \ |
89 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ | 90 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 0, 1) \ |
90 V(Int64Div, Operator::kNoProperties, 2, 0, 1) \ | 91 V(Int64Div, Operator::kNoProperties, 2, 0, 1) \ |
91 V(Int64Mod, Operator::kNoProperties, 2, 0, 1) \ | 92 V(Int64Mod, Operator::kNoProperties, 2, 0, 1) \ |
92 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 93 V(Int64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
93 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 94 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
94 V(Uint64Div, Operator::kNoProperties, 2, 0, 1) \ | 95 V(Uint64Div, Operator::kNoProperties, 2, 0, 1) \ |
95 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 96 V(Uint64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
96 V(Uint64Mod, Operator::kNoProperties, 2, 0, 1) \ | 97 V(Uint64Mod, Operator::kNoProperties, 2, 0, 1) \ |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 241 |
241 default: | 242 default: |
242 break; | 243 break; |
243 } | 244 } |
244 UNREACHABLE(); | 245 UNREACHABLE(); |
245 return NULL; | 246 return NULL; |
246 } | 247 } |
247 } // namespace compiler | 248 } // namespace compiler |
248 } // namespace internal | 249 } // namespace internal |
249 } // namespace v8 | 250 } // namespace v8 |
OLD | NEW |