mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-02 05:40:26 +08:00
(notice_cc_update): Set CC_FCOMI is this is a float compare.
From-SVN: r14164
This commit is contained in:
parent
110b339d97
commit
a86202361e
@ -3409,8 +3409,13 @@ notice_update_cc (exp)
|
||||
if (SET_DEST (XVECEXP (exp, 0, 0)) == cc0_rtx)
|
||||
{
|
||||
CC_STATUS_INIT;
|
||||
if (stack_regs_mentioned_p (SET_SRC (XVECEXP (exp, 0, 0))))
|
||||
cc_status.flags |= CC_IN_80387;
|
||||
if (stack_regs_mentioned_p (SET_SRC (XVECEXP (exp, 0, 0))))
|
||||
{
|
||||
cc_status.flags |= CC_IN_80387;
|
||||
if (TARGET_CMOVE && stack_regs_mentioned_p
|
||||
(XEXP (SET_SRC (XVECEXP (exp, 0, 0)), 1)))
|
||||
cc_status.flags |= CC_FCOMI;
|
||||
}
|
||||
else
|
||||
cc_status.value1 = SET_SRC (XVECEXP (exp, 0, 0));
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user