Commit 12f5c45e by Jan Hubicka Committed by Jan Hubicka

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

From-SVN: r59020
parent aaea99dc
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> 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
* config/m68k/t-crtstuff (crti.o): Use this... * config/m68k/t-crtstuff (crti.o): Use this...
......
...@@ -2113,14 +2113,16 @@ construct_container (mode, type, in_return, nintregs, nsseregs, intreg, sse_regn ...@@ -2113,14 +2113,16 @@ construct_container (mode, type, in_return, nintregs, nsseregs, intreg, sse_regn
sse_regno++; sse_regno++;
break; break;
case X86_64_SSE_CLASS: case X86_64_SSE_CLASS:
if (i < n && class[i + 1] == X86_64_SSEUP_CLASS) if (i < n - 1 && class[i + 1] == X86_64_SSEUP_CLASS)
tmpmode = TImode, i++; tmpmode = TImode;
else else
tmpmode = DImode; tmpmode = DImode;
exp [nexps++] = gen_rtx_EXPR_LIST (VOIDmode, exp [nexps++] = gen_rtx_EXPR_LIST (VOIDmode,
gen_rtx_REG (tmpmode, gen_rtx_REG (tmpmode,
SSE_REGNO (sse_regno)), SSE_REGNO (sse_regno)),
GEN_INT (i*8)); GEN_INT (i*8));
if (tmpmode == TImode)
i++;
sse_regno++; sse_regno++;
break; break;
default: default:
......
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