summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2014-07-10 02:55:51 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-10 11:21:26 -0500
commitc80c574fe53c76122b0e950fd88022ecc41f3a10 (patch)
treed9be70f3d740f3c648aaa0ab02a5bab5bf1bcd24
parent3c9fc104337a142fe4f375d30d7a6b81d55a70c1 (diff)
downloadhaskell-c80c574fe53c76122b0e950fd88022ecc41f3a10.tar.gz
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
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 22a2c7cb6a..014117dd4c 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@. We assume the worst
-and fill that slot with a @NOP@.
-
-SPARC: Do not fill the delay slots here; you will confuse the register
-allocator.
-}