OSDN Git Service

* config/i386/i386.c (expand_vec_perm_pshufb2): Commit
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Feb 2014 08:42:22 +0000 (08:42 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Feb 2014 08:42:22 +0000 (08:42 +0000)
missing part from my previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@207985 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/i386.c

index 8edb480..8bbf5d0 100644 (file)
@@ -36855,6 +36855,9 @@ expand_vec_perm_pshufb2 (struct expand_vec_perm_d *d)
     return false;
   gcc_assert (d->op0 != d->op1);
 
+  if (d->testing_p)
+    return true;
+
   nelt = d->nelt;
   eltsz = GET_MODE_SIZE (GET_MODE_INNER (d->vmode));