Fix registers type for MODE_TI
authorSergey Shalnov <Sergey.Shalnov@intel.com>
Fri, 1 Dec 2017 05:59:33 +0000 (05:59 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 1 Dec 2017 05:59:33 +0000 (05:59 +0000)
gcc/
* config/i386/i386.c (standard_sse_constant_opcode): Fix
registers type for 128bit mode.

From-SVN: r255290

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

index 6a42a25a24e6d0b85fbe742ca4b59b819e21e407..bfa6016f5cc842e58fb4a01c066e9aa4fa33be4b 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-01  Sergey Shalnov  <Sergey.Shalnov@intel.com>
+
+       * config/i386/i386.c (standard_sse_constant_opcode): Fix
+       registers type for 128bit mode.
+
 2017-11-30  Jakub Jelinek  <jakub@redhat.com>
 
        * spellcheck-tree.c (test_find_closest_identifier): Use ; instead
index 30c5ab36210579f7a52b448ceba219846dc50864..2f4ca7c01e9bfe4afaa6b294d624176e0aabe050 100644 (file)
@@ -10403,7 +10403,7 @@ standard_sse_constant_opcode (rtx_insn *insn, rtx x)
                  : "vpxor\t%x0, %x0, %x0");
        case MODE_TI:
          return (TARGET_AVX512VL
-                 ? "vpxord\t%t0, %t0, %t0"
+                 ? "vpxord\t%x0, %x0, %x0"
                  : "%vpxor\t%0, %d0");
 
        case MODE_V8DF: