[commit: ghc] master: Revert "Add more primops for atomic ops on byte arrays" (950fcae)

git at git.haskell.org git at git.haskell.org
Thu Jun 26 12:59:35 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/950fcae46a82569e7cd1fba1637a23b419e00ecd/ghc

>---------------------------------------------------------------

commit 950fcae46a82569e7cd1fba1637a23b419e00ecd
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Thu Jun 26 14:31:37 2014 +0200

    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).


>---------------------------------------------------------------

950fcae46a82569e7cd1fba1637a23b419e00ecd
 compiler/cmm/CmmMachOp.hs                          |  19 --
 compiler/cmm/CmmSink.hs                            |   4 -
 compiler/cmm/PprC.hs                               |   4 -
 compiler/codeGen/StgCmmPrim.hs                     |  94 -------
 compiler/llvmGen/Llvm/AbsSyn.hs                    |   7 -
 compiler/llvmGen/Llvm/PpLlvm.hs                    |  18 +-
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs            |  71 ++---
 compiler/nativeGen/CPrim.hs                        |  50 +---
 compiler/nativeGen/PPC/CodeGen.hs                  |   4 -
 compiler/nativeGen/SPARC/CodeGen.hs                |   4 -
 compiler/nativeGen/X86/CodeGen.hs                  |  92 -------
 compiler/nativeGen/X86/Instr.hs                    |  38 +--
 compiler/nativeGen/X86/Ppr.hs                      |   8 -
 compiler/prelude/primops.txt.pp                    |  76 +----
 includes/stg/MiscClosures.h                        |   1 +
 libraries/ghc-prim/cbits/atomic.c                  | 306 ---------------------
 libraries/ghc-prim/ghc-prim.cabal                  |   1 -
 rts/Linker.c                                       |   1 +
 rts/PrimOps.cmm                                    |  12 +
 testsuite/tests/concurrent/should_run/.gitignore   |   1 -
 .../tests/concurrent/should_run/AtomicPrimops.hs   | 245 -----------------
 .../concurrent/should_run/AtomicPrimops.stdout     |   7 -
 testsuite/tests/concurrent/should_run/all.T        |   1 -
 23 files changed, 54 insertions(+), 1010 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 950fcae46a82569e7cd1fba1637a23b419e00ecd


More information about the ghc-commits mailing list