
13 Dec
2010
13 Dec
'10
10:38 a.m.
Is it possible to make GHC-7.0.1 to generate intrinsic instructions instead of calls to C library to compute trigonometric functions?
main = do a <- readLn print $ sin a
I tried -O -msse2 -fllvm and their combinations. Generating assembly always contains calls for computation of sin Pavel