[GHC] #8157: Add a broader set of (C/CMM-based) atomic memory operations

GHC ghc-devs at haskell.org
Thu Aug 22 15:41:41 UTC 2013


#8157: Add a broader set of (C/CMM-based) atomic memory operations
-------------------------------------+------------------------------------
        Reporter:  rrnewton          |            Owner:  rrnewton
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by rrnewton):

 UPDATE:  Before this task is complete we should also convert the following
 C functions to primops:

 {{{
 EXTERN_INLINE void write_barrier(void);
 EXTERN_INLINE void store_load_barrier(void);
 EXTERN_INLINE void load_load_barrier(void);
 }}}

 Otherwise Carter does not have a path to replace these with their LLVM
 alternatives (and thus get rid of the C calls).

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




More information about the ghc-tickets mailing list