Commit 1f8551b2 by Kazu Hirata Committed by Kazu Hirata

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
parent ca2b05ba
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,
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment