From 9a45f1c2c473f41f4a302fd113e15b8bed612517 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 22 Jul 2004 19:10:49 +0000 Subject: [PATCH] 2004-07-22 H.J. Lu * i386.h (i386_optab): Allow cs/ds in 64bit for branch hints. --- include/opcode/ChangeLog | 4 ++++ include/opcode/i386.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 1674c33..4ed2b86 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2004-07-22 H.J. Lu + + * i386.h (i386_optab): Allow cs/ds in 64bit for branch hints. + 2004-07-21 Jan Beulich * i386.h: Adjust instruction descriptions to better match the diff --git a/include/opcode/i386.h b/include/opcode/i386.h index 2b05dce..454a7fd 100644 --- a/include/opcode/i386.h +++ b/include/opcode/i386.h @@ -854,9 +854,9 @@ static const template i386_optab[] = {"lock", 0, 0xf0, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, {"wait", 0, 0x9b, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, #define CS_PREFIX_OPCODE 0x2e -{"cs", 0, 0x2e, X, CpuNo64, NoSuf|IsPrefix, { 0, 0, 0} }, +{"cs", 0, 0x2e, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, #define DS_PREFIX_OPCODE 0x3e -{"ds", 0, 0x3e, X, CpuNo64, NoSuf|IsPrefix, { 0, 0, 0} }, +{"ds", 0, 0x3e, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, #define ES_PREFIX_OPCODE 0x26 {"es", 0, 0x26, X, CpuNo64, NoSuf|IsPrefix, { 0, 0, 0} }, #define FS_PREFIX_OPCODE 0x64 -- 2.7.4