* config/i386/i386.c (avx_vpermilp_parallel): Fix sign compare
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 16:12:06 +0000 (16:12 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 16:12:06 +0000 (16:12 +0000)
        mismatch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154451 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 0fffc28..58ede88 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-23  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (avx_vpermilp_parallel): Fix sign compare
+       mismatch.
+
 2009-11-23  Paul Brook  <paul@codesourcery.com>
 
        * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Add special
index b149924..ad1eee4 100644 (file)
@@ -24539,7 +24539,7 @@ avx_vpermilp_parallel (rtx par, enum machine_mode mode)
   unsigned mask = 0;
   unsigned char ipar[8];
 
-  if (XVECLEN (par, 0) != nelt)
+  if (XVECLEN (par, 0) != (int) nelt)
     return 0;
 
   /* Validate that all of the elements are constants, and not totally