]> git.ipfire.org Git - thirdparty/qemu.git/commit
Hexagon (target/hexagon) put writes to USR into temp until commit
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 5 Oct 2021 00:12:31 +0000 (19:12 -0500)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 29 Oct 2021 03:22:49 +0000 (22:22 -0500)
commitb9dd6ff91d29b9e38afd7facf1d683f34bd1ec10
tree3545ca5315862dad7b2d90b681cc3f016bc71f1f
parentf448397a512189e726f5e8026c89ce7fc4392377
Hexagon (target/hexagon) put writes to USR into temp until commit

Change SET_USR_FIELD to write to hex_new_value[HEX_REG_USR] instead
of hex_gpr[HEX_REG_USR].

Then, we need code to mark the instructions that can set implicitly
set USR
- Macros added to hex_common.py
- A_FPOP added in translate.c

Test case added in tests/tcg/hexagon/overflow.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
target/hexagon/attribs_def.h.inc
target/hexagon/hex_common.py
target/hexagon/macros.h
target/hexagon/translate.c
tests/tcg/hexagon/Makefile.target
tests/tcg/hexagon/overflow.c [new file with mode: 0644]