[Git][ghc/ghc][wip/memory-barriers] FIx lowering of MO_ReadBarrier in PprC

Ben Gamari gitlab at gitlab.haskell.org
Tue Jun 11 03:34:25 UTC 2019



Ben Gamari pushed to branch wip/memory-barriers at Glasgow Haskell Compiler / GHC


Commits:
be692a36 by Ben Gamari at 2019-06-11T03:33:47Z
FIx lowering of MO_ReadBarrier in PprC

This operation is known as load_load_barrier in the RTS.

- - - - -


1 changed file:

- compiler/cmm/PprC.hs


Changes:

=====================================
compiler/cmm/PprC.hs
=====================================
@@ -812,7 +812,7 @@ pprCallishMachOp_for_C mop
         MO_F32_ExpM1    -> text "expm1f"
         MO_F32_Sqrt     -> text "sqrtf"
         MO_F32_Fabs     -> text "fabsf"
-        MO_ReadBarrier  -> text "read_barrier"
+        MO_ReadBarrier  -> text "load_load_barrier"
         MO_WriteBarrier -> text "write_barrier"
         MO_Memcpy _     -> text "memcpy"
         MO_Memset _     -> text "memset"



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/be692a3634f17a8e70e3f373c2f9e59ac919ac3d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/be692a3634f17a8e70e3f373c2f9e59ac919ac3d
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/20190610/0e1fb06c/attachment.html>


More information about the ghc-commits mailing list