PATCH: Allow cs/ds in 64bit for branch hints

H. J. Lu hjl@lucon.org
Thu Jul 22 19:12:00 GMT 2004


On Thu, Jul 22, 2004 at 12:06:56PM -0700, H. J. Lu wrote:
> cs/ds can be used as branch hints in 64bit. I will check this in
> shortly.
> 
> 
> H.J.

This is the actual patch I checked in.


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:09:15.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, 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



More information about the Binutils mailing list