target/xtensa: implement FPU division and square root
commitf8c613701637ebfbf75570153715af3ac7aeca9d
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 14 Mar 2020 18:13:53 +0000 (14 11:13 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Aug 2020 19:48:15 +0000 (21 12:48 -0700)
tree2daf1e3b5bd4aa9c65a12b58eb98cdc1b575e3ab
parentcfa9f0518144c0ea30f51fd2f203a09dd0a40cd9
target/xtensa: implement FPU division and square root

This does not implement all opcodes related to div/sqrt as specified in
the xtensa ISA, partly because the official specification is not
complete and partly because precise implementation is unnecessarily
complex. Instead instructions specific to the div/sqrt sequences are
implemented differently, most of them as nops, but the results of
div/sqrt sequences is preserved.

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