aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test-char.c
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2023-03-06 18:58:25 -0800
committerTaylor Simpson <tsimpson@quicinc.com>2023-03-06 20:47:12 -0800
commit1a442c09310de23d7cab4c5efedba607c2672d44 (patch)
tree8f1af14ee17dc6dd500528d978844752ee494b34 /tests/unit/test-char.c
parent1c629814f708e58aac6fa6da0d3725df5c831c4c (diff)
Hexagon (target/hexagon) Change subtract from zero to change sign
The F2_sffms instruction [r0 -= sfmpy(r1, r2)] doesn't properly handle -0. Previously we would negate the input operand by subtracting from zero. Instead, we negate by changing the sign bit. Test case added to tests/tcg/hexagon/fpstuff.c Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20230307025828.1612809-12-tsimpson@quicinc.com>
Diffstat (limited to 'tests/unit/test-char.c')
0 files changed, 0 insertions, 0 deletions