afonso360 labeled issue #5528:
:wave: Hey,
.clif
Test Casetest interpret test run target riscv64 function %a(f32) -> i16 system_v { block0(v0: f32): v1 = fcvt_to_sint_sat.i16 v0 return v1 } ; run: %a(-0x1.000006p125) == -32768
Steps to Reproduce
cargo run --target riscv64gc-unknown-linux-gnu -- test ./the-above.clif
Expected Results
The test to pass.
Actual Results
ERROR cranelift_filetests::concurrent > FAIL: run FAIL ./lmao.clif: run Caused by: Failed test: run: %a(-0x1.000006p125) == -32768, actual: 0 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64Extra Info
Disassembly:
0: 53 25 a5 a0 feq.s a0, fa0, fa0 4: 63 06 05 00 beqz a0, 0xc 8: 53 15 25 c0 fcvt.l.s a0, fa0, rtz c: 6f 00 80 00 j 8 10: 13 05 00 00 mv a0, zero 14: 67 80 00 00 ret
afonso360 opened issue #5528:
:wave: Hey,
.clif
Test Casetest interpret test run target riscv64 function %a(f32) -> i16 system_v { block0(v0: f32): v1 = fcvt_to_sint_sat.i16 v0 return v1 } ; run: %a(-0x1.000006p125) == -32768
Steps to Reproduce
cargo run --target riscv64gc-unknown-linux-gnu -- test ./the-above.clif
Expected Results
The test to pass.
Actual Results
ERROR cranelift_filetests::concurrent > FAIL: run FAIL ./lmao.clif: run Caused by: Failed test: run: %a(-0x1.000006p125) == -32768, actual: 0 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64Extra Info
Disassembly:
0: 53 25 a5 a0 feq.s a0, fa0, fa0 4: 63 06 05 00 beqz a0, 0xc 8: 53 15 25 c0 fcvt.l.s a0, fa0, rtz c: 6f 00 80 00 j 8 10: 13 05 00 00 mv a0, zero 14: 67 80 00 00 ret
afonso360 labeled issue #5528:
:wave: Hey,
.clif
Test Casetest interpret test run target riscv64 function %a(f32) -> i16 system_v { block0(v0: f32): v1 = fcvt_to_sint_sat.i16 v0 return v1 } ; run: %a(-0x1.000006p125) == -32768
Steps to Reproduce
cargo run --target riscv64gc-unknown-linux-gnu -- test ./the-above.clif
Expected Results
The test to pass.
Actual Results
ERROR cranelift_filetests::concurrent > FAIL: run FAIL ./lmao.clif: run Caused by: Failed test: run: %a(-0x1.000006p125) == -32768, actual: 0 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64Extra Info
Disassembly:
0: 53 25 a5 a0 feq.s a0, fa0, fa0 4: 63 06 05 00 beqz a0, 0xc 8: 53 15 25 c0 fcvt.l.s a0, fa0, rtz c: 6f 00 80 00 j 8 10: 13 05 00 00 mv a0, zero 14: 67 80 00 00 ret
fitzgen commented on issue #5528:
cc @yuyang-ok
elliottt labeled issue #5528:
:wave: Hey,
.clif
Test Casetest interpret test run target riscv64 function %a(f32) -> i16 system_v { block0(v0: f32): v1 = fcvt_to_sint_sat.i16 v0 return v1 } ; run: %a(-0x1.000006p125) == -32768
Steps to Reproduce
cargo run --target riscv64gc-unknown-linux-gnu -- test ./the-above.clif
Expected Results
The test to pass.
Actual Results
ERROR cranelift_filetests::concurrent > FAIL: run FAIL ./lmao.clif: run Caused by: Failed test: run: %a(-0x1.000006p125) == -32768, actual: 0 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64Extra Info
Disassembly:
0: 53 25 a5 a0 feq.s a0, fa0, fa0 4: 63 06 05 00 beqz a0, 0xc 8: 53 15 25 c0 fcvt.l.s a0, fa0, rtz c: 6f 00 80 00 j 8 10: 13 05 00 00 mv a0, zero 14: 67 80 00 00 ret
yuyang-ok commented on issue #5528:
@fitzgen I am on this.
yuyang-ok commented on issue #5528:
@fitzgen I think this is fixed.
fitzgen commented on issue #5528:
Great! Thanks @yuyang-ok!
fitzgen closed issue #5528:
:wave: Hey,
.clif
Test Casetest interpret test run target riscv64 function %a(f32) -> i16 system_v { block0(v0: f32): v1 = fcvt_to_sint_sat.i16 v0 return v1 } ; run: %a(-0x1.000006p125) == -32768
Steps to Reproduce
cargo run --target riscv64gc-unknown-linux-gnu -- test ./the-above.clif
Expected Results
The test to pass.
Actual Results
ERROR cranelift_filetests::concurrent > FAIL: run FAIL ./lmao.clif: run Caused by: Failed test: run: %a(-0x1.000006p125) == -32768, actual: 0 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64Extra Info
Disassembly:
0: 53 25 a5 a0 feq.s a0, fa0, fa0 4: 63 06 05 00 beqz a0, 0xc 8: 53 15 25 c0 fcvt.l.s a0, fa0, rtz c: 6f 00 80 00 j 8 10: 13 05 00 00 mv a0, zero 14: 67 80 00 00 ret
Last updated: Dec 23 2024 at 12:05 UTC