diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-05-19 19:42:11 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-05-19 12:42:11 -0700 |
commit | 06a5f1ecae0873029a87eb624966143955a853f9 (patch) | |
tree | 522f89c08250b13052d6c84eda550482898e9e6b /gcc | |
parent | 63e46cceb669255ffded53f01feeb9266e0ba391 (diff) | |
download | gcc-06a5f1ecae0873029a87eb624966143955a853f9.zip gcc-06a5f1ecae0873029a87eb624966143955a853f9.tar.gz gcc-06a5f1ecae0873029a87eb624966143955a853f9.tar.bz2 |
i386.c (ix86_expand_vector_init_concat): Change sizes of operand array from 8/4 to 4/2.
2008-05-19 H.J. Lu <hongjiu.lu@intel.com>
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0b2cbe..8ed8a8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2008-05-19 H.J. Lu <hongjiu.lu@intel.com> + * 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 <hongjiu.lu@intel.com> + * config/i386/i386.c (ix86_expand_vector_init_concat): New. (ix86_expand_vector_init_interleave): Likewise. (ix86_expand_vector_init_general): Use them. Assert word_mode diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a116bc6..af4dc3c 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) |