mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-14 14:33:40 +08:00
* i386.c (construct_container): Fix handling of SSE_CLASS.
From-SVN: r59020
This commit is contained in:
parent
aaea99dc5e
commit
12f5c45e40
@ -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...
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user