aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-06-14 05:18:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-06-14 05:18:35 -0700
commitefe30057d2fcf875e39efbe6cc2a6271decbbd2e (patch)
tree57c363a1af13faaa347c80ae7fec6662ff2def03
parent83015056b2bdfb53e4b4d59ffbb3574fc5dffd88 (diff)
downloadbinutils-efe30057d2fcf875e39efbe6cc2a6271decbbd2e.zip
binutils-efe30057d2fcf875e39efbe6cc2a6271decbbd2e.tar.gz
binutils-efe30057d2fcf875e39efbe6cc2a6271decbbd2e.tar.bz2
x86: Correct xsusldtrk mnemonic
The correct mnemonic is xsusldtrk, not xsuspldtrk. gas/ PR gas/26115 * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with xsusldtrk. * testsuite/gas/i386/tsxldtrk.s: Likewise. * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise. * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise. opcodes/ PR gas/26115 * i386-dis.c (prefix_table): Replace xsuspldtrk with xsusldtrk. * i386-opc.tbl: Likewise. * i386-tbl.h: Regenerated.
-rw-r--r--gas/ChangeLog9
-rw-r--r--gas/testsuite/gas/i386/tsxldtrk.d2
-rw-r--r--gas/testsuite/gas/i386/tsxldtrk.s2
-rw-r--r--gas/testsuite/gas/i386/x86-64-tsxldtrk.d2
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/i386-dis.c2
-rw-r--r--opcodes/i386-opc.tbl2
-rw-r--r--opcodes/i386-tbl.h2
8 files changed, 22 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 65450bc..0c74415 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,12 @@
+2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26115
+ * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
+ xsusldtrk.
+ * testsuite/gas/i386/tsxldtrk.s: Likewise.
+ * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
+ * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
+
2020-06-12 Nelson Chu <nelson.chu@sifive.com>
* testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
diff --git a/gas/testsuite/gas/i386/tsxldtrk.d b/gas/testsuite/gas/i386/tsxldtrk.d
index 26df4ca..457007c 100644
--- a/gas/testsuite/gas/i386/tsxldtrk.d
+++ b/gas/testsuite/gas/i386/tsxldtrk.d
@@ -8,6 +8,6 @@
Disassembly of section \.text:
0+ <_start>:
- +[a-f0-9]+: f2 0f 01 e8 xsuspldtrk[ ]*
+ +[a-f0-9]+: f2 0f 01 e8 xsusldtrk[ ]*
+[a-f0-9]+: f2 0f 01 e9 xresldtrk[ ]*
#pass
diff --git a/gas/testsuite/gas/i386/tsxldtrk.s b/gas/testsuite/gas/i386/tsxldtrk.s
index 3bbe9aa..c0fbf05 100644
--- a/gas/testsuite/gas/i386/tsxldtrk.s
+++ b/gas/testsuite/gas/i386/tsxldtrk.s
@@ -2,5 +2,5 @@
.text
_start:
- xsuspldtrk
+ xsusldtrk
xresldtrk
diff --git a/gas/testsuite/gas/i386/x86-64-tsxldtrk.d b/gas/testsuite/gas/i386/x86-64-tsxldtrk.d
index 8ef3446..e2e54f5 100644
--- a/gas/testsuite/gas/i386/x86-64-tsxldtrk.d
+++ b/gas/testsuite/gas/i386/x86-64-tsxldtrk.d
@@ -8,6 +8,6 @@
Disassembly of section \.text:
0+ <_start>:
- +[a-f0-9]+: f2 0f 01 e8 xsuspldtrk[ ]*
+ +[a-f0-9]+: f2 0f 01 e8 xsusldtrk[ ]*
+[a-f0-9]+: f2 0f 01 e9 xresldtrk[ ]*
#pass
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index d8fd4f7..a6adf71 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26115
+ * i386-dis.c (prefix_table): Replace xsuspldtrk with xsusldtrk.
+ * i386-opc.tbl: Likewise.
+ * i386-tbl.h: Regenerated.
+
2020-06-12 Nelson Chu <nelson.chu@sifive.com>
* riscv-opc.c (priv_specs): Remove v1.9 and PRIV_SPEC_CLASS_1P9.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 74c580c..441866d 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -3591,7 +3591,7 @@ static const struct dis386 prefix_table[][4] = {
{ "serialize", { Skip_MODRM }, PREFIX_OPCODE },
{ "setssbsy", { Skip_MODRM }, PREFIX_OPCODE },
{ Bad_Opcode },
- { "xsuspldtrk", { Skip_MODRM }, PREFIX_OPCODE },
+ { "xsusldtrk", { Skip_MODRM }, PREFIX_OPCODE },
},
/* PREFIX_0F01_REG_5_MOD_3_RM_1 */
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl
index 92cc9ba..af28e21 100644
--- a/opcodes/i386-opc.tbl
+++ b/opcodes/i386-opc.tbl
@@ -4085,7 +4085,7 @@ serialize, 0, 0x0f01e8, None, 3, CpuSERIALIZE, No_bSuf|No_wSuf|No_lSuf|No_sSuf|N
// TSXLDTRK instructions.
-xsuspldtrk, 0, 0xf20f01e8, None, 3, CpuTSXLDTRK, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { 0 }
+xsusldtrk, 0, 0xf20f01e8, None, 3, CpuTSXLDTRK, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { 0 }
xresldtrk, 0, 0xf20f01e9, None, 3, CpuTSXLDTRK, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { 0 }
// TSXLDTRK instructions end.
diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h
index 7fd694d..5bcefc6 100644
--- a/opcodes/i386-tbl.h
+++ b/opcodes/i386-tbl.h
@@ -59404,7 +59404,7 @@ const insn_template i386_optab[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0 } } } },
- { "xsuspldtrk", 0xf20f01e8, None, 3, 0,
+ { "xsusldtrk", 0xf20f01e8, None, 3, 0,
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,