[GHC] #12469: Memory fence on writeIORef missing on ARM
GHC
ghc-devs at haskell.org
Wed Aug 31 09:53:12 UTC 2016
#12469: Memory fence on writeIORef missing on ARM
-------------------------------------+-------------------------------------
Reporter: rrnewton | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: memory model
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2495
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonmar):
`MO_WriteBarrier` compiles to no code on x86, but it prevents writes from
being reordered by earlier optimisations, which is exactly what we want.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12469#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list