Bug 253286

Summary: Fix F32/F64Copysign on Intel in single-pass BBQ JIT
Product: WebKit Reporter: David Degazio <d_degazio>
Component: WebAssemblyAssignee: David Degazio <d_degazio>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 252209    

Description David Degazio 2023-03-02 17:47:31 PST
rdar://106173548

The implementations for F32 and F64 copying on Intel move a mask into the result register, then AND it with the left operand register. If the result and left operand registers are the same, then this clobbers the left operand with the immediate, producing an incorrect answer.
Comment 1 David Degazio 2023-03-02 18:17:09 PST
Pull request: https://github.com/WebKit/WebKit/pull/10980
Comment 2 EWS 2023-03-02 19:56:40 PST
Committed 261116@main (0cb9c0e04c8f): <https://commits.webkit.org/261116@main>

Reviewed commits have been landed. Closing PR #10980 and removing active labels.