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/base/adapters.h" | 5 #include "src/base/adapters.h" |
6 #include "src/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2436 V(I32x4ShrU) \ | 2436 V(I32x4ShrU) \ |
2437 V(I16x8Shl) \ | 2437 V(I16x8Shl) \ |
2438 V(I16x8ShrS) \ | 2438 V(I16x8ShrS) \ |
2439 V(I16x8ShrU) \ | 2439 V(I16x8ShrU) \ |
2440 V(I8x16Shl) \ | 2440 V(I8x16Shl) \ |
2441 V(I8x16ShrS) \ | 2441 V(I8x16ShrS) \ |
2442 V(I8x16ShrU) | 2442 V(I8x16ShrU) |
2443 | 2443 |
2444 #define SIMD_BINOP_LIST(V) \ | 2444 #define SIMD_BINOP_LIST(V) \ |
2445 V(F32x4Add, kArmF32x4Add) \ | 2445 V(F32x4Add, kArmF32x4Add) \ |
| 2446 V(F32x4AddHoriz, kArmF32x4AddHoriz) \ |
2446 V(F32x4Sub, kArmF32x4Sub) \ | 2447 V(F32x4Sub, kArmF32x4Sub) \ |
2447 V(F32x4Mul, kArmF32x4Mul) \ | 2448 V(F32x4Mul, kArmF32x4Mul) \ |
2448 V(F32x4Min, kArmF32x4Min) \ | 2449 V(F32x4Min, kArmF32x4Min) \ |
2449 V(F32x4Max, kArmF32x4Max) \ | 2450 V(F32x4Max, kArmF32x4Max) \ |
2450 V(F32x4RecipRefine, kArmF32x4RecipRefine) \ | 2451 V(F32x4RecipRefine, kArmF32x4RecipRefine) \ |
2451 V(F32x4RecipSqrtRefine, kArmF32x4RecipSqrtRefine) \ | 2452 V(F32x4RecipSqrtRefine, kArmF32x4RecipSqrtRefine) \ |
2452 V(F32x4Eq, kArmF32x4Eq) \ | 2453 V(F32x4Eq, kArmF32x4Eq) \ |
2453 V(F32x4Ne, kArmF32x4Ne) \ | 2454 V(F32x4Ne, kArmF32x4Ne) \ |
2454 V(F32x4Lt, kArmF32x4Lt) \ | 2455 V(F32x4Lt, kArmF32x4Lt) \ |
2455 V(F32x4Le, kArmF32x4Le) \ | 2456 V(F32x4Le, kArmF32x4Le) \ |
2456 V(I32x4Add, kArmI32x4Add) \ | 2457 V(I32x4Add, kArmI32x4Add) \ |
| 2458 V(I32x4AddHoriz, kArmI32x4AddHoriz) \ |
2457 V(I32x4Sub, kArmI32x4Sub) \ | 2459 V(I32x4Sub, kArmI32x4Sub) \ |
2458 V(I32x4Mul, kArmI32x4Mul) \ | 2460 V(I32x4Mul, kArmI32x4Mul) \ |
2459 V(I32x4MinS, kArmI32x4MinS) \ | 2461 V(I32x4MinS, kArmI32x4MinS) \ |
2460 V(I32x4MaxS, kArmI32x4MaxS) \ | 2462 V(I32x4MaxS, kArmI32x4MaxS) \ |
2461 V(I32x4Eq, kArmI32x4Eq) \ | 2463 V(I32x4Eq, kArmI32x4Eq) \ |
2462 V(I32x4Ne, kArmI32x4Ne) \ | 2464 V(I32x4Ne, kArmI32x4Ne) \ |
2463 V(I32x4LtS, kArmI32x4LtS) \ | 2465 V(I32x4LtS, kArmI32x4LtS) \ |
2464 V(I32x4LeS, kArmI32x4LeS) \ | 2466 V(I32x4LeS, kArmI32x4LeS) \ |
2465 V(I32x4MinU, kArmI32x4MinU) \ | 2467 V(I32x4MinU, kArmI32x4MinU) \ |
2466 V(I32x4MaxU, kArmI32x4MaxU) \ | 2468 V(I32x4MaxU, kArmI32x4MaxU) \ |
2467 V(I32x4LtU, kArmI32x4LtU) \ | 2469 V(I32x4LtU, kArmI32x4LtU) \ |
2468 V(I32x4LeU, kArmI32x4LeU) \ | 2470 V(I32x4LeU, kArmI32x4LeU) \ |
2469 V(I16x8SConvertI32x4, kArmI16x8SConvertI32x4) \ | 2471 V(I16x8SConvertI32x4, kArmI16x8SConvertI32x4) \ |
2470 V(I16x8Add, kArmI16x8Add) \ | 2472 V(I16x8Add, kArmI16x8Add) \ |
2471 V(I16x8AddSaturateS, kArmI16x8AddSaturateS) \ | 2473 V(I16x8AddSaturateS, kArmI16x8AddSaturateS) \ |
| 2474 V(I16x8AddHoriz, kArmI16x8AddHoriz) \ |
2472 V(I16x8Sub, kArmI16x8Sub) \ | 2475 V(I16x8Sub, kArmI16x8Sub) \ |
2473 V(I16x8SubSaturateS, kArmI16x8SubSaturateS) \ | 2476 V(I16x8SubSaturateS, kArmI16x8SubSaturateS) \ |
2474 V(I16x8Mul, kArmI16x8Mul) \ | 2477 V(I16x8Mul, kArmI16x8Mul) \ |
2475 V(I16x8MinS, kArmI16x8MinS) \ | 2478 V(I16x8MinS, kArmI16x8MinS) \ |
2476 V(I16x8MaxS, kArmI16x8MaxS) \ | 2479 V(I16x8MaxS, kArmI16x8MaxS) \ |
2477 V(I16x8Eq, kArmI16x8Eq) \ | 2480 V(I16x8Eq, kArmI16x8Eq) \ |
2478 V(I16x8Ne, kArmI16x8Ne) \ | 2481 V(I16x8Ne, kArmI16x8Ne) \ |
2479 V(I16x8LtS, kArmI16x8LtS) \ | 2482 V(I16x8LtS, kArmI16x8LtS) \ |
2480 V(I16x8LeS, kArmI16x8LeS) \ | 2483 V(I16x8LeS, kArmI16x8LeS) \ |
2481 V(I16x8UConvertI32x4, kArmI16x8UConvertI32x4) \ | 2484 V(I16x8UConvertI32x4, kArmI16x8UConvertI32x4) \ |
2482 V(I16x8AddSaturateU, kArmI16x8AddSaturateU) \ | 2485 V(I16x8AddSaturateU, kArmI16x8AddSaturateU) \ |
2483 V(I16x8SubSaturateU, kArmI16x8SubSaturateU) \ | 2486 V(I16x8SubSaturateU, kArmI16x8SubSaturateU) \ |
2484 V(I16x8MinU, kArmI16x8MinU) \ | 2487 V(I16x8MinU, kArmI16x8MinU) \ |
2485 V(I16x8MaxU, kArmI16x8MaxU) \ | 2488 V(I16x8MaxU, kArmI16x8MaxU) \ |
2486 V(I16x8LtU, kArmI16x8LtU) \ | 2489 V(I16x8LtU, kArmI16x8LtU) \ |
2487 V(I16x8LeU, kArmI16x8LeU) \ | 2490 V(I16x8LeU, kArmI16x8LeU) \ |
2488 V(I8x16SConvertI16x8, kArmI8x16SConvertI16x8) \ | 2491 V(I8x16SConvertI16x8, kArmI8x16SConvertI16x8) \ |
2489 V(I8x16Add, kArmI8x16Add) \ | 2492 V(I8x16Add, kArmI8x16Add) \ |
2490 V(I8x16AddSaturateS, kArmI8x16AddSaturateS) \ | 2493 V(I8x16AddSaturateS, kArmI8x16AddSaturateS) \ |
| 2494 V(I8x16AddHoriz, kArmI8x16AddHoriz) \ |
2491 V(I8x16Sub, kArmI8x16Sub) \ | 2495 V(I8x16Sub, kArmI8x16Sub) \ |
2492 V(I8x16SubSaturateS, kArmI8x16SubSaturateS) \ | 2496 V(I8x16SubSaturateS, kArmI8x16SubSaturateS) \ |
2493 V(I8x16Mul, kArmI8x16Mul) \ | 2497 V(I8x16Mul, kArmI8x16Mul) \ |
2494 V(I8x16MinS, kArmI8x16MinS) \ | 2498 V(I8x16MinS, kArmI8x16MinS) \ |
2495 V(I8x16MaxS, kArmI8x16MaxS) \ | 2499 V(I8x16MaxS, kArmI8x16MaxS) \ |
2496 V(I8x16Eq, kArmI8x16Eq) \ | 2500 V(I8x16Eq, kArmI8x16Eq) \ |
2497 V(I8x16Ne, kArmI8x16Ne) \ | 2501 V(I8x16Ne, kArmI8x16Ne) \ |
2498 V(I8x16LtS, kArmI8x16LtS) \ | 2502 V(I8x16LtS, kArmI8x16LtS) \ |
2499 V(I8x16LeS, kArmI8x16LeS) \ | 2503 V(I8x16LeS, kArmI8x16LeS) \ |
2500 V(I8x16UConvertI16x8, kArmI8x16UConvertI16x8) \ | 2504 V(I8x16UConvertI16x8, kArmI8x16UConvertI16x8) \ |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 Vector<MachineType> req_aligned = Vector<MachineType>::New(2); | 2654 Vector<MachineType> req_aligned = Vector<MachineType>::New(2); |
2651 req_aligned[0] = MachineType::Float32(); | 2655 req_aligned[0] = MachineType::Float32(); |
2652 req_aligned[1] = MachineType::Float64(); | 2656 req_aligned[1] = MachineType::Float64(); |
2653 return MachineOperatorBuilder::AlignmentRequirements:: | 2657 return MachineOperatorBuilder::AlignmentRequirements:: |
2654 SomeUnalignedAccessUnsupported(req_aligned, req_aligned); | 2658 SomeUnalignedAccessUnsupported(req_aligned, req_aligned); |
2655 } | 2659 } |
2656 | 2660 |
2657 } // namespace compiler | 2661 } // namespace compiler |
2658 } // namespace internal | 2662 } // namespace internal |
2659 } // namespace v8 | 2663 } // namespace v8 |
OLD | NEW |