combine.c (make_compound_operation): Don't generate zero / sign extensions in floating point modes.

* combine.c (make_compound_operation): Don't generate zero / sign
	extensions in floating point modes.

From-SVN: r56804
This commit is contained in:
J"orn Rennecke 2002-09-04 17:49:58 +00:00 committed by Joern Rennecke
parent 478c9e72c6
commit b10f218708
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
* combine.c (make_compound_operation): Don't generate zero / sign
extensions in floating point modes.
2002-09-04 Janis Johnson <janis187@us.ibm.com>
* doc/c-tree.texi: Fix overfull hboxes.

View File

@ -6629,7 +6629,11 @@ make_compound_operation (x, in_code)
if (GET_MODE_SIZE (mode) > GET_MODE_SIZE (GET_MODE (tem))
|| (GET_MODE_SIZE (mode) >
GET_MODE_SIZE (GET_MODE (XEXP (tem, 0)))))
tem = gen_rtx_fmt_e (GET_CODE (tem), mode, XEXP (tem, 0));
{
if (! INTEGRAL_MODE_P (mode))
break;
tem = gen_rtx_fmt_e (GET_CODE (tem), mode, XEXP (tem, 0));
}
else
tem = gen_lowpart_for_combine (mode, XEXP (tem, 0));
return tem;