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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ | 160 V(Float64LessThan, Operator::kNoProperties, 2, 0, 1) \ |
161 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ | 161 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 0, 1) \ |
162 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ | 162 V(Float64ExtractLowWord32, Operator::kNoProperties, 1, 0, 1) \ |
163 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ | 163 V(Float64ExtractHighWord32, Operator::kNoProperties, 1, 0, 1) \ |
164 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ | 164 V(Float64InsertLowWord32, Operator::kNoProperties, 2, 0, 1) \ |
165 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ | 165 V(Float64InsertHighWord32, Operator::kNoProperties, 2, 0, 1) \ |
166 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \ | 166 V(LoadStackPointer, Operator::kNoProperties, 0, 0, 1) \ |
167 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1) | 167 V(LoadFramePointer, Operator::kNoProperties, 0, 0, 1) |
168 | 168 |
169 #define PURE_OPTIONAL_OP_LIST(V) \ | 169 #define PURE_OPTIONAL_OP_LIST(V) \ |
| 170 V(Word32Ctz, Operator::kNoProperties, 1, 0, 1) \ |
170 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ | 171 V(Float32Max, Operator::kNoProperties, 2, 0, 1) \ |
171 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ | 172 V(Float32Min, Operator::kNoProperties, 2, 0, 1) \ |
172 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ | 173 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ |
173 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ | 174 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ |
174 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ | 175 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ |
175 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ | 176 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ |
176 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) | 177 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) |
177 | 178 |
178 | 179 |
179 #define MACHINE_TYPE_LIST(V) \ | 180 #define MACHINE_TYPE_LIST(V) \ |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 default: | 374 default: |
374 break; | 375 break; |
375 } | 376 } |
376 UNREACHABLE(); | 377 UNREACHABLE(); |
377 return nullptr; | 378 return nullptr; |
378 } | 379 } |
379 | 380 |
380 } // namespace compiler | 381 } // namespace compiler |
381 } // namespace internal | 382 } // namespace internal |
382 } // namespace v8 | 383 } // namespace v8 |
OLD | NEW |