Skip to content

Commit

Permalink
PPC/s390: [wasm-simd] Implement floating-point roundings
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
Milad Fa authored and Commit Bot committed Sep 15, 2020
1 parent 11498f2 commit 3a37579
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/compiler/backend/ppc/instruction-selector-ppc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2411,6 +2411,22 @@ void InstructionSelector::VisitI16x8BitMask(Node* node) { UNIMPLEMENTED(); }

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

void InstructionSelector::VisitF64x2Ceil(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF64x2Floor(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF64x2Trunc(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF64x2NearestInt(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF32x4Ceil(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF32x4Floor(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF32x4Trunc(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::VisitF32x4NearestInt(Node* node) { UNIMPLEMENTED(); }

void InstructionSelector::EmitPrepareResults(
ZoneVector<PushParameter>* results, const CallDescriptor* call_descriptor,
Node* node) {
Expand Down

0 comments on commit 3a37579

Please sign in to comment.