On 9/18/19 4:33 AM, Alex Bennée wrote: >>> Ahh I was going to hardcode the arm madd instruction in as the builtin >>> wasn't expanding. I tried setting -march in the CFLAGS but that didn't >>> trigger it either on my buster arm-hf compiler. Any ideas how to get the >>> compiler to do the right thing? >> >> I think you want -mfpu=neon-vfpv4. > > Ahh that worked. I would have hoped that v8 would be enough to spit out > aarch32 code which has to have VFPv4 for A profile right?
I would have thought so. I'm not sure why -march=armv8-a wouldn't work. r~