Taylor Simpson 1a442c0931 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>
2023-03-06 20:47:12 -08:00
..
2023-03-05 13:45:31 -08:00
2023-03-05 13:44:08 -08:00
2023-03-05 13:44:08 -08:00
2023-03-05 13:46:13 -08:00
2023-03-05 13:44:08 -08:00
2023-03-05 13:46:26 -08:00
2023-03-05 13:44:08 -08:00
2023-03-05 13:47:25 -08:00