
#7922: adding direct *.c -> object code (*.o/so/dylib) support to compilation driver ---------------------------------+------------------------------------------ Reporter: carter | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: #7904 | ---------------------------------+------------------------------------------ Comment(by carter): NOPE. '''gcc''' is not calling '''as''', GHC is. gcc 4.8 can assemble the simd avx code just fine on my mac, so unless we're telling gcc to use as, its ghc. {{{ carter code/test » cd cbits carter test/cbits » gcc daft.c -S -c carter test/cbits » gcc daft.s -c carter test/cbits » ls daft.c daft.o daft.s }}} I then disassembled the object file generated by the compiling of the assembly, and it had the avx instructions -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7922#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler