aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-06-01 08:37:24 +0200
committerJan Beulich <jbeulich@suse.com>2018-06-01 08:37:24 +0200
commit647957107595c7f8209686577739240b7a222aba (patch)
treedc161001fdf2a430db04fd43aca7bbed3a59d146 /gas
parent030157d8a65afcc6292a4d3d183b816ed2ff7c57 (diff)
downloadgdb-647957107595c7f8209686577739240b7a222aba.zip
gdb-647957107595c7f8209686577739240b7a222aba.tar.gz
gdb-647957107595c7f8209686577739240b7a222aba.tar.bz2
x86/Intel: accept "oword ptr" for INVPCID
The insn is no different in this reagrd from INVEPT and INVVPID.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog10
-rw-r--r--gas/testsuite/gas/i386/invpcid-intel.d1
-rw-r--r--gas/testsuite/gas/i386/invpcid.d1
-rw-r--r--gas/testsuite/gas/i386/invpcid.s1
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid-intel.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-invpcid.s1
7 files changed, 16 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 93dc1c7..14f03bc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+2018-06-01 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/gas/i386/invpcid.s,
+ testsuite/gas/i386/x86-64-invpcid.s: Add test with explicit
+ "oword ptr".
+ * testsuite/gas/i386/invpcid.d,
+ testsuite/gas/i386/invpcid-intel.d,
+ testsuite/gas/i386/x86-64-invpcid.d,
+ testsuite/gas/i386/x86-64-invpcid-intel.d: Adjust expectations.
+
2018-05-30 Amit Pawar <amit.pawar@amd.com>
* config/tc-i386.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS.
diff --git a/gas/testsuite/gas/i386/invpcid-intel.d b/gas/testsuite/gas/i386/invpcid-intel.d
index f0b4dc9..8d1b5a9 100644
--- a/gas/testsuite/gas/i386/invpcid-intel.d
+++ b/gas/testsuite/gas/i386/invpcid-intel.d
@@ -11,4 +11,5 @@ Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid edx,\[eax\]
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid edx,\[eax\]
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid edx,\[eax\]
#pass
diff --git a/gas/testsuite/gas/i386/invpcid.d b/gas/testsuite/gas/i386/invpcid.d
index 3ebd202..3619e59 100644
--- a/gas/testsuite/gas/i386/invpcid.d
+++ b/gas/testsuite/gas/i386/invpcid.d
@@ -10,4 +10,5 @@ Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%eax\),%edx
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%eax\),%edx
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%eax\),%edx
#pass
diff --git a/gas/testsuite/gas/i386/invpcid.s b/gas/testsuite/gas/i386/invpcid.s
index 9f12731..32067cb 100644
--- a/gas/testsuite/gas/i386/invpcid.s
+++ b/gas/testsuite/gas/i386/invpcid.s
@@ -6,3 +6,4 @@ foo:
.intel_syntax noprefix
invpcid edx,[eax]
+ invpcid edx,oword ptr [eax]
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid-intel.d b/gas/testsuite/gas/i386/x86-64-invpcid-intel.d
index 35dc9e9..94a78617 100644
--- a/gas/testsuite/gas/i386/x86-64-invpcid-intel.d
+++ b/gas/testsuite/gas/i386/x86-64-invpcid-intel.d
@@ -11,4 +11,5 @@ Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid rdx,\[rax\]
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid rdx,\[rax\]
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid rdx,\[rax\]
#pass
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid.d b/gas/testsuite/gas/i386/x86-64-invpcid.d
index af0fc4a..7a3101a 100644
--- a/gas/testsuite/gas/i386/x86-64-invpcid.d
+++ b/gas/testsuite/gas/i386/x86-64-invpcid.d
@@ -10,4 +10,5 @@ Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%rax\),%rdx
[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%rax\),%rdx
+[ ]*[a-f0-9]+: 66 0f 38 82 10 invpcid \(%rax\),%rdx
#pass
diff --git a/gas/testsuite/gas/i386/x86-64-invpcid.s b/gas/testsuite/gas/i386/x86-64-invpcid.s
index 89dd211..5db90af 100644
--- a/gas/testsuite/gas/i386/x86-64-invpcid.s
+++ b/gas/testsuite/gas/i386/x86-64-invpcid.s
@@ -6,3 +6,4 @@ foo:
.intel_syntax noprefix
invpcid rdx,[rax]
+ invpcid rdx,oword ptr [rax]