reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too.

* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
	TFmode too.

From-SVN: r40325
This commit is contained in:
Jan Hubicka 2001-03-08 20:09:03 +01:00 committed by Jan Hubicka
parent b19a539e02
commit cadcffb3fd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz>
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
TFmode too.
2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete

View File

@ -1119,7 +1119,8 @@ move_for_stack_reg (insn, regstack, pat)
regstack->top--;
CLEAR_HARD_REG_BIT (regstack->reg_set, REGNO (src));
}
else if (GET_MODE (src) == XFmode && regstack->top < REG_STACK_SIZE - 1)
else if ((GET_MODE (src) == XFmode || GET_MODE (src) == TFmode)
&& regstack->top < REG_STACK_SIZE - 1)
{
/* A 387 cannot write an XFmode value to a MEM without
clobbering the source reg. The output code can handle