diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-19 19:42:11 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-19 19:42:11 +0000 |
commit | 740a43a0eebb9a39e6656b8690aa9e54e919431b (patch) | |
tree | 522f89c08250b13052d6c84eda550482898e9e6b | |
parent | 75997dc1a859fc7522b5a4e12ee9737400228210 (diff) | |
download | gcc-740a43a0eebb9a39e6656b8690aa9e54e919431b.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135579 138bc75d-0d04-0410-961f-82ee72b054a4
-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 a0b2cbe38a2..8ed8a8ad718 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 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) |