aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/inval-avx512f.l64
-rw-r--r--gas/testsuite/gas/i386/inval-avx512f.s4
3 files changed, 45 insertions, 29 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index c0f5fc36d..bce81e5 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-15 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
+
+ * gas/i386/inval-avx512f.s: Add invalid test for gather instruction
+ with default mask.
+ * gas/i386/inval-avx512f.l: Update correspondingly.
+
2013-11-05 Yufeng Zhang <yufeng.zhang@arm.com>
* gas/aarch64/deprecated.d: New file.
diff --git a/gas/testsuite/gas/i386/inval-avx512f.l b/gas/testsuite/gas/i386/inval-avx512f.l
index 9b46fae..6c525f0 100644
--- a/gas/testsuite/gas/i386/inval-avx512f.l
+++ b/gas/testsuite/gas/i386/inval-avx512f.l
@@ -9,26 +9,28 @@
.*:12: Error: .*
.*:14: Error: .*
.*:15: Error: .*
-.*:18: Error: .*
-.*:19: Error: .*
+.*:17: Error: .*
.*:20: Error: .*
.*:21: Error: .*
-.*:21: Error: .*
-.*:22: Error: .*
.*:22: Error: .*
.*:23: Error: .*
.*:23: Error: .*
+.*:24: Error: .*
+.*:24: Error: .*
+.*:25: Error: .*
.*:25: Error: .*
-.*:26: Error: .*
+.*:27: Error: .*
.*:28: Error: .*
-.*:29: Error: .*
+.*:30: Error: .*
.*:31: Error: .*
-.*:32: Error: .*
.*:33: Error: .*
-.*:34: Error: .*
.*:35: Error: .*
.*:36: Error: .*
.*:37: Error: .*
+.*:38: Error: .*
+.*:39: Error: .*
+.*:40: Error: .*
+.*:41: Error: .*
GAS LISTING .*
@@ -48,24 +50,28 @@ GAS LISTING .*
[ ]*14[ ]+vcvtps2pd \(%eax\)\{%k1\}, %zmm1
[ ]*15[ ]+vcvtps2pd \(%eax\)\{z\}, %zmm1
[ ]*16[ ]+
-[ ]*17[ ]+\.intel_syntax noprefix
-[ ]*18[ ]+mov eax\{k1\}, \{sae\}
-[ ]*19[ ]+mov eax, \{sae\}
-[ ]*20[ ]+mov eax\{k2\}, ebx
-[ ]*21[ ]+vaddps zmm2\{z\}\{k1\}\{z\}, zmm1, zmm3
-[ ]*22[ ]+vaddps zmm2\{z\}, zmm1\{k3\}, zmm3
-[ ]*23[ ]+vaddps zmm2\{k2\}, zmm1\{k1\}, zmm3
-[ ]*24[ ]+
-[ ]*25[ ]+vcvtps2pd zmm1\{1to8\}, \[eax\]
-[ ]*26[ ]+vcvtps2pd zmm1, \[eax\]\{1to16\}
-[ ]*27[ ]+
-[ ]*28[ ]+vcvtps2pd zmm1, \[eax\]\{k1\}
-[ ]*29[ ]+vcvtps2pd zmm1, \[eax\]\{z\}
-[ ]*30[ ]+
-[ ]*31[ ]+vaddps zmm2, zmm1, QWORD PTR \[eax\]\{1to8\}
-[ ]*32[ ]+vaddps zmm2, zmm1, QWORD PTR \[eax\]\{1to16\}
-[ ]*33[ ]+vaddpd zmm2, zmm1, DWORD PTR \[eax\]\{1to8\}
-[ ]*34[ ]+vaddpd zmm2, zmm1, DWORD PTR \[eax\]\{1to16\}
-[ ]*35[ ]+vaddps zmm2, zmm1, ZMMWORD PTR \[eax\]\{1to16\}
-[ ]*36[ ]+vaddps zmm2, zmm1, DWORD PTR \[eax\]
-[ ]*37[ ]+vaddpd zmm2, zmm1, QWORD PTR \[eax\]
+[ ]*17[ ]+vgatherqpd \(%rdi,%zmm2,8\),%zmm6
+[ ]*18[ ]+
+[ ]*19[ ]+\.intel_syntax noprefix
+[ ]*20[ ]+mov eax\{k1\}, \{sae\}
+[ ]*21[ ]+mov eax, \{sae\}
+[ ]*22[ ]+mov eax\{k2\}, ebx
+[ ]*23[ ]+vaddps zmm2\{z\}\{k1\}\{z\}, zmm1, zmm3
+[ ]*24[ ]+vaddps zmm2\{z\}, zmm1\{k3\}, zmm3
+[ ]*25[ ]+vaddps zmm2\{k2\}, zmm1\{k1\}, zmm3
+[ ]*26[ ]+
+[ ]*27[ ]+vcvtps2pd zmm1\{1to8\}, \[eax\]
+[ ]*28[ ]+vcvtps2pd zmm1, \[eax\]\{1to16\}
+[ ]*29[ ]+
+[ ]*30[ ]+vcvtps2pd zmm1, \[eax\]\{k1\}
+[ ]*31[ ]+vcvtps2pd zmm1, \[eax\]\{z\}
+[ ]*32[ ]+
+[ ]*33[ ]+vgatherqpd zmm6, ZMMWORD PTR \[rdi\+zmm2\*8\]
+[ ]*34[ ]+
+[ ]*35[ ]+vaddps zmm2, zmm1, QWORD PTR \[eax\]\{1to8\}
+[ ]*36[ ]+vaddps zmm2, zmm1, QWORD PTR \[eax\]\{1to16\}
+[ ]*37[ ]+vaddpd zmm2, zmm1, DWORD PTR \[eax\]\{1to8\}
+[ ]*38[ ]+vaddpd zmm2, zmm1, DWORD PTR \[eax\]\{1to16\}
+[ ]*39[ ]+vaddps zmm2, zmm1, ZMMWORD PTR \[eax\]\{1to16\}
+[ ]*40[ ]+vaddps zmm2, zmm1, DWORD PTR \[eax\]
+[ ]*41[ ]+vaddpd zmm2, zmm1, QWORD PTR \[eax\]
diff --git a/gas/testsuite/gas/i386/inval-avx512f.s b/gas/testsuite/gas/i386/inval-avx512f.s
index c2ab50e..b1ddba4 100644
--- a/gas/testsuite/gas/i386/inval-avx512f.s
+++ b/gas/testsuite/gas/i386/inval-avx512f.s
@@ -14,6 +14,8 @@ _start:
vcvtps2pd (%eax){%k1}, %zmm1
vcvtps2pd (%eax){z}, %zmm1
+ vgatherqpd (%rdi,%zmm2,8),%zmm6
+
.intel_syntax noprefix
mov eax{k1}, {sae}
mov eax, {sae}
@@ -28,6 +30,8 @@ _start:
vcvtps2pd zmm1, [eax]{k1}
vcvtps2pd zmm1, [eax]{z}
+ vgatherqpd zmm6, ZMMWORD PTR [rdi+zmm2*8]
+
vaddps zmm2, zmm1, QWORD PTR [eax]{1to8}
vaddps zmm2, zmm1, QWORD PTR [eax]{1to16}
vaddpd zmm2, zmm1, DWORD PTR [eax]{1to8}