gas: Update x86 sse-noavx tests
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 26 Nov 2017 16:28:25 +0000 (08:28 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 26 Nov 2017 16:32:26 +0000 (08:32 -0800)
This fixed:

FAIL: i386 SSE without AVX equivalent
FAIL: x86-64 SSE without AVX equivalent
FAIL: x86-64 (ILP32) SSE without AVX equivalent

on x86-64.

* testsuite/gas/i386/sse-noavx.s: Add tests for fisttps and
fisttpl.
* testsuite/gas/i386/x86-64-sse-noavx.s: Likewise.
* testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Updated.
* testsuite/gas/i386/sse-noavx.d: Likewise.
* testsuite/gas/i386/x86-64-sse-noavx.d: Likewise.

gas/ChangeLog
gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d
gas/testsuite/gas/i386/sse-noavx.d
gas/testsuite/gas/i386/sse-noavx.s
gas/testsuite/gas/i386/x86-64-sse-noavx.d
gas/testsuite/gas/i386/x86-64-sse-noavx.s

index 13fee06986a999423c0e7662273a5d408f4fc6f5..79c5b877728e33b7e1b13e0ce888a87883c45d9c 100644 (file)
@@ -1,3 +1,12 @@
+2017-11-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/sse-noavx.s: Add tests for fisttps and
+       fisttpl.
+       * testsuite/gas/i386/x86-64-sse-noavx.s: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Updated.
+       * testsuite/gas/i386/sse-noavx.d: Likewise.
+       * testsuite/gas/i386/x86-64-sse-noavx.d: Likewise.
+
 2017-11-24  Jim Wilson  <jimw@sifive.com>
 
        * write.h (FAKE_LABEL_CHAR): Expand comment.
index cb9fa05b29dde0f7e0b251e3c0ac3d307436af2e..4a24c334435be635925881e47ddbb45dd0e400b0 100644 (file)
@@ -17,6 +17,7 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    df 08                   fisttps \(%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 
index d42290915096c1ddcd0546cbecac96f443041e26..0fbb874ccadd642d068e9bae8237f54c37d559cd 100644 (file)
@@ -15,6 +15,7 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    df 08                   fisttps \(%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 
index 900c9e5122d18f3b476e99ee8e58541e53e741ff..42d1c3dd365a073270ebdfb5aa77860636fc1a60 100644 (file)
@@ -10,6 +10,8 @@ _start:
  cvttpd2pi     %xmm4,%mm3
  cvttps2pi     %xmm4,%mm3
  fisttp (%eax)
+ fisttps (%eax)
+ fisttpl (%eax)
  fisttpll (%eax)
  lfence
  maskmovq      %mm7,%mm0
index d500a20bb2b55cc3932a3c6106779e00db5611f8..4d75f246cc178d56fad77e02e231390f7e7e1038 100644 (file)
@@ -16,6 +16,7 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    66 0f 2c dc             cvttpd2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    0f 2c dc                cvttps2pi %xmm4,%mm3
 [      ]*[a-f0-9]+:    df 08                   fisttps \(%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 
index 69e7e96792796a0a7429c4d49e896de12986a8b5..f1795ea5c165a6341b5bd60977cdadf1dc88fb8d 100644 (file)
@@ -11,6 +11,8 @@ _start:
  cvttpd2pi     %xmm4,%mm3
  cvttps2pi     %xmm4,%mm3
  fisttp (%rax)
+ fisttps (%rax)
+ fisttpl (%rax)
  fisttpll (%rax)
  lfence
  maskmovq      %mm7,%mm0