On 9/13/19 9:49 AM, Alex Bennée wrote: > + /* must be built with -O2 to generate fused op */ > + r = a * b + c;
I would prefer to use fmaf() or __builtin_fmaf() here. Although you'll need to link with -lm just in case the target doesn't support an instruction for fmaf and so the builtin expands to the standard library call. I also like Paul's suggestion to use hex float constants. r~