[Git][ghc/ghc][wip/backports-9.0] squash Small changes to

Ben Gamari gitlab at gitlab.haskell.org
Mon Nov 30 02:45:11 UTC 2020



Ben Gamari pushed to branch wip/backports-9.0 at Glasgow Haskell Compiler / GHC


Commits:
65ea34e9 by Ben Gamari at 2020-11-29T21:44:53-05:00
squash Small changes to

- - - - -


1 changed file:

- compiler/GHC/StgToCmm/Prim.hs


Changes:

=====================================
compiler/GHC/StgToCmm/Prim.hs
=====================================
@@ -848,10 +848,6 @@ emitPrimOp dflags primop = case primop of
     emitPrimCall [res] (MO_Xchg (wordWidth platform)) [src, value]
   InterlockedExchange_Word -> \[src, value] -> opIntoRegs $ \[res] ->
     emitPrimCall [res] (MO_Xchg (wordWidth platform)) [src, value]
-  AtomicCompareExchange_Int -> \[dst, expected, new] -> opIntoRegs $ \[res] ->
-    emitPrimCall [res] (MO_Cmpxchg (wordWidth platform)) [dst, expected, new]
-  AtomicCompareExchange_Addr -> \[dst, expected, new] -> opIntoRegs $ \[res] ->
-    emitPrimCall [res] (MO_Cmpxchg (wordWidth platform)) [dst, expected, new]
 
   CasAddrOp_Addr -> \[dst, expected, new] -> opIntoRegs $ \[res] ->
     emitPrimCall [res] (MO_Cmpxchg (wordWidth platform)) [dst, expected, new]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/65ea34e932a8b42c94228bebc636730aeac1b32e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201129/86952765/attachment-0001.html>


More information about the ghc-commits mailing list