aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-01-24 07:32:34 +0000
committerAlan Modra <amodra@gmail.com>2001-01-24 07:32:34 +0000
commit296bc5686a6677a7401a9704b34bfcf2c0728a20 (patch)
treec1039a887ca44c50d8ed2ed8c262a1f573a6358d
parentf813923cf34479e1cb13f8c14aa783505fd8acb0 (diff)
downloadgdb-296bc5686a6677a7401a9704b34bfcf2c0728a20.zip
gdb-296bc5686a6677a7401a9704b34bfcf2c0728a20.tar.gz
gdb-296bc5686a6677a7401a9704b34bfcf2c0728a20.tar.bz2
Fix swapgs instruction.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/i386.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 9878734..1384234 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-24 Karsten Keil <kkeil@suse.de>
+
+ * i386.h (i386_optab): Fix swapgs
+
2001-01-14 Alan Modra <alan@linuxcare.com.au>
* hppa.h: Describe new '<' and '>' operand types, and tidy
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index f6f7afd..07124c4 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -1304,9 +1304,9 @@ static const template i386_optab[] = {
{"pswapd", 2, 0x0f0f, 0xbb, Cpu3dnow|Cpu686, FP|Modrm|ImmExt, { RegMMX|LongMem, RegMMX, 0 } },
/* AMD extensions. */
-{"syscall", 0,0x0f05, X, CpuK6, NoSuf, { 0, 0, 0} },
-{"sysret", 0,0x0f07, X, CpuK6, lq_Suf|DefaultSize, { 0, 0, 0} },
-{"swapgs", 0,0x0f01, 7, Cpu64, NoSuf, { 0, 0, 0} },
+{"syscall", 0, 0x0f05, X, CpuK6, NoSuf, { 0, 0, 0} },
+{"sysret", 0, 0x0f07, X, CpuK6, lq_Suf|DefaultSize, { 0, 0, 0} },
+{"swapgs", 0, 0x0f01, 0xf8, Cpu64, NoSuf|ImmExt, { 0, 0, 0} },
/* sentinel */
{NULL, 0, 0, 0, 0, 0, { 0, 0, 0} }