]> git.proxmox.com Git - mirror_qemu.git/commit
target/mips: Fix ADD.S FPU instruction
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Fri, 3 Jul 2020 16:15:15 +0000 (17:15 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 14 Jul 2020 19:49:33 +0000 (21:49 +0200)
commitdda97e385b2f0fa84267a497596fe79898d48123
treef7677e1504319c4f75a9da2f2f640b932d03213f
parent9788e8c9b64e4cebb01c96bab2b0e4c2d4454041
target/mips: Fix ADD.S FPU instruction

After merging latest QEMU upstream into our CHERI fork,
I noticed that some of the FPU tests in our MIPS baremetal
testsuite [*] started failing.
It turns out commit 1ace099f2a accidentally changed add.s
into a subtract.

[*] https://github.com/CTSRD-CHERI/cheritest

Fixes: 1ace099f2a ("target/mips: fpu: Demacro ADD.<D|S|PS>")
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200703161515.25966-1-Alexander.Richardson@cl.cam.ac.uk>
Signed-off-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/mips/fpu_helper.c