From 57de2c8fb8d17d000d38ff4ffdb0d0013deeb0a3 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 22 Nov 2002 02:22:13 +0000 Subject: [PATCH] rs6000.c (function_arg): Set inner mode of SPE vectors to SI. 2002-11-21 Jim Wilson * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE vectors to SI. From-SVN: r59365 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab62b5063aa..c88988dbf21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-21 Jim Wilson + + * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE + vectors to SI. + 2002-11-21 Bob Wilson * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5dd2e120a4b..0d7d0782a86 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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);