]> git.proxmox.com Git - mirror_qemu.git/commit - target/xtensa/cpu.c
target/xtensa: add DFPU registers and opcodes
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 Jul 2020 02:27:02 +0000 (19:27 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Aug 2020 19:48:15 +0000 (12:48 -0700)
commitcfa9f0518144c0ea30f51fd2f203a09dd0a40cd9
tree4a29bea5fe5092cae79d9d90027a4d3fed6c05f9
parentde6b55cbda2a26fb8889c8a8b44c139d7e106dce
target/xtensa: add DFPU registers and opcodes

DFPU may be configured with 32-bit or with 64-bit registers. Xtensa ISA
does not specify how single-precision values are stored in 64-bit
registers. Existing implementations store them in the low half of the
registers.
Add value extraction and write back to single-precision opcodes.
Add new double precision opcodes. Add 64-bit register file.
Add 64-bit values dumping to the xtensa_cpu_dump_state.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/cpu.c
target/xtensa/cpu.h
target/xtensa/fpu_helper.c
target/xtensa/helper.h
target/xtensa/overlay_tool.h
target/xtensa/translate.c