gas/testsuite/
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 28 Jul 2007 16:32:01 +0000 (16:32 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 28 Jul 2007 16:32:01 +0000 (16:32 +0000)
2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-opcode.d: Updated.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/x86-64-simd.s: Add movq.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Change "movd" to "movK".
(prefix_user_table): Likewise.  Use EXq instead of EXx on
"movq".

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-simd-intel.d
gas/testsuite/gas/i386/x86-64-simd.d
gas/testsuite/gas/i386/x86-64-simd.s
opcodes/ChangeLog
opcodes/i386-dis.c

index e0b6c85..a938d3c 100644 (file)
@@ -1,3 +1,11 @@
+2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/x86-64-opcode.d: Updated.
+       * gas/i386/x86-64-simd-intel.d: Likewise.
+       * gas/i386/x86-64-simd.d: Likewise.
+
+       * gas/i386/x86-64-simd.s: Add movq.
+
 2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/i386/i386.exp: Run nops16-1, nops-1-i386-i686, nops-1-k8,
index 912075e..348476e 100644 (file)
@@ -190,12 +190,12 @@ Disassembly of section .text:
 [       ]*[0-9a-f]+:[   ]+66 44 0f 7e f8[       ]+movd[         ]+%xmm15,%eax[  ]*(#.*)*
 [       ]*[0-9a-f]+:[   ]+66 44 0f 7e c0[       ]+movd[         ]+%xmm8,%eax[   ]*(#.*)*
 [       ]*[0-9a-f]+:[   ]+66 0f 7e f8[  ]+movd[         ]+%xmm7,%eax[   ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 48 0f 6e c0[       ]+movd[         ]+%rax,%xmm0[   ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 49 0f 6e c0[       ]+movd[         ]+%r8,%xmm0[    ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 4d 0f 6e f8[       ]+movd[         ]+%r8,%xmm15[   ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 48 0f 7e c0[       ]+movd[         ]+%xmm0,%rax[   ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 49 0f 7e c0[       ]+movd[         ]+%xmm0,%r8[    ]*(#.*)*
-[       ]*[0-9a-f]+:[   ]+66 49 0f 7e f8[       ]+movd[         ]+%xmm7,%r8[    ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 48 0f 6e c0[       ]+movq[         ]+%rax,%xmm0[   ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 49 0f 6e c0[       ]+movq[         ]+%r8,%xmm0[    ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 4d 0f 6e f8[       ]+movq[         ]+%r8,%xmm15[   ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 48 0f 7e c0[       ]+movq[         ]+%xmm0,%rax[   ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 49 0f 7e c0[       ]+movq[         ]+%xmm0,%r8[    ]*(#.*)*
+[       ]*[0-9a-f]+:[   ]+66 49 0f 7e f8[       ]+movq[         ]+%xmm7,%r8[    ]*(#.*)*
 [       ]*[0-9a-f]+:[   ]+f3 41 0f 7e 00[       ]+movq[         ]+\(%r8\),%xmm0[        ]*(#.*)*
 [       ]*[0-9a-f]+:[   ]+f3 0f 7e 00[  ]+movq[         ]+\(%rax\),%xmm0[       ]*(#.*)*
 [       ]*[0-9a-f]+:[   ]+f3 45 0f 7e 38[       ]+movq[         ]+\(%r8\),%xmm15[       ]*(#.*)*
index 775fff5..b7ac86a 100644 (file)
@@ -26,6 +26,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    66 0f 12 0d 78 56 34 12         movlpd xmm1,QWORD PTR \[rip\+0x12345678\][      ]*(#.*)?
 [      ]*[a-f0-9]+:    0f 13 0d 78 56 34 12    movlps QWORD PTR \[rip\+0x12345678\],xmm1[      ]*(#.*)?
 [      ]*[a-f0-9]+:    0f 12 0d 78 56 34 12    movlps xmm1,QWORD PTR \[rip\+0x12345678\][      ]*(#.*)?
+[      ]*[a-f0-9]+:    66 0f d6 0d 78 56 34 12         movq   QWORD PTR \[rip\+0x12345678\],xmm1[      ]*(#.*)?
+[      ]*[a-f0-9]+:    f3 0f 7e 0d 78 56 34 12         movq   xmm1,QWORD PTR \[rip\+0x12345678\][      ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 16 0d 78 56 34 12         movshdup xmm1,XMMWORD PTR \[rip\+0x12345678\][  ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 12 0d 78 56 34 12         movsldup xmm1,XMMWORD PTR \[rip\+0x12345678\][  ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 70 0d 78 56 34 12 90      pshufhw xmm1,XMMWORD PTR \[rip\+0x12345678\],0x90[      ]*(#.*)?
index 460b405..12f7831 100644 (file)
@@ -25,6 +25,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    66 0f 12 0d 78 56 34 12         movlpd 0x12345678\(%rip\),%xmm1[        ]*(#.*)?
 [      ]*[a-f0-9]+:    0f 13 0d 78 56 34 12    movlps %xmm1,0x12345678\(%rip\)[        ]*(#.*)?
 [      ]*[a-f0-9]+:    0f 12 0d 78 56 34 12    movlps 0x12345678\(%rip\),%xmm1[        ]*(#.*)?
+[      ]*[a-f0-9]+:    66 0f d6 0d 78 56 34 12         movq   %xmm1,0x12345678\(%rip\)[        ]*(#.*)?
+[      ]*[a-f0-9]+:    f3 0f 7e 0d 78 56 34 12         movq   0x12345678\(%rip\),%xmm1[        ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 16 0d 78 56 34 12         movshdup 0x12345678\(%rip\),%xmm1[      ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 12 0d 78 56 34 12         movsldup 0x12345678\(%rip\),%xmm1[      ]*(#.*)?
 [      ]*[a-f0-9]+:    f3 0f 70 0d 78 56 34 12 90      pshufhw \$0x90,0x12345678\(%rip\),%xmm1[        ]*(#.*)?
index 91c98b8..9422ac2 100644 (file)
@@ -18,6 +18,8 @@ _start:
        movlpd 0x12345678(%rip),%xmm1
        movlps %xmm1,0x12345678(%rip)
        movlps 0x12345678(%rip),%xmm1
+       movq %xmm1,0x12345678(%rip)
+       movq 0x12345678(%rip),%xmm1
        movshdup 0x12345678(%rip),%xmm1
        movsldup 0x12345678(%rip),%xmm1
        pshufhw $0x90,0x12345678(%rip),%xmm1
index 9c6d1fa..0f9cebf 100644 (file)
@@ -1,3 +1,9 @@
+2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
+       (prefix_user_table): Likewise.  Use EXq instead of EXx on
+       "movq".
+
 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
 
        * ppc-opc (PPC7450): New.
index 29fec0f..291c079 100644 (file)
@@ -1019,7 +1019,7 @@ static const struct dis386 dis386_twobyte[] = {
   { "packssdw",                { MX, EM } },
   { PREGRP26 },
   { PREGRP24 },
-  { "movd",            { MX, Edq } },
+  { "movK",            { MX, Edq } },
   { PREGRP19 },
   /* 70 */
   { PREGRP22 },
@@ -1988,7 +1988,7 @@ static const struct dis386 prefix_user_table[][4] = {
   {
     { "(bad)", { EXx,  XM } },
     { "movq2dq",{ XM, MS } },
-    { "movq",  { EXx,  XM } },
+    { "movq",  { EXq, XM } },
     { "movdq2q",{ MX, XS } },
   },
   /* PREGRP22 */
@@ -2000,9 +2000,9 @@ static const struct dis386 prefix_user_table[][4] = {
   },
   /* PREGRP23 */
   {
-    { "movd",  { Edq, MX } },
-    { "movq",  { XM, EXx } },
-    { "movd",  { Edq, XM } },
+    { "movK",  { Edq, MX } },
+    { "movq",  { XM, EXq } },
+    { "movK",  { Edq, XM } },
     { "(bad)", { Ed, XM } },
   },
   /* PREGRP24 */