[work on blas] fp-contract

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Dec 31 05:22:51 PST 2015


On Thursday, 31 December 2015 at 13:07:47 UTC, Johan Engelen 
wrote:
>  This should be relatively simple to implement.

I take that back. It is simple to implement the pragma itself, 
but actually fusing ops (in the frontend) will be some more work 
/ requires deeper knowledge of LDC.
For a future implementer: you may want to have a look at clang's 
"tryEmitFMulAdd()" in lib/CodeGen/CGExprScalar.cpp.



More information about the digitalmars-d-ldc mailing list