diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-03 22:16:01 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-03 22:16:01 +0000 |
commit | b53451fc9637f05de2a734820c168df6fb155561 (patch) | |
tree | 10defcbd02d9f2143061c0f92dcb0585843ac362 /gcc/combine.c | |
parent | b9fb4b38776e49057fa90dda41ddbbd13d2187b5 (diff) | |
download | gcc-b53451fc9637f05de2a734820c168df6fb155561.tar.gz |
* config/i386/i386.c (ix86_expand_vector_set): Fix setting 3rd and 4th
item in V4SF mode.
PR rtl-optimization/21239
* combine.c (combine_simplify_rtx) <case VEC_SELECT>: Fix a typo.
* gcc.dg/i386-sse-11.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99186 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index d9e0b4fcda5..251c1eeafb8 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4742,7 +4742,7 @@ combine_simplify_rtx (rtx x, enum machine_mode op0_mode, int in_dest) if (GET_CODE (op0) == VEC_CONCAT) { HOST_WIDE_INT op0_size = GET_MODE_SIZE (GET_MODE (XEXP (op0, 0))); - if (op0_size < offset) + if (offset < op0_size) op0 = XEXP (op0, 0); else { |