From: Jan Hubicka Date: Thu, 8 Mar 2001 19:09:03 +0000 (+0100) Subject: reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cadcffb3fdf07b3d6f05289a0b563244ee741b75;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95a676f7925..aa237b46454 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 8 19:54:04 CET 2001 Jan Hubicka + + * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for + TFmode too. + 2001-03-08 Kaveh R. Ghazi * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 94300c394d4..1d14a013cee 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -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