Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7bfb7bfc6da981ef827b1a166c8cbfb5b29a25a4 >--------------------------------------------------------------- commit 7bfb7bfc6da981ef827b1a166c8cbfb5b29a25a4 Author: Ian Lynagh <[email protected]> Date: Tue Feb 14 21:26:18 2012 +0000 Define a quotRem CallishMachOp; fixes #5598 This means we no longer do a division twice when we are using quotRem (on platforms on which the op is supported; currently only amd64). compiler/cmm/CmmMachOp.hs | 3 + compiler/cmm/OldCmmUtils.hs | 11 + compiler/cmm/PprC.hs | 10 +- compiler/codeGen/CgPrimOp.hs | 9 + compiler/ghc.cabal.in | 1 - compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 15 +- compiler/nativeGen/PPC/CodeGen.hs | 14 +- compiler/nativeGen/SPARC/CodeGen.hs | 477 ++++++++++++++++++++++++----- compiler/nativeGen/SPARC/CodeGen/CCall.hs | 343 --------------------- compiler/nativeGen/X86/CodeGen.hs | 31 ++- compiler/prelude/primops.txt.pp | 5 + 11 files changed, 483 insertions(+), 436 deletions(-) Diff suppressed because of size. To see it, use: git show 7bfb7bfc6da981ef827b1a166c8cbfb5b29a25a4 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
