OSDN Git Service

Properly convert GTU to GT for V4SI and V2DI
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jan 2010 20:44:14 +0000 (20:44 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jan 2010 20:44:14 +0000 (20:44 +0000)
commit41188d4b33d5ba69a069bf144ab57dc92e13831f
tree01a83d9d0414c4a64f84368c7e3c2536f3e459e4
parent0444dd11824f93b5e80efa88ce6d372d357d958f
Properly convert GTU to GT for V4SI and V2DI

gcc/

2010-01-05  Paolo Bonzini  <bonzinI@gnu.rg>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
operands to make them signed.

* config/i386/sse.md (umaxv4si3): Revert the last change.
(umin<mode>3): Likewise.
(uminv8hi3): Removed.
(uminv4si3): Likewise.

gcc/testsuite/

2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/i386/pr42542-1.c (res): Make it 8 elements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155660 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr42542-1.c