]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: fix FPU2000 bugs
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 31 Aug 2018 07:40:28 +0000 (00:40 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Mar 2019 20:46:17 +0000 (15:46 -0500)
commit32a51d0704e2f171c95f994917604d6d4e5496e4
treeced25eb123b4969d2c984bab4d98f692b7c4bd66
parenta40e71884d184ca9f824b7ea7f48a37b4ddfe6b5
target/xtensa: fix FPU2000 bugs

- FPU2000 defines rfr and wfr opcodes, not rfr.s and wfr.s;
- movcond.s uses incorrect operand in tcg_gen_movcond: in case the
  condition is not satisfied it must not change its argument 0.

Fixes: c04e1692e3aa ("target/xtensa: extract FPU2000 opcode
translators")
Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
(cherry picked from commit e8e05fd472cbe77650353eaa50d5a9703a91c1db)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/xtensa/translate.c