Skip to content

Commit 3a37579

Browse files
Milad FaCommit Bot
Milad Fa
authored and
Commit Bot
committed
PPC/s390: [wasm-simd] Implement floating-point roundings
Port 068cf20 Original Commit Message: Implement f32x4 and f64x2 nearest, trunc, ceil, and floor. These instructions were accepted into the proposal [0], this change removes all the ifdefs and todo guarding the prototypes, and moves these instructions out of the post-mvp flag. [0] WebAssembly/simd#232 [email protected], [email protected], [email protected], [email protected] BUG= LOG=N Change-Id: I02086255f635f1d47586fc74dd754426f6beccb0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2411675 Reviewed-by: Milad Farazmand <[email protected]> Reviewed-by: Junliang Yan <[email protected]> Commit-Queue: Milad Farazmand <[email protected]> Cr-Commit-Position: refs/heads/master@{#69925}
1 parent 11498f2 commit 3a37579

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,6 +2411,22 @@ void InstructionSelector::VisitI16x8BitMask(Node* node) { UNIMPLEMENTED(); }
24112411

24122412
void InstructionSelector::VisitI32x4BitMask(Node* node) { UNIMPLEMENTED(); }
24132413

2414+
void InstructionSelector::VisitF64x2Ceil(Node* node) { UNIMPLEMENTED(); }
2415+
2416+
void InstructionSelector::VisitF64x2Floor(Node* node) { UNIMPLEMENTED(); }
2417+
2418+
void InstructionSelector::VisitF64x2Trunc(Node* node) { UNIMPLEMENTED(); }
2419+
2420+
void InstructionSelector::VisitF64x2NearestInt(Node* node) { UNIMPLEMENTED(); }
2421+
2422+
void InstructionSelector::VisitF32x4Ceil(Node* node) { UNIMPLEMENTED(); }
2423+
2424+
void InstructionSelector::VisitF32x4Floor(Node* node) { UNIMPLEMENTED(); }
2425+
2426+
void InstructionSelector::VisitF32x4Trunc(Node* node) { UNIMPLEMENTED(); }
2427+
2428+
void InstructionSelector::VisitF32x4NearestInt(Node* node) { UNIMPLEMENTED(); }
2429+
24142430
void InstructionSelector::EmitPrepareResults(
24152431
ZoneVector<PushParameter>* results, const CallDescriptor* call_descriptor,
24162432
Node* node) {

0 commit comments

Comments
 (0)