diff options
| author | Johan Tibell <johan.tibell@gmail.com> | 2014-06-26 14:31:37 +0200 |
|---|---|---|
| committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-06-26 14:58:45 +0200 |
| commit | 950fcae46a82569e7cd1fba1637a23b419e00ecd (patch) | |
| tree | c0cfda4ad4fb473c588d517e89ae2b47598457fd /compiler/cmm/CmmMachOp.hs | |
| parent | 84d7845063c974a9437a29f4f0b5094392d04a29 (diff) | |
| download | haskell-950fcae46a82569e7cd1fba1637a23b419e00ecd.tar.gz | |
Revert "Add more primops for atomic ops on byte arrays"
This commit caused the register allocator to fail on i386.
This reverts commit d8abf85f8ca176854e9d5d0b12371c4bc402aac3 and
04dd7cb3423f1940242fdfe2ea2e3b8abd68a177 (the second being a fix to
the first).
Diffstat (limited to 'compiler/cmm/CmmMachOp.hs')
| -rw-r--r-- | compiler/cmm/CmmMachOp.hs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/cmm/CmmMachOp.hs b/compiler/cmm/CmmMachOp.hs index d8ce492de1..c4ec393ad6 100644 --- a/compiler/cmm/CmmMachOp.hs +++ b/compiler/cmm/CmmMachOp.hs @@ -19,9 +19,6 @@ module CmmMachOp -- CallishMachOp , CallishMachOp(..), callishMachOpHints , pprCallishMachOp - - -- Atomic read-modify-write - , AtomicMachOp(..) ) where @@ -550,24 +547,8 @@ data CallishMachOp | MO_PopCnt Width | MO_BSwap Width - - -- Atomic read-modify-write. - | MO_AtomicRMW Width AtomicMachOp - | MO_AtomicRead Width - | MO_AtomicWrite Width - | MO_Cmpxchg Width deriving (Eq, Show) --- | The operation to perform atomically. -data AtomicMachOp = - AMO_Add - | AMO_Sub - | AMO_And - | AMO_Nand - | AMO_Or - | AMO_Xor - deriving (Eq, Show) - pprCallishMachOp :: CallishMachOp -> SDoc pprCallishMachOp mo = text (show mo) |
