cfallin opened PR #1527 from aarch64-fp-vcode-test
to master
:
Added a filetest for the vcode output of lowering every handled FP opcode.
Fixed two bugs that were discovered while going through the lowerings:
Saturating FP->int operators would return
u{32,64}::MIN
rather than
0
for a NaN input.
fcopysign
did not mask off the sign bit of the value whose sign is
overwritten.These probably would have been caught by Wasm conformance tests soon
(and the validity of these lowerings will ultimately be tested this way)
but let's get them right by inspection, too!Addresses a few of probably several more correctness issues needed for #1521; followup to our aarch64 merge in #1494.
bnjbvr requested julian-seward1 for a review on PR #1527.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
// FMAX Vtmp2, Vtmp2, Vtmp1
cfallin updated PR #1527 from aarch64-fp-vcode-test
to master
:
Added a filetest for the vcode output of lowering every handled FP opcode.
Fixed two bugs that were discovered while going through the lowerings:
Saturating FP->int operators would return
u{32,64}::MIN
rather than
0
for a NaN input.
fcopysign
did not mask off the sign bit of the value whose sign is
overwritten.These probably would have been caught by Wasm conformance tests soon
(and the validity of these lowerings will ultimately be tested this way)
but let's get them right by inspection, too!Addresses a few of probably several more correctness issues needed for #1521; followup to our aarch64 merge in #1494.
cfallin merged PR #1527.
julian-seward1 submitted PR Review.
Last updated: Nov 22 2024 at 16:03 UTC