Add Addr# atomic primops (#17751)
This reuses the codegen used for ByteArray#'s atomic primops.
Showing
- compiler/GHC/Builtin/primops.txt.pp 66 additions, 5 deletionscompiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/CmmToAsm/X86/CodeGen.hs 5 additions, 5 deletionscompiler/GHC/CmmToAsm/X86/CodeGen.hs
- compiler/GHC/StgToCmm/Prim.hs 59 additions, 11 deletionscompiler/GHC/StgToCmm/Prim.hs
- testsuite/tests/concurrent/should_run/AtomicPrimops.hs 212 additions, 113 deletionstestsuite/tests/concurrent/should_run/AtomicPrimops.hs
- testsuite/tests/concurrent/should_run/AtomicPrimops.stdout 7 additions, 1 deletiontestsuite/tests/concurrent/should_run/AtomicPrimops.stdout
Loading
Please register or sign in to comment