Bug 249038

Summary: [WebAssembly SIMD] Emulate vector floating-point absolute value on Intel
Product: WebKit Reporter: David Degazio <d_degazio>
Component: WebAssemblyAssignee: 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
Reported 2022-12-09 11:55:12 PST
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
David Degazio
Comment 1 2022-12-09 11:56:52 PST
David Degazio
Comment 2 2022-12-09 12:40:46 PST
EWS
Comment 3 2022-12-13 11:48:24 PST
Committed 257806@main (e2d9691a6968): <https://commits.webkit.org/257806@main> Reviewed commits have been landed. Closing PR #7402 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.