Bug 249038
| Summary: | [WebAssembly SIMD] Emulate vector floating-point absolute value on Intel | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | WebAssembly | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 246345 | ||
David Degazio
Intel doesn't have an instruction for SIMD floating-point absolute value, so the WASM f32x4.abs and f64x2.abs opcodes are currently unsupported. We can emulate this feature by generating a vector bitmask and using it to clear the sign bits for all elements in a vector.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
rdar://103189245
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/7402
EWS
Committed 257806@main (e2d9691a6968): <https://commits.webkit.org/257806@main>
Reviewed commits have been landed. Closing PR #7402 and removing active labels.