[GHC] #7922: adding direct *.c -> object code (*.o/so/dylib) support to compilation driver

GHC cvs-ghc at haskell.org
Wed May 22 00:32:23 CEST 2013


#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):

 huh, you're right.


 {{{
 carter test/cbits » gcc -m64 -fno-stack-protector -m64 -x c daft.c -fno-
 common -Wimplicit -S -march=native -O2
 127 ↵
 carter test/cbits » gcc -m64 -fno-stack-protector -m64 -march=native -c
 daft.s
 daft.s:6:no such instruction: `vmovupd (%rdi), %xmm0'
 daft.s:7:no such instruction: `vaddpd %xmm0, %xmm0,%xmm0'
 daft.s:8:no such instruction: `vmovupd %xmm0, (%rsi)'

 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7922#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list