aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-05-23 00:18:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-05-23 00:18:52 +0000
commitcbc80391d0150f6926d2b18db4bafa7ce23f17a5 (patch)
tree24f41814139ef482cd1522dcb710e28d5eeb45d3 /gas
parentb30b0102f152c443fad128e76f058fb55040999e (diff)
downloadgdb-cbc80391d0150f6926d2b18db4bafa7ce23f17a5.zip
gdb-cbc80391d0150f6926d2b18db4bafa7ce23f17a5.tar.gz
gdb-cbc80391d0150f6926d2b18db4bafa7ce23f17a5.tar.bz2
gas/testsuite/
2008-05-22 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/sse-noavx.s: Add tests for cvtpd2pi, cvtpi2pd and cvttpd2pi. * gas/i386/x86-64-sse-noavx.s: Likewise. * gas/i386/sse-noavx.d: Updated. * gas/i386/x86-64-sse-noavx.d: Likewise. opcodes/ 2008-05-22 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add NoAVX to cvtpd2pi, cvtpi2pd and cvttpd2pi. * i386-tbl.h: Regenerated.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.d3
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.s3
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.d3
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.s3
5 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8236eeb..86a69ed 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,14 @@
2008-05-22 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/i386/sse-noavx.s: Add tests for cvtpd2pi, cvtpi2pd and
+ cvttpd2pi.
+ * gas/i386/x86-64-sse-noavx.s: Likewise.
+
+ * gas/i386/sse-noavx.d: Updated.
+ * gas/i386/x86-64-sse-noavx.d: Likewise.
+
+2008-05-22 H.J. Lu <hongjiu.lu@intel.com>
+
PR gas/6517
* gas/i386/avx.s: Add tests for unspecified memory operand
size in Intel syntax.
diff --git a/gas/testsuite/gas/i386/sse-noavx.d b/gas/testsuite/gas/i386/sse-noavx.d
index 4d5b6e6..518e9d5 100644
--- a/gas/testsuite/gas/i386/sse-noavx.d
+++ b/gas/testsuite/gas/i386/sse-noavx.d
@@ -8,8 +8,11 @@ Disassembly of section .text:
0+ <_start>:
[ ]*[a-f0-9]+: f2 0f 38 f0 d9 crc32b %cl,%ebx
+[ ]*[a-f0-9]+: 66 0f 2d d3 cvtpd2pi %xmm3,%mm2
+[ ]*[a-f0-9]+: 66 0f 2a d3 cvtpi2pd %mm3,%xmm2
[ ]*[a-f0-9]+: 0f 2a d3 cvtpi2ps %mm3,%xmm2
[ ]*[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]+: dd 08 fisttpll \(%eax\)
diff --git a/gas/testsuite/gas/i386/sse-noavx.s b/gas/testsuite/gas/i386/sse-noavx.s
index 53f5c92..e0a5b54 100644
--- a/gas/testsuite/gas/i386/sse-noavx.s
+++ b/gas/testsuite/gas/i386/sse-noavx.s
@@ -3,8 +3,11 @@
.text
_start:
crc32 %cl,%ebx
+ cvtpd2pi %xmm3,%mm2
+ cvtpi2pd %mm3,%xmm2
cvtpi2ps %mm3,%xmm2
cvtps2pi %xmm7,%mm6
+ cvttpd2pi %xmm4,%mm3
cvttps2pi %xmm4,%mm3
fisttp (%eax)
fisttpll (%eax)
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.d b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
index 3c84201..32846a6 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.d
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
@@ -9,8 +9,11 @@ Disassembly of section .text:
0+ <_start>:
[ ]*[a-f0-9]+: 48 0f c7 08 cmpxchg16b \(%rax\)
[ ]*[a-f0-9]+: f2 0f 38 f0 d9 crc32b %cl,%ebx
+[ ]*[a-f0-9]+: 66 0f 2d d3 cvtpd2pi %xmm3,%mm2
+[ ]*[a-f0-9]+: 66 0f 2a d3 cvtpi2pd %mm3,%xmm2
[ ]*[a-f0-9]+: 0f 2a d3 cvtpi2ps %mm3,%xmm2
[ ]*[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]+: dd 08 fisttpll \(%rax\)
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.s b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
index 309c928..08a8c22 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.s
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
@@ -4,8 +4,11 @@
_start:
cmpxchg16b (%rax)
crc32 %cl,%ebx
+ cvtpd2pi %xmm3,%mm2
+ cvtpi2pd %mm3,%xmm2
cvtpi2ps %mm3,%xmm2
cvtps2pi %xmm7,%mm6
+ cvttpd2pi %xmm4,%mm3
cvttps2pi %xmm4,%mm3
fisttp (%rax)
fisttpll (%rax)