diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-03-15 18:51:53 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-03-15 18:51:53 +0000 |
commit | 1f8551b2637b9091bf9526dbaac0775f7ea490a5 (patch) | |
tree | 9ca84164818fa6fc315b0ab76506a593c013d26f | |
parent | ca2b05bae542053cbc947e9c4e30d2dd52748fdf (diff) | |
download | gcc-1f8551b2637b9091bf9526dbaac0775f7ea490a5.tar.gz |
defaults.h (REVERSIBLE_CC_MODE): Define.
* defaults.h (REVERSIBLE_CC_MODE): Define.
* jump.c (reversed_comparison_code_parts): Don't check if
REVERSIBLE_CC_MODE is defined.
From-SVN: r79507
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/defaults.h | 4 | ||||
-rw-r--r-- | gcc/jump.c | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76b27928e71..0437bfdc785 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2004-03-15 Kazu Hirata <kazu@cs.umass.edu> + * defaults.h (REVERSIBLE_CC_MODE): Define. + * jump.c (reversed_comparison_code_parts): Don't check if + REVERSIBLE_CC_MODE is defined. + +2004-03-15 Kazu Hirata <kazu@cs.umass.edu> + * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c, et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h, hosthooks.h, params.h, ra-colorize.c, web.c, diff --git a/gcc/defaults.h b/gcc/defaults.h index 602cbdd72a1..e4a6fae57e5 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -737,4 +737,8 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! #define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN) #endif +#ifndef REVERSIBLE_CC_MODE +#define REVERSIBLE_CC_MODE(MODE) 0 +#endif + #endif /* ! GCC_DEFAULTS_H */ diff --git a/gcc/jump.c b/gcc/jump.c index 6fd2de4fa81..5567bb7ea66 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -648,7 +648,6 @@ reversed_comparison_code_parts (enum rtx_code code, rtx arg0, rtx arg1, rtx insn /* First see if machine description supply us way to reverse the comparison. Give it priority over everything else to allow machine description to do tricks. */ -#ifdef REVERSIBLE_CC_MODE if (GET_MODE_CLASS (mode) == MODE_CC && REVERSIBLE_CC_MODE (mode)) { @@ -657,7 +656,6 @@ reversed_comparison_code_parts (enum rtx_code code, rtx arg0, rtx arg1, rtx insn #endif return reverse_condition (code); } -#endif /* Try a few special cases based on the comparison code. */ switch (code) |