[commit: ghc] master: remove SPARC related comment in PPC code generator (c80c574)

git at git.haskell.org git at git.haskell.org
Thu Jul 10 16:21:45 UTC 2014


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

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

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

commit c80c574fe53c76122b0e950fd88022ecc41f3a10
Author: Peter Trommler <ptrommler at acm.org>
Date:   Thu Jul 10 02:55:51 2014 -0500

    remove SPARC related comment in PPC code generator
    
    Summary:
    PowerPC does not do delay slots and there is also no requirement
    to put extra instructions between FP operations and branches.
    
    Test Plan: None. Comment change only.
    
    Reviewers: austin, simonmar
    
    Reviewed By: austin, simonmar
    
    Subscribers: simonmar, relrod, carter
    
    Differential Revision: https://phabricator.haskell.org/D40


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

c80c574fe53c76122b0e950fd88022ecc41f3a10
 compiler/nativeGen/PPC/CodeGen.hs | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 22a2c7c..014117d 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -813,15 +813,6 @@ genBranch = return . toOL . mkJumpInstr
 Conditional jumps are always to local labels, so we can use branch
 instructions.  We peek at the arguments to decide what kind of
 comparison to do.
-
-SPARC: First, we have to ensure that the condition codes are set
-according to the supplied comparison operation.  We generate slightly
-different code for floating point comparisons, because a floating
-point operation cannot directly precede a @BF at .  We assume the worst
-and fill that slot with a @NOP at .
-
-SPARC: Do not fill the delay slots here; you will confuse the register
-allocator.
 -}
 
 



More information about the ghc-commits mailing list