* i386.c (construct_container): Fix handling of SSE_CLASS.

From-SVN: r59020
This commit is contained in:
Jan Hubicka 2002-11-11 12:12:09 +01:00 committed by Jan Hubicka
parent aaea99dc5e
commit 12f5c45e40
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.c (construct_container): Fix handling of SSE_CLASS.
2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
* config/m68k/t-crtstuff (crti.o): Use this...

View File

@ -2113,14 +2113,16 @@ construct_container (mode, type, in_return, nintregs, nsseregs, intreg, sse_regn
sse_regno++;
break;
case X86_64_SSE_CLASS:
if (i < n && class[i + 1] == X86_64_SSEUP_CLASS)
tmpmode = TImode, i++;
if (i < n - 1 && class[i + 1] == X86_64_SSEUP_CLASS)
tmpmode = TImode;
else
tmpmode = DImode;
exp [nexps++] = gen_rtx_EXPR_LIST (VOIDmode,
gen_rtx_REG (tmpmode,
SSE_REGNO (sse_regno)),
GEN_INT (i*8));
if (tmpmode == TImode)
i++;
sse_regno++;
break;
default: