x86: don't omit disambiguating suffixes from "fi*"
authorJan Beulich <jbeulich@novell.com>
Fri, 24 Nov 2017 07:42:04 +0000 (08:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Nov 2017 07:42:04 +0000 (08:42 +0100)
"fi*" typically come in two (loads/stores: three) flavors, distinguished
by the suffix. Don't omit the 's' one when disassembling.

12 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d
gas/testsuite/gas/i386/ilp32/x86-64-sse3.d
gas/testsuite/gas/i386/intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/sse-noavx.d
gas/testsuite/gas/i386/sse3.d
gas/testsuite/gas/i386/x86-64-sse-noavx.d
gas/testsuite/gas/i386/x86-64-sse3.d
opcodes/ChangeLog
opcodes/i386-dis.c

index c5ee576a42dc3b89678332362e420426349dbf69..c355559c5904099311f18230e66397fd5637935f 100644 (file)
@@ -1,3 +1,12 @@
+2017-11-24  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/intel.d, testsuite/gas/i386/opcode.d,
+       testsuite/gas/i386/opcode-suffix.d, testsuite/gas/i386/sse3.d,
+       testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/x86-64-sse3.d,
+       testsuite/gas/i386/x86-64-sse-noavx.d,
+       testsuite/gas/i386/ilp32/x86-64-sse3.d,
+       testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Adjust expectations.
+
 2017-11-23  Jim Wilson  <jimw@sifive.com>
 
        * testsuite/gas/all/err-fakelabel.s (dg-error): Also accept fatal error
index bc898297c850d1fc9e28a870f8fd94568fc35644..cb9fa05b29dde0f7e0b251e3c0ac3d307436af2e 100644 (file)
@@ -16,7 +16,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 2d f7                cvtps2pi %xmm7,%mm6
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
-[      ]*[a-f0-9]+:    df 08                   fisttp \(%rax\)
+[      ]*[a-f0-9]+:    df 08                   fisttps \(%rax\)
+[      ]*[a-f0-9]+:    db 08                   fisttpl \(%rax\)
 [      ]*[a-f0-9]+:    dd 08                   fisttpll \(%rax\)
 [      ]*[a-f0-9]+:    0f ae e8                lfence 
 [      ]*[a-f0-9]+:    0f f7 c7                maskmovq %mm7,%mm0
index a5cb3cac7577bdc9ef6cb2db118278174a70306b..77b24447d11d57554e360dd128b66fd785666808 100644 (file)
@@ -11,7 +11,7 @@ Disassembly of section .text:
    4:  66 0f d0 ca [   ]*addsubpd %xmm2,%xmm1
    8:  f2 0f d0 13 [   ]*addsubps \(%rbx\),%xmm2
    c:  f2 0f d0 dc [   ]*addsubps %xmm4,%xmm3
-  10:  df 88 90 90 90 00 [     ]*fisttp 0x909090\(%rax\)
+  10:  df 88 90 90 90 00 [     ]*fisttps 0x909090\(%rax\)
   16:  db 88 90 90 90 00 [     ]*fisttpl 0x909090\(%rax\)
   1c:  dd 88 90 90 90 00 [     ]*fisttpll 0x909090\(%rax\)
   22:  66 0f 7c 65 00 [        ]*haddpd 0x0\(%rbp\),%xmm4
index 8401d10906f97a5f6f500323cda8468ba8e1a6eb..3f2c3466fad6b0c05d6395a8b84253f300177919 100644 (file)
@@ -221,8 +221,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    db 90 90 90 90 90 [     ]*fistl  -0x6f6f6f70\(%eax\)
 [      ]*[a-f0-9]+:    dc 90 90 90 90 90 [     ]*fcoml  -0x6f6f6f70\(%eax\)
 [      ]*[a-f0-9]+:    dd 90 90 90 90 90 [     ]*fstl   -0x6f6f6f70\(%eax\)
-[      ]*[a-f0-9]+:    de 90 90 90 90 90 [     ]*ficom  -0x6f6f6f70\(%eax\)
-[      ]*[a-f0-9]+:    df 90 90 90 90 90 [     ]*fist   -0x6f6f6f70\(%eax\)
+[      ]*[a-f0-9]+:    de 90 90 90 90 90 [     ]*ficoms -0x6f6f6f70\(%eax\)
+[      ]*[a-f0-9]+:    df 90 90 90 90 90 [     ]*fists  -0x6f6f6f70\(%eax\)
 [      ]*[a-f0-9]+:    e0 90 [         ]*loopne (0x)?260.*
 [      ]*[a-f0-9]+:    e1 90 [         ]*loope  (0x)?262.*
 [      ]*[a-f0-9]+:    e2 90 [         ]*loop   (0x)?264.*
@@ -692,7 +692,7 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    de e3                   fsubp  %st,%st\(3\)
 [      ]*[a-f0-9]+:    de e3                   fsubp  %st,%st\(3\)
 [      ]*[a-f0-9]+:    de e3                   fsubp  %st,%st\(3\)
-[      ]*[a-f0-9]+:    de 3b                   fidivr \(%ebx\)
+[      ]*[a-f0-9]+:    de 3b                   fidivrs \(%ebx\)
 [      ]*[a-f0-9]+:    da 3b                   fidivrl \(%ebx\)
 [      ]*[a-f0-9]+:    0f 4a 90 90 90 90 90    cmovp  -0x6f6f6f70\(%eax\),%edx
 [      ]*[a-f0-9]+:    0f 4b 90 90 90 90 90    cmovnp -0x6f6f6f70\(%eax\),%edx
index 059a10cd47077898a53be6caca87e62fb0e0e5d2..8d7716b6fa81a27ed6fac2dc10e9eb279a49a6c2 100644 (file)
@@ -219,8 +219,8 @@ Disassembly of section .text:
  *[0-9a-f]+:   db 90 90 90 90 90[      ]+fistl[        ]+-0x6f6f6f70\(%eax\)
  *[0-9a-f]+:   dc 90 90 90 90 90[      ]+fcoml[        ]+-0x6f6f6f70\(%eax\)
  *[0-9a-f]+:   dd 90 90 90 90 90[      ]+fstl[         ]+-0x6f6f6f70\(%eax\)
- *[0-9a-f]+:   de 90 90 90 90 90[      ]+ficom       ]+-0x6f6f6f70\(%eax\)
- *[0-9a-f]+:   df 90 90 90 90 90[      ]+fist        ]+-0x6f6f6f70\(%eax\)
+ *[0-9a-f]+:   de 90 90 90 90 90[      ]+ficoms[       ]+-0x6f6f6f70\(%eax\)
+ *[0-9a-f]+:   df 90 90 90 90 90[      ]+fists[        ]+-0x6f6f6f70\(%eax\)
  *[0-9a-f]+:   e0 90[  ]+loopnel (0x)?25c.*
  *[0-9a-f]+:   e1 90[  ]+loopel (0x)?25e.*
  *[0-9a-f]+:   e2 90[  ]+loopl[        ]+(0x)?260.*
index f2897ff38d877eabf11fab5013767456e8f51a46..a4f2e595bf6af9de8be0b9e480e142e9f818a187 100644 (file)
@@ -218,8 +218,8 @@ Disassembly of section .text:
  2ac:  db 90 90 90 90 90 [     ]*fistl  -0x6f6f6f70\(%eax\)
  2b2:  dc 90 90 90 90 90 [     ]*fcoml  -0x6f6f6f70\(%eax\)
  2b8:  dd 90 90 90 90 90 [     ]*fstl   -0x6f6f6f70\(%eax\)
- 2be:  de 90 90 90 90 90 [     ]*ficom  -0x6f6f6f70\(%eax\)
- 2c4:  df 90 90 90 90 90 [     ]*fist   -0x6f6f6f70\(%eax\)
+ 2be:  de 90 90 90 90 90 [     ]*ficoms -0x6f6f6f70\(%eax\)
+ 2c4:  df 90 90 90 90 90 [     ]*fists  -0x6f6f6f70\(%eax\)
  2ca:  e0 90 [         ]*loopne (0x)?25c.*
  2cc:  e1 90 [         ]*loope  (0x)?25e.*
  2ce:  e2 90 [         ]*loop   (0x)?260.*
index dbf6224a5381c01fa419eb2c31f5ec146ff3453f..d42290915096c1ddcd0546cbecac96f443041e26 100644 (file)
@@ -14,7 +14,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 2d f7                cvtps2pi %xmm7,%mm6
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
-[      ]*[a-f0-9]+:    df 08                   fisttp \(%eax\)
+[      ]*[a-f0-9]+:    df 08                   fisttps \(%eax\)
+[      ]*[a-f0-9]+:    db 08                   fisttpl \(%eax\)
 [      ]*[a-f0-9]+:    dd 08                   fisttpll \(%eax\)
 [      ]*[a-f0-9]+:    0f ae e8                lfence 
 [      ]*[a-f0-9]+:    0f f7 c7                maskmovq %mm7,%mm0
index 73ea486e9e4bd336f636861c1aacf153fe77cca4..3b12389b617b1835571b3ec1b0276e5de27d06e0 100644 (file)
@@ -10,7 +10,7 @@ Disassembly of section .text:
    4:  66 0f d0 ca [   ]*addsubpd %xmm2,%xmm1
    8:  f2 0f d0 13 [   ]*addsubps \(%ebx\),%xmm2
    c:  f2 0f d0 dc [   ]*addsubps %xmm4,%xmm3
-  10:  df 88 90 90 90 90 [     ]*fisttp -0x6f6f6f70\(%eax\)
+  10:  df 88 90 90 90 90 [     ]*fisttps -0x6f6f6f70\(%eax\)
   16:  db 88 90 90 90 90 [     ]*fisttpl -0x6f6f6f70\(%eax\)
   1c:  dd 88 90 90 90 90 [     ]*fisttpll -0x6f6f6f70\(%eax\)
   22:  66 0f 7c 65 00 [        ]*haddpd 0x0\(%ebp\),%xmm4
index 5fa1fea70084c4e98c5cb02cb56678850d32fb6a..d500a20bb2b55cc3932a3c6106779e00db5611f8 100644 (file)
@@ -15,7 +15,8 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 2d f7                cvtps2pi %xmm7,%mm6
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
-[      ]*[a-f0-9]+:    df 08                   fisttp \(%rax\)
+[      ]*[a-f0-9]+:    df 08                   fisttps \(%rax\)
+[      ]*[a-f0-9]+:    db 08                   fisttpl \(%rax\)
 [      ]*[a-f0-9]+:    dd 08                   fisttpll \(%rax\)
 [      ]*[a-f0-9]+:    0f ae e8                lfence 
 [      ]*[a-f0-9]+:    0f f7 c7                maskmovq %mm7,%mm0
index c6c25422ae321de37bee5e27cb1821cee8529a7b..e4bd3dfd0183ac3b1c2c8b2a46d27811e239c7c2 100644 (file)
@@ -10,7 +10,7 @@ Disassembly of section .text:
    4:  66 0f d0 ca [   ]*addsubpd %xmm2,%xmm1
    8:  f2 0f d0 13 [   ]*addsubps \(%rbx\),%xmm2
    c:  f2 0f d0 dc [   ]*addsubps %xmm4,%xmm3
-  10:  df 88 90 90 90 00 [     ]*fisttp 0x909090\(%rax\)
+  10:  df 88 90 90 90 00 [     ]*fisttps 0x909090\(%rax\)
   16:  db 88 90 90 90 00 [     ]*fisttpl 0x909090\(%rax\)
   1c:  dd 88 90 90 90 00 [     ]*fisttpll 0x909090\(%rax\)
   22:  66 0f 7c 65 00 [        ]*haddpd 0x0\(%rbp\),%xmm4
index fdae24cfaa76438c0259b878f0bfcafd6d64aad5..4870723ae2aeb527f70d73d4b9c3431d28f7edcf 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-24  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-dis.c (float_mem): Add suffixes to fi* in the "de" and
+       "df" groups.
+
 2017-11-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
 
        * i386-opc.tbl: Add Disp8MemShift for AVX512 VAES instructions.
index 6b8d1dc8025f3e5addaf167f0c1e6da3a30fb0ba..ba48d9a31aada17357b97d65bba2149fadacb595 100644 (file)
@@ -13571,19 +13571,19 @@ static const char *float_mem[] = {
   "fNsaveIC",
   "fNstsw",
   /* de */
-  "fiadd",
-  "fimul",
-  "ficom",
-  "ficomp",
-  "fisub",
-  "fisubr",
-  "fidiv",
-  "fidivr",
+  "fiadd{s|}",
+  "fimul{s|}",
+  "ficom{s|}",
+  "ficomp{s|}",
+  "fisub{s|}",
+  "fisubr{s|}",
+  "fidiv{s|}",
+  "fidivr{s|}",
   /* df */
-  "fild",
-  "fisttp",
-  "fist",
-  "fistp",
+  "fild{s|}",
+  "fisttp{s|}",
+  "fist{s|}",
+  "fistp{s|}",
   "fbld",
   "fild{ll|}",
   "fbstp",
This page took 0.036846 seconds and 4 git commands to generate.