]> xenbits.xensource.com Git - qemu-xen.git/commit
Hexagon (target/hexagon) make VyV operands use a unique temp
authorTaylor Simpson <tsimpson@quicinc.com>
Mon, 18 Jul 2022 23:03:18 +0000 (16:03 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Sun, 31 Jul 2022 23:22:09 +0000 (16:22 -0700)
commit1e814a0dc4b255a58f2cdab54aee50b25af2a006
tree255d9c271f509e259632f6375d3b10f36c1c500b
parent3916603e0c1d909e14e09d5ebcbdaa9c9e21adf3
Hexagon (target/hexagon) make VyV operands use a unique temp

VyV operand is only used in the vshuff and vdeal instructions.  These
instructions write to both VyV and VxV operands.  In the case where
both operands are the same register, we need a separate location for
VyV.  We use the existing vtmp field in CPUHexagonState.

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

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220718230320.24444-2-tsimpson@quicinc.com>
target/hexagon/gen_tcg_funcs.py
tests/tcg/hexagon/hvx_misc.c