[GHC] #10394: LLVM mangler doesn't mangle AVX instructions
GHC
ghc-devs at haskell.org
Fri May 8 03:13:03 UTC 2015
#10394: LLVM mangler doesn't mangle AVX instructions
-------------------------------------+-------------------------------------
Reporter: dobenour | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.11
(LLVM) | Operating System: Unknown/Multiple
Keywords: | Type of failure: Runtime crash
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
The LLVM mangler does not currently transform AVX instructions on x86-64
platforms, due to a missing #include. Also, it is significantly more
complicated than necessary, due to the file into sections (not needed
anymore), and is sensitive to the details of the whitespace in the
assembly.
I have attached a modified mangler that I believe to be simpler and more
robust. I have not tested it, though, as I do not have a recent enough
version of LLVM on my machine.
I am marking this as `Runtime crash' because that is what would happen if
the unchanged AVX instructions made their way into the executable.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10394>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list