sse.md (<avx512>_store<mode>_mask): Fix operand checked for alignment.
authorIlya Enkovich <enkovich.gnu@gmail.com>
Fri, 4 Dec 2015 14:18:58 +0000 (14:18 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 4 Dec 2015 14:18:58 +0000 (14:18 +0000)
gcc/

* config/i386/sse.md (<avx512>_store<mode>_mask): Fix
operand checked for alignment.

From-SVN: r231269

gcc/ChangeLog
gcc/config/i386/sse.md

index 74c8080a20a7ba935bbe7a80ee416b3e50fc902e..723aa40f75be0c732a4a057623db24c3285ced6f 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-04  Ilya Enkovich  <enkovich.gnu@gmail.com>
+
+       * config/i386/sse.md (<avx512>_store<mode>_mask): Fix
+       operand checked for alignment.
+
 2015-12-04  Nathan Sidwell  <nathan@acm.org>
 
        * config/nvptx/nvptx.c (write_one_arg): Deal with prologue
index 680d813472d1e7af7b77c7a3a97b3ec24b6d1456..beddf400460278443852212c45ead7086a8689b1 100644 (file)
       sse_suffix = "<ssescalarsize>";
     }
 
-  if (misaligned_operand (operands[1], <MODE>mode))
+  if (misaligned_operand (operands[0], <MODE>mode))
     align = "u";
   else
     align = "a";