Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Implement floating-point rounding in interpreter #344

Merged
merged 3 commits into from
Sep 17, 2020

Conversation

ngzhian
Copy link
Member

@ngzhian ngzhian commented Sep 16, 2020

Implement f32x4 and f64x2 ceil, floor, trunc, nearest. They have the
same behavior as the f32 and f64 instructions.

Also implemented to encoding and decoding.

Created new tests and test generation scripts for these new instructions.

Implement f32x4 and f64x2 ceil, floor, trunc, nearest. They have the
same behavior as the f32 and f64 instructions.

Also implemented to encoding and decoding.

These new instructions were added to simd_f32x4.wast test case, and the
test generation script is updated with these new instructions.
@ngzhian ngzhian merged commit da4f63b into WebAssembly:master Sep 17, 2020
@ngzhian ngzhian deleted the fp-round branch September 17, 2020 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants