]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (ix86_expand_vec_perm): Use V8SImode mode for mask of V8SFmode permutation.
authorJakub Jelinek <jakub@redhat.com>
Fri, 21 Feb 2014 07:48:07 +0000 (08:48 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 21 Feb 2014 07:48:07 +0000 (08:48 +0100)
* config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
mode for mask of V8SFmode permutation.

From-SVN: r207981

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

index c51d139850e15dd5b641c276eeee5f673a56033f..9592d6409ab6e8da0f4d91d52019aa1b34b9444c 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
+       mode for mask of V8SFmode permutation.
+
 2014-02-20  Richard Henderson  <rth@redhat.com>
 
        PR c++/60272
index 07658c35276f9693e59b6393ae08181312af2466..4fead5581357fc0f4931f5f2ae2428c709b551a2 100644 (file)
@@ -21457,7 +21457,7 @@ ix86_expand_vec_perm (rtx operands[])
          return;
 
        case V8SFmode:
-         mask = gen_lowpart (V8SFmode, mask);
+         mask = gen_lowpart (V8SImode, mask);
          if (one_operand_shuffle)
            emit_insn (gen_avx2_permvarv8sf (target, op0, mask));
          else