Skip to content

Commit 494a380

Browse files
Milad FaCommit Bot
authored andcommitted
PPC/s390: [wasm-simd] Move i64x2.widen_i32x4_{s,u} to mvp and remove ifdefs
Port ec8fbed Original Commit Message: These instructions were accepted into the proposal: WebAssembly/simd#290 [email protected], [email protected], [email protected], [email protected] BUG= LOG=N Change-Id: I69bbe90ab3af30d7748332a7e99b7812c95f96b4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2644939 Reviewed-by: Junliang Yan <[email protected]> Reviewed-by: Milad Fa <[email protected]> Commit-Queue: Milad Fa <[email protected]> Cr-Commit-Position: refs/heads/master@{#72257}
1 parent adda4c5 commit 494a380

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/compiler/backend/ppc/instruction-selector-ppc.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,6 +2259,10 @@ void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) {
22592259
V(F32x4Trunc) \
22602260
V(F32x4NearestInt) \
22612261
V(I64x2Neg) \
2262+
V(I64x2SConvertI32x4Low) \
2263+
V(I64x2SConvertI32x4High) \
2264+
V(I64x2UConvertI32x4Low) \
2265+
V(I64x2UConvertI32x4High) \
22622266
V(I32x4Neg) \
22632267
V(I32x4Abs) \
22642268
V(I32x4SConvertF32x4) \

src/compiler/backend/s390/instruction-selector-s390.cc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,14 +2515,18 @@ void InstructionSelector::VisitWord64AtomicStore(Node* node) {
25152515
V(F32x4Trunc) \
25162516
V(F32x4NearestInt) \
25172517
V(I64x2Neg) \
2518-
V(I16x8Abs) \
2518+
V(I64x2SConvertI32x4Low) \
2519+
V(I64x2SConvertI32x4High) \
2520+
V(I64x2UConvertI32x4Low) \
2521+
V(I64x2UConvertI32x4High) \
25192522
V(I32x4Neg) \
2523+
V(I32x4Abs) \
25202524
V(I32x4SConvertI16x8Low) \
25212525
V(I32x4SConvertI16x8High) \
25222526
V(I32x4UConvertI16x8Low) \
25232527
V(I32x4UConvertI16x8High) \
2524-
V(I32x4Abs) \
25252528
V(I16x8Neg) \
2529+
V(I16x8Abs) \
25262530
V(I16x8SConvertI8x16Low) \
25272531
V(I16x8SConvertI8x16High) \
25282532
V(I16x8UConvertI8x16Low) \

0 commit comments

Comments
 (0)