|
[GHC] #697: Bad assembler generated: msg#00047lang.haskell.glasgow.bugs
#697: Bad assembler generated -------------------------------+-------------------------------------------- Reporter: taral | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (NCG) | Version: 6.4.1 Severity: normal | Keywords: Os: Linux | Difficulty: Unknown Architecture: x86_64 (amd64) | -------------------------------+-------------------------------------------- Compiling SHA1.hs from darcs with -fasm on x86_64 results in a bunch of bad "addq" instructions. I suspect they come from the fact that Int (and thus ImmInt) is 64-bit, while the addq immediate is 32-bit. While you're at it, maybe you can look into those "movl %esi, %esi" instructions too. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/697> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #696: segmentation fault in ./genprimopcode (x86_64), GHC |
|---|---|
| Next by Date: | [GHC] #698: allocaBytes does not actually free the memory after the computation, GHC |
| Previous by Thread: | [GHC] #696: segmentation fault in ./genprimopcode (x86_64), GHC |
| Next by Thread: | Re: [GHC] #697: Bad assembler generated, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |