target/hexagon: Use float32_muladd_scalbn for helper_sffma_sc
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 8 Dec 2024 20:14:36 +0000 (14:14 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Dec 2024 16:32:15 +0000 (08:32 -0800)
commit904624ab8e1f41dd97bb6e2e524605f4c61bc795
treeabc48a5b6021ac218224c6ba787e3d3d8cdfa9e8
parent2eca1928f9afb7cbc8e72a59dffb964c8319469a
target/hexagon: Use float32_muladd_scalbn for helper_sffma_sc

This instruction has a special case that 0 * x + c returns c
without the normal sign folding that comes with 0 + -0.
Use the new float_muladd_suppress_add_product_zero to
describe this.

Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/op_helper.c