#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
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets