[llvm-commits] Please review: FMA3 instructions set

Anton Korobeynikov anton at korobeynikov.info
Tue May 22 09:53:24 PDT 2012


> Do I understand correctly that this patch lowers fadd + fmul to fma by default?  We want it to be easy for LLVM to generate fma when it is beneficial to performance, but we can't simply naively lower to it everywhere and still conform to language semantics.  Someone else can speak to what policy should be here, but at the very least we will need to have an option to block fma formation.
One can check how fma is implemented on ARM. In general - stuff should
be guarded by NoExcessPrecision flag or something like this

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list