• dterei's avatar
    LLVM: Use intrinsic functions for pow, sqrt, sin, cos · f9d7e1f0
    dterei authored
    Instead of calling the C library for these Cmm functions
    we use intrinsic functions provided by llvm. LLVM will
    then either create a compile time constant if possible, or
    use a cpu instruction or as a last resort call the C
    library.
    f9d7e1f0
CodeGen.hs 35.7 KB