diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-08-21 15:27:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2005-08-21 15:27:56 +0200 |
commit | 1125164cd32576b05e6c078077d78736fa0d63e3 (patch) | |
tree | 53f59061ef5b672943a8efb5c4d2d4046a85a6b7 /gcc/simplify-rtx.c | |
parent | 3c0c8f9dff5c2fd1e71fcbc5c05a65a33caa0303 (diff) | |
download | gcc-1125164cd32576b05e6c078077d78736fa0d63e3.zip gcc-1125164cd32576b05e6c078077d78736fa0d63e3.tar.gz gcc-1125164cd32576b05e6c078077d78736fa0d63e3.tar.bz2 |
simplify-rtx.c (simplify_immed_subreg): Only clear up to elem_bitsize bits, not max_bitsize.
* simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear
up to elem_bitsize bits, not max_bitsize.
* gcc.target/i386/sse-4.c: New test.
From-SVN: r103318
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index ca9d9da..8a2faae 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3605,7 +3605,7 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, } /* It shouldn't matter what's done here, so fill it with zero. */ - for (; i < max_bitsize; i += value_bit) + for (; i < elem_bitsize; i += value_bit) *vp++ = 0; } else |