#7025: -msse should be forwarded to the C compiler
------------------------------+---------------------------------------------
Reporter: tibbe | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Description changed by tibbe:
Old description:
> 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`.
New description:
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`.
--
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7025#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs