]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: fix FPU2000 bugs
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 31 Aug 2018 07:40:28 +0000 (00:40 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Sep 2018 18:09:04 +0000 (11:09 -0700)
commite8e05fd472cbe77650353eaa50d5a9703a91c1db
tree7743f1a6ab0600b9d1c7ea97c1789f53dcc585f9
parent3ee01413be6cd99a6014f49f06de709597fedf25
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>
target/xtensa/translate.c