This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] REVERSIBLE_CC_MODE on SPARC
- To: Richard Henderson <rth at cygnus dot com>, "David S. Miller" <davem at redhat dot com>
- Subject: [PATCH] REVERSIBLE_CC_MODE on SPARC
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 24 Mar 2000 15:17:44 +0100
- Cc: gcc-patches at gcc dot gnu dot org
Hi!
Can I revert the change to REVERSIBLE_CC_MODE on SPARC?
Infrastructure for it so that it works correctly is not yet in place, I
might look into it but don't know when, so IMHO it is better to have a
working compiler in the mean time.
2000-03-24 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
until infrastructure is finished.
--- gcc/config/sparc/sparc.h.jj Fri Mar 24 14:13:09 2000
+++ gcc/config/sparc/sparc.h Fri Mar 24 15:04:19 2000
@@ -2659,8 +2659,9 @@ do {
/* Return non-zero if MODE implies a floating point inequality can be
reversed. For Sparc this is always true because we have a full
- compliment of ordered and unordered comparisons. */
-#define REVERSIBLE_CC_MODE(MODE) 1
+ compliment of ordered and unordered comparisons, but until generic
+ code knows how to reverse it correctly we keep the old definition. */
+#define REVERSIBLE_CC_MODE(MODE) ((MODE) != CCFPEmode && (MODE) != CCFPmode)
/* A function address in a call instruction
is a byte address (for indexing purposes)
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.99-pre2 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________