From: Kazu Hirata Date: Mon, 15 Mar 2004 18:51:53 +0000 (+0000) Subject: defaults.h (REVERSIBLE_CC_MODE): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f8551b2637b9091bf9526dbaac0775f7ea490a5;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76b27928e71..0437bfdc785 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-15 Kazu Hirata + + * 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 * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.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)