diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1923629')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1923629 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1923629 b/results/scraper/launchpad-without-comments/1923629 new file mode 100644 index 00000000..b3dd0a6c --- /dev/null +++ b/results/scraper/launchpad-without-comments/1923629 @@ -0,0 +1,13 @@ +RISC-V Vector Instruction vssub.vv not saturating + +I noticed doing a negate ( 0 – 0x80000000 ) using vssub.vv produces an incorrect result of 0x80000000 (should saturate to 0x7FFFFFFF). + +Here is the bit of the code: + + vmv.v.i v16, 0 + … +8f040457 vssub.vv v8,v16,v8 + +I believe the instruction encoding is correct (vssub.vv with vd = v8, vs2 = v16, rs1 = v8), but the result does not saturate in QEMU. + +I’ve just tested with what I think is the latest branch ( https://github.com/sifive/qemu/tree/rvv-1.0-upstream-v7 commit 26 Feb 2021: 1151361fa7d45cc90d69086ccf1a4d8397931811 ) and the problem still exists. \ No newline at end of file |