From 06a5f1ecae0873029a87eb624966143955a853f9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 19 May 2008 19:42:11 +0000 Subject: [PATCH] i386.c (ix86_expand_vector_init_concat): Change sizes of operand array from 8/4 to 4/2. 2008-05-19 H.J. Lu * gcc/config/i386/i386.c (ix86_expand_vector_init_concat): Change sizes of operand array from 8/4 to 4/2. (ix86_expand_vector_init_general): Change size of operand array from 32 to 16. Remove op0, op1 and half_mode. From-SVN: r135579 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.c | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0b2cbe38a2..8ed8a8ad718 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-05-19 H.J. Lu + + * gcc/config/i386/i386.c (ix86_expand_vector_init_concat): Change + sizes of operand array from 8/4 to 4/2. + (ix86_expand_vector_init_general): Change size of operand array + from 32 to 16. Remove op0, op1 and half_mode. + 2008-05-19 H.J. Lu * config/i386/i386.c (ix86_expand_vector_init_concat): New. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a116bc6091c..af4dc3caca7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -23878,7 +23878,7 @@ ix86_expand_vector_init_concat (enum machine_mode mode, rtx target, rtx *ops, int n) { enum machine_mode cmode, hmode = VOIDmode; - rtx first[8], second[4]; + rtx first[4], second[2]; rtvec v; int i, j; @@ -24084,8 +24084,7 @@ static void ix86_expand_vector_init_general (bool mmx_ok, enum machine_mode mode, rtx target, rtx vals) { - rtx ops[32], op0, op1; - enum machine_mode half_mode = VOIDmode; + rtx ops[16]; int n, i; switch (mode) -- 2.30.2