rs6000.c (function_arg): Set inner mode of SPE vectors to SI.

2002-11-21  Jim Wilson  <wilson@redhat.com>

	* config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
	vectors to SI.

From-SVN: r59365
This commit is contained in:
Jim Wilson 2002-11-22 02:22:13 +00:00 committed by Aldy Hernandez
parent 58db834b27
commit 57de2c8fb8
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-11-21 Jim Wilson <wilson@redhat.com>
* config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
vectors to SI.
2002-11-21 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.

View File

@ -3173,10 +3173,7 @@ function_arg (cum, mode, type, named)
&& SPE_VECTOR_MODE (mode) && !named)
{
rtx r1, r2;
enum machine_mode m = GET_MODE_INNER (mode);
if (mode == V1DImode)
m = SImode;
enum machine_mode m = SImode;
r1 = gen_rtx_REG (m, gregno);
r1 = gen_rtx_EXPR_LIST (m, r1, const0_rtx);