-msse should be forwarded to the C compiler
|Reported by:||tibbe||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
Description (last modified by tibbe)
The -msse<version> flag can be used to have the native and LLVM backends emit SSE instructions. Since a Haskell project might contain C code in addition to Haskell code and since that code usually goes through ghc (which calls gcc) it would be nice if ghc forwarded the -msse flag when it invokes the C compiler, so the latter can use SSE instructions as well.
While this is possible today by using -optc it would be nice if the user doesn't have to remember to pass this flag in addition to -msse.