[Git][ghc/ghc][master] cmm: Parse MO_BSwap primitive operation
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sat Jun 15 07:21:36 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
bd95553a by Rodrigo Mesquita at 2024-06-15T03:21:06-04:00
cmm: Parse MO_BSwap primitive operation
Parsing this operation allows it to be tested using `test-primops` in a
subsequent MR.
- - - - -
1 changed file:
- compiler/GHC/Cmm/Parser.y
Changes:
=====================================
compiler/GHC/Cmm/Parser.y
=====================================
@@ -1151,6 +1151,7 @@ callishMachOps platform = listToUFM $
[ allWidths "popcnt" MO_PopCnt
, allWidths "pdep" MO_Pdep
, allWidths "pext" MO_Pext
+ , allWidths "bswap" MO_BSwap
, allWidths "cmpxchg" MO_Cmpxchg
, allWidths "xchg" MO_Xchg
, allWidths "load_relaxed" (\w -> MO_AtomicRead w MemOrderAcquire)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bd95553a0912ad71a3ca4317c66764f014abf697
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bd95553a0912ad71a3ca4317c66764f014abf697
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/20240615/e7c611f0/attachment.html>
More information about the ghc-commits
mailing list