]> git.ipfire.org Git - thirdparty/qemu.git/commit
Hexagon HVX (target/hexagon) fix bug in HVX saturate instructions
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 10 Feb 2022 02:15:46 +0000 (18:15 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Sat, 12 Mar 2022 17:14:22 +0000 (09:14 -0800)
commit5b0043c67ccd7b88e0858204e79b09448adf4b34
tree8f6b45457687ddd50123a91cc482b69bed634e6c
parent58ff2981667262f77d57219fc9cef2a43a740159
Hexagon HVX (target/hexagon) fix bug in HVX saturate instructions

Two tests added to tests/tcg/hexagon/hvx_misc.c
    v21.uw = vadd(v11.uw, v10.uw):sat
    v25:24.uw = vsub(v17:16.uw, v27:26.uw):sat

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20220210021556.9217-3-tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/macros.h
tests/tcg/hexagon/hvx_misc.c