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
This commit is contained in:
parent
ca2b05bae5
commit
1f8551b263
@ -1,3 +1,9 @@
|
||||
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,
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user