OSDN Git Service

Hexagon (target/hexagon) fix bug in circular addressing
authorMichael Lambert <mlambert@quicinc.com>
Thu, 10 Feb 2022 02:15:45 +0000 (18:15 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Sat, 12 Mar 2022 17:14:22 +0000 (09:14 -0800)
commit58ff2981667262f77d57219fc9cef2a43a740159
treefbe8008234bcedcfe8405d9b57137a12d8ae9e7a
parent1416688c53be6535be755b44c15fb2eb9defd20f
Hexagon (target/hexagon) fix bug in circular addressing

Versions V3 and earlier should treat the "K_const" and "length" values
as unsigned.

Modified circ_test_v3() in tests/tcg/hexagon/circ.c to reproduce the bug

Signed-off-by: Michael Lambert <mlambert@quicinc.com>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20220210021556.9217-2-tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/op_helper.c
tests/tcg/hexagon/circ.c