m68k.c (notice_update_cc): Tighten condition for setting CC_REVERSED for FP comparisons.
gcc/ * config/m68k/m68k.c (notice_update_cc): Tighten condition for setting CC_REVERSED for FP comparisons. From-SVN: r180383
This commit is contained in:
parent
0a500dd3ac
commit
695074beca
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-10-24 Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* config/m68k/m68k.c (notice_update_cc): Tighten condition for
|
||||
setting CC_REVERSED for FP comparisons.
|
||||
|
||||
2011-10-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/50838
|
||||
|
|
|
@ -4206,7 +4206,8 @@ notice_update_cc (rtx exp, rtx insn)
|
|||
&& GET_MODE_CLASS (GET_MODE (XEXP (cc_status.value2, 0))) == MODE_FLOAT)
|
||||
{
|
||||
cc_status.flags = CC_IN_68881;
|
||||
if (!FP_REG_P (XEXP (cc_status.value2, 0)))
|
||||
if (!FP_REG_P (XEXP (cc_status.value2, 0))
|
||||
&& FP_REG_P (XEXP (cc_status.value2, 1)))
|
||||
cc_status.flags |= CC_REVERSED;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue