Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: src/compiler/arm/instruction-selector-arm.cc

Issue 2874403002: [wasm] Swap the implementation of SIMD compare ops using Gt/Ge insteas of Lt/Le (Closed)
Patch Set: Add Todo with bug reference Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm/instruction-scheduler-arm.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2444 matching lines...) Expand 10 before | Expand all | Expand 10 after
2455 V(F32x4Lt, kArmF32x4Lt) \ 2455 V(F32x4Lt, kArmF32x4Lt) \
2456 V(F32x4Le, kArmF32x4Le) \ 2456 V(F32x4Le, kArmF32x4Le) \
2457 V(I32x4Add, kArmI32x4Add) \ 2457 V(I32x4Add, kArmI32x4Add) \
2458 V(I32x4AddHoriz, kArmI32x4AddHoriz) \ 2458 V(I32x4AddHoriz, kArmI32x4AddHoriz) \
2459 V(I32x4Sub, kArmI32x4Sub) \ 2459 V(I32x4Sub, kArmI32x4Sub) \
2460 V(I32x4Mul, kArmI32x4Mul) \ 2460 V(I32x4Mul, kArmI32x4Mul) \
2461 V(I32x4MinS, kArmI32x4MinS) \ 2461 V(I32x4MinS, kArmI32x4MinS) \
2462 V(I32x4MaxS, kArmI32x4MaxS) \ 2462 V(I32x4MaxS, kArmI32x4MaxS) \
2463 V(I32x4Eq, kArmI32x4Eq) \ 2463 V(I32x4Eq, kArmI32x4Eq) \
2464 V(I32x4Ne, kArmI32x4Ne) \ 2464 V(I32x4Ne, kArmI32x4Ne) \
2465 V(I32x4LtS, kArmI32x4LtS) \ 2465 V(I32x4GtS, kArmI32x4GtS) \
2466 V(I32x4LeS, kArmI32x4LeS) \ 2466 V(I32x4GeS, kArmI32x4GeS) \
2467 V(I32x4MinU, kArmI32x4MinU) \ 2467 V(I32x4MinU, kArmI32x4MinU) \
2468 V(I32x4MaxU, kArmI32x4MaxU) \ 2468 V(I32x4MaxU, kArmI32x4MaxU) \
2469 V(I32x4LtU, kArmI32x4LtU) \ 2469 V(I32x4GtU, kArmI32x4GtU) \
2470 V(I32x4LeU, kArmI32x4LeU) \ 2470 V(I32x4GeU, kArmI32x4GeU) \
2471 V(I16x8SConvertI32x4, kArmI16x8SConvertI32x4) \ 2471 V(I16x8SConvertI32x4, kArmI16x8SConvertI32x4) \
2472 V(I16x8Add, kArmI16x8Add) \ 2472 V(I16x8Add, kArmI16x8Add) \
2473 V(I16x8AddSaturateS, kArmI16x8AddSaturateS) \ 2473 V(I16x8AddSaturateS, kArmI16x8AddSaturateS) \
2474 V(I16x8AddHoriz, kArmI16x8AddHoriz) \ 2474 V(I16x8AddHoriz, kArmI16x8AddHoriz) \
2475 V(I16x8Sub, kArmI16x8Sub) \ 2475 V(I16x8Sub, kArmI16x8Sub) \
2476 V(I16x8SubSaturateS, kArmI16x8SubSaturateS) \ 2476 V(I16x8SubSaturateS, kArmI16x8SubSaturateS) \
2477 V(I16x8Mul, kArmI16x8Mul) \ 2477 V(I16x8Mul, kArmI16x8Mul) \
2478 V(I16x8MinS, kArmI16x8MinS) \ 2478 V(I16x8MinS, kArmI16x8MinS) \
2479 V(I16x8MaxS, kArmI16x8MaxS) \ 2479 V(I16x8MaxS, kArmI16x8MaxS) \
2480 V(I16x8Eq, kArmI16x8Eq) \ 2480 V(I16x8Eq, kArmI16x8Eq) \
2481 V(I16x8Ne, kArmI16x8Ne) \ 2481 V(I16x8Ne, kArmI16x8Ne) \
2482 V(I16x8LtS, kArmI16x8LtS) \ 2482 V(I16x8GtS, kArmI16x8GtS) \
2483 V(I16x8LeS, kArmI16x8LeS) \ 2483 V(I16x8GeS, kArmI16x8GeS) \
2484 V(I16x8UConvertI32x4, kArmI16x8UConvertI32x4) \ 2484 V(I16x8UConvertI32x4, kArmI16x8UConvertI32x4) \
2485 V(I16x8AddSaturateU, kArmI16x8AddSaturateU) \ 2485 V(I16x8AddSaturateU, kArmI16x8AddSaturateU) \
2486 V(I16x8SubSaturateU, kArmI16x8SubSaturateU) \ 2486 V(I16x8SubSaturateU, kArmI16x8SubSaturateU) \
2487 V(I16x8MinU, kArmI16x8MinU) \ 2487 V(I16x8MinU, kArmI16x8MinU) \
2488 V(I16x8MaxU, kArmI16x8MaxU) \ 2488 V(I16x8MaxU, kArmI16x8MaxU) \
2489 V(I16x8LtU, kArmI16x8LtU) \ 2489 V(I16x8GtU, kArmI16x8GtU) \
2490 V(I16x8LeU, kArmI16x8LeU) \ 2490 V(I16x8GeU, kArmI16x8GeU) \
2491 V(I8x16SConvertI16x8, kArmI8x16SConvertI16x8) \ 2491 V(I8x16SConvertI16x8, kArmI8x16SConvertI16x8) \
2492 V(I8x16Add, kArmI8x16Add) \ 2492 V(I8x16Add, kArmI8x16Add) \
2493 V(I8x16AddSaturateS, kArmI8x16AddSaturateS) \ 2493 V(I8x16AddSaturateS, kArmI8x16AddSaturateS) \
2494 V(I8x16Sub, kArmI8x16Sub) \ 2494 V(I8x16Sub, kArmI8x16Sub) \
2495 V(I8x16SubSaturateS, kArmI8x16SubSaturateS) \ 2495 V(I8x16SubSaturateS, kArmI8x16SubSaturateS) \
2496 V(I8x16Mul, kArmI8x16Mul) \ 2496 V(I8x16Mul, kArmI8x16Mul) \
2497 V(I8x16MinS, kArmI8x16MinS) \ 2497 V(I8x16MinS, kArmI8x16MinS) \
2498 V(I8x16MaxS, kArmI8x16MaxS) \ 2498 V(I8x16MaxS, kArmI8x16MaxS) \
2499 V(I8x16Eq, kArmI8x16Eq) \ 2499 V(I8x16Eq, kArmI8x16Eq) \
2500 V(I8x16Ne, kArmI8x16Ne) \ 2500 V(I8x16Ne, kArmI8x16Ne) \
2501 V(I8x16LtS, kArmI8x16LtS) \ 2501 V(I8x16GtS, kArmI8x16GtS) \
2502 V(I8x16LeS, kArmI8x16LeS) \ 2502 V(I8x16GeS, kArmI8x16GeS) \
2503 V(I8x16UConvertI16x8, kArmI8x16UConvertI16x8) \ 2503 V(I8x16UConvertI16x8, kArmI8x16UConvertI16x8) \
2504 V(I8x16AddSaturateU, kArmI8x16AddSaturateU) \ 2504 V(I8x16AddSaturateU, kArmI8x16AddSaturateU) \
2505 V(I8x16SubSaturateU, kArmI8x16SubSaturateU) \ 2505 V(I8x16SubSaturateU, kArmI8x16SubSaturateU) \
2506 V(I8x16MinU, kArmI8x16MinU) \ 2506 V(I8x16MinU, kArmI8x16MinU) \
2507 V(I8x16MaxU, kArmI8x16MaxU) \ 2507 V(I8x16MaxU, kArmI8x16MaxU) \
2508 V(I8x16LtU, kArmI8x16LtU) \ 2508 V(I8x16GtU, kArmI8x16GtU) \
2509 V(I8x16LeU, kArmI8x16LeU) \ 2509 V(I8x16GeU, kArmI8x16GeU) \
2510 V(S128And, kArmS128And) \ 2510 V(S128And, kArmS128And) \
2511 V(S128Or, kArmS128Or) \ 2511 V(S128Or, kArmS128Or) \
2512 V(S128Xor, kArmS128Xor) \ 2512 V(S128Xor, kArmS128Xor) \
2513 V(S1x4And, kArmS128And) \ 2513 V(S1x4And, kArmS128And) \
2514 V(S1x4Or, kArmS128Or) \ 2514 V(S1x4Or, kArmS128Or) \
2515 V(S1x4Xor, kArmS128Xor) \ 2515 V(S1x4Xor, kArmS128Xor) \
2516 V(S1x8And, kArmS128And) \ 2516 V(S1x8And, kArmS128And) \
2517 V(S1x8Or, kArmS128Or) \ 2517 V(S1x8Or, kArmS128Or) \
2518 V(S1x8Xor, kArmS128Xor) \ 2518 V(S1x8Xor, kArmS128Xor) \
2519 V(S1x16And, kArmS128And) \ 2519 V(S1x16And, kArmS128And) \
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 Vector<MachineType> req_aligned = Vector<MachineType>::New(2); 2828 Vector<MachineType> req_aligned = Vector<MachineType>::New(2);
2829 req_aligned[0] = MachineType::Float32(); 2829 req_aligned[0] = MachineType::Float32();
2830 req_aligned[1] = MachineType::Float64(); 2830 req_aligned[1] = MachineType::Float64();
2831 return MachineOperatorBuilder::AlignmentRequirements:: 2831 return MachineOperatorBuilder::AlignmentRequirements::
2832 SomeUnalignedAccessUnsupported(req_aligned, req_aligned); 2832 SomeUnalignedAccessUnsupported(req_aligned, req_aligned);
2833 } 2833 }
2834 2834
2835 } // namespace compiler 2835 } // namespace compiler
2836 } // namespace internal 2836 } // namespace internal
2837 } // namespace v8 2837 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-scheduler-arm.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698