| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 V(Int32PairSub, Operator::kNoProperties, 4, 0, 2) \ | 222 V(Int32PairSub, Operator::kNoProperties, 4, 0, 2) \ |
| 223 V(Int32PairMul, Operator::kNoProperties, 4, 0, 2) \ | 223 V(Int32PairMul, Operator::kNoProperties, 4, 0, 2) \ |
| 224 V(Word32PairShl, Operator::kNoProperties, 3, 0, 2) \ | 224 V(Word32PairShl, Operator::kNoProperties, 3, 0, 2) \ |
| 225 V(Word32PairShr, Operator::kNoProperties, 3, 0, 2) \ | 225 V(Word32PairShr, Operator::kNoProperties, 3, 0, 2) \ |
| 226 V(Word32PairSar, Operator::kNoProperties, 3, 0, 2) \ | 226 V(Word32PairSar, Operator::kNoProperties, 3, 0, 2) \ |
| 227 V(F32x4Splat, Operator::kNoProperties, 1, 0, 1) \ | 227 V(F32x4Splat, Operator::kNoProperties, 1, 0, 1) \ |
| 228 V(F32x4SConvertI32x4, Operator::kNoProperties, 1, 0, 1) \ | 228 V(F32x4SConvertI32x4, Operator::kNoProperties, 1, 0, 1) \ |
| 229 V(F32x4UConvertI32x4, Operator::kNoProperties, 1, 0, 1) \ | 229 V(F32x4UConvertI32x4, Operator::kNoProperties, 1, 0, 1) \ |
| 230 V(F32x4Abs, Operator::kNoProperties, 1, 0, 1) \ | 230 V(F32x4Abs, Operator::kNoProperties, 1, 0, 1) \ |
| 231 V(F32x4Neg, Operator::kNoProperties, 1, 0, 1) \ | 231 V(F32x4Neg, Operator::kNoProperties, 1, 0, 1) \ |
| 232 V(F32x4Sqrt, Operator::kNoProperties, 1, 0, 1) \ | |
| 233 V(F32x4RecipApprox, Operator::kNoProperties, 1, 0, 1) \ | 232 V(F32x4RecipApprox, Operator::kNoProperties, 1, 0, 1) \ |
| 234 V(F32x4RecipSqrtApprox, Operator::kNoProperties, 1, 0, 1) \ | 233 V(F32x4RecipSqrtApprox, Operator::kNoProperties, 1, 0, 1) \ |
| 235 V(F32x4Add, Operator::kCommutative, 2, 0, 1) \ | 234 V(F32x4Add, Operator::kCommutative, 2, 0, 1) \ |
| 236 V(F32x4Sub, Operator::kNoProperties, 2, 0, 1) \ | 235 V(F32x4Sub, Operator::kNoProperties, 2, 0, 1) \ |
| 237 V(F32x4Mul, Operator::kCommutative, 2, 0, 1) \ | 236 V(F32x4Mul, Operator::kCommutative, 2, 0, 1) \ |
| 238 V(F32x4Div, Operator::kNoProperties, 2, 0, 1) \ | |
| 239 V(F32x4Min, Operator::kCommutative, 2, 0, 1) \ | 237 V(F32x4Min, Operator::kCommutative, 2, 0, 1) \ |
| 240 V(F32x4Max, Operator::kCommutative, 2, 0, 1) \ | 238 V(F32x4Max, Operator::kCommutative, 2, 0, 1) \ |
| 241 V(F32x4MinNum, Operator::kCommutative, 2, 0, 1) \ | |
| 242 V(F32x4MaxNum, Operator::kCommutative, 2, 0, 1) \ | |
| 243 V(F32x4RecipRefine, Operator::kNoProperties, 2, 0, 1) \ | |
| 244 V(F32x4RecipSqrtRefine, Operator::kNoProperties, 2, 0, 1) \ | |
| 245 V(F32x4Eq, Operator::kCommutative, 2, 0, 1) \ | 239 V(F32x4Eq, Operator::kCommutative, 2, 0, 1) \ |
| 246 V(F32x4Ne, Operator::kCommutative, 2, 0, 1) \ | 240 V(F32x4Ne, Operator::kCommutative, 2, 0, 1) \ |
| 247 V(F32x4Lt, Operator::kNoProperties, 2, 0, 1) \ | 241 V(F32x4Lt, Operator::kNoProperties, 2, 0, 1) \ |
| 248 V(F32x4Le, Operator::kNoProperties, 2, 0, 1) \ | 242 V(F32x4Le, Operator::kNoProperties, 2, 0, 1) \ |
| 249 V(I32x4Splat, Operator::kNoProperties, 1, 0, 1) \ | 243 V(I32x4Splat, Operator::kNoProperties, 1, 0, 1) \ |
| 250 V(I32x4SConvertF32x4, Operator::kNoProperties, 1, 0, 1) \ | 244 V(I32x4SConvertF32x4, Operator::kNoProperties, 1, 0, 1) \ |
| 251 V(I32x4SConvertI16x8Low, Operator::kNoProperties, 1, 0, 1) \ | 245 V(I32x4SConvertI16x8Low, Operator::kNoProperties, 1, 0, 1) \ |
| 252 V(I32x4SConvertI16x8High, Operator::kNoProperties, 1, 0, 1) \ | 246 V(I32x4SConvertI16x8High, Operator::kNoProperties, 1, 0, 1) \ |
| 253 V(I32x4Neg, Operator::kNoProperties, 1, 0, 1) \ | 247 V(I32x4Neg, Operator::kNoProperties, 1, 0, 1) \ |
| 254 V(I32x4Add, Operator::kCommutative, 2, 0, 1) \ | 248 V(I32x4Add, Operator::kCommutative, 2, 0, 1) \ |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 return new (zone_) \ | 1008 return new (zone_) \ |
| 1015 Operator1<uint32_t>(IrOpcode::kS##format##Swizzle, Operator::kPure, \ | 1009 Operator1<uint32_t>(IrOpcode::kS##format##Swizzle, Operator::kPure, \ |
| 1016 "Swizzle", 2, 0, 0, 1, 0, 0, swizzle); \ | 1010 "Swizzle", 2, 0, 0, 1, 0, 0, swizzle); \ |
| 1017 } | 1011 } |
| 1018 SIMD_FORMAT_LIST(SIMD_PERMUTE_OPS) | 1012 SIMD_FORMAT_LIST(SIMD_PERMUTE_OPS) |
| 1019 #undef SIMD_PERMUTE_OPS | 1013 #undef SIMD_PERMUTE_OPS |
| 1020 | 1014 |
| 1021 } // namespace compiler | 1015 } // namespace compiler |
| 1022 } // namespace internal | 1016 } // namespace internal |
| 1023 } // namespace v8 | 1017 } // namespace v8 |
| OLD | NEW |