diff options
author | Jim Wilson <wilson@redhat.com> | 2002-11-22 02:22:13 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2002-11-22 02:22:13 +0000 |
commit | 57de2c8fb8d17d000d38ff4ffdb0d0013deeb0a3 (patch) | |
tree | 1750aa67252d6e4cc0e949e0721ee209807c39bc | |
parent | 58db834b27756ef397b96597ce0a541d8ae89dec (diff) | |
download | gcc-57de2c8fb8d17d000d38ff4ffdb0d0013deeb0a3.zip gcc-57de2c8fb8d17d000d38ff4ffdb0d0013deeb0a3.tar.gz gcc-57de2c8fb8d17d000d38ff4ffdb0d0013deeb0a3.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab62b50..c88988d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5dd2e12..0d7d078 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); |