[Haskell-cafe] GHC-7.01 and intrinsic operations

Pavel Perikov perikov at gmail.com
Mon Dec 13 16:38:51 CET 2010


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
 


More information about the Haskell-Cafe mailing list