[Haskell-cafe] Detecting extensions of the host processor

Henning Thielemann schlepptop at henning-thielemann.de
Wed Mar 10 07:05:55 EST 2010

I like to detect at runtime whether the processor my program runs on has 
certain extensions (SSE2, SSE3 or so) in order to execute optimized 
code. On Linux I can process the contents of /proc/cpuinfo but this will 
not work on Windows. Is there a portable way in Haskell?

More information about the Haskell-Cafe mailing list