Commit cadcffb3 by Jan Hubicka Committed by Jan Hubicka

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
parent b19a539e
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> 2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
......
...@@ -1119,7 +1119,8 @@ move_for_stack_reg (insn, regstack, pat) ...@@ -1119,7 +1119,8 @@ move_for_stack_reg (insn, regstack, pat)
regstack->top--; regstack->top--;
CLEAR_HARD_REG_BIT (regstack->reg_set, REGNO (src)); 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 /* A 387 cannot write an XFmode value to a MEM without
clobbering the source reg. The output code can handle clobbering the source reg. The output code can handle
......
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