]> git.ipfire.org Git - thirdparty/gcc.git/commit
Properly convert GTU to GT for V4SI and V2DI
authorH.J. Lu <hjl@gcc.gnu.org>
Tue, 5 Jan 2010 20:44:14 +0000 (12:44 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 5 Jan 2010 20:44:14 +0000 (12:44 -0800)
commit43d4b97de49f9bca08d516b007575ae9d5cbcc9e
tree01a83d9d0414c4a64f84368c7e3c2536f3e459e4
parentac2bb4377005f9bd117fee3155c9ece00f4d5b27
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.

From-SVN: r155660
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr42542-1.c