aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/i386.h
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2001-01-24 07:32:34 +0000
committerAlan Modra <modra@gmail.com>2001-01-24 07:32:34 +0000
commit77ab85cb32151beb17890b2006444e95e61cb6fb (patch)
tree32edcbab14ddb02bd235348fbcb3c303e131ddbe /include/opcode/i386.h
parent174f1a392e5cf411710edaa212545e208270b24a (diff)
downloadnewlib-77ab85cb32151beb17890b2006444e95e61cb6fb.zip
newlib-77ab85cb32151beb17890b2006444e95e61cb6fb.tar.gz
newlib-77ab85cb32151beb17890b2006444e95e61cb6fb.tar.bz2
Fix swapgs instruction.
Diffstat (limited to 'include/opcode/i386.h')
-rw-r--r--include/opcode/i386.h6
1 files changed, 3 insertions, 3 deletions
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} }