RESOLVED FIXED 257842
B3 Select instruction truncates vector operands
https://bugs.webkit.org/show_bug.cgi?id=257842
Summary B3 Select instruction truncates vector operands
David Degazio
Reported 2023-06-07 18:44:19 PDT
rdar://108643371 B3 Select lowers to Air using one of several conditional moves, like MoveConditionally64 or MoveDoubleConditionallyFloat. These in turn generate native conditional move instructions, such as fcsel to select between floating-point registers on ARM. However, we don't implement conditional moves for vectors, so when we compile a WASM select instruction with vector operands, B3 ends up treating them like doubles, which ends up zeroing the upper half of the vector register.
Attachments
David Degazio
Comment 1 2023-06-08 10:51:20 PDT
EWS
Comment 2 2023-06-08 15:32:21 PDT
Committed 264996@main (c4e675b3afdd): <https://commits.webkit.org/264996@main> Reviewed commits have been landed. Closing PR #14778 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.