This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Allow cs/ds in 64bit for branch hints
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 22 Jul 2004 12:06:56 -0700
- Subject: PATCH: Allow cs/ds in 64bit for branch hints
cs/ds can be used as branch hints in 64bit. I will check this in
shortly.
H.J.
----
2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.
--- i386.h.bh 2004-07-22 10:29:33.000000000 -0700
+++ i386.h 2004-07-22 12:02:26.000000000 -0700
@@ -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, Cpu386, NoSuf|IsPrefix, { 0, 0, 0} },
#define DS_PREFIX_OPCODE 0x3e
-{"ds", 0, 0x3e, X, CpuNo64, NoSuf|IsPrefix, { 0, 0, 0} },
+{"ds", 0, 0x3e, X, Cpu386, 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