[GHC] #7883: enable GHC LLVM backend to use LLVM provided CAS / Atomicity primitives?

GHC ghc-devs at haskell.org
Sat Jul 20 08:39:54 CEST 2013


#7883: enable GHC LLVM backend to use LLVM provided CAS / Atomicity primitives?
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:  carter
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      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):

 Sorry, I was just referring to the proposal to "substitute the cas funcall
 with the right llvm operation" as rewriting.

 That is, the approach would pattern match for the CMM code "ccall cas" or
 "foreign "C" cas" (I'm afraid I don't know the difference between those)
 and replace it with the equivalent LLVM op, right?

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




More information about the ghc-tickets mailing list