This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Don't mention the 8 extra control registers


Hi,

Although assembler accepts cr0--cr15, not all control registers are valid.
People should read SDM when accessing them. I am checking in this patch
to revert it.

Thanks.


H.J.
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 37c74cf..f4f3750 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* doc/c-i386.texi: Don't mention the 8 extra control registers
+	for x86-64.
+
 2009-10-19  Doug Evans  <dje@sebabeach.org>
 
 	* config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 50e6e98..80760a2 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -513,9 +513,6 @@ the 4 8-bit registers: @samp{%sil}, @samp{%dil}, @samp{%bpl}, @samp{%spl}.
 the 8 debug registers: @samp{%db8}--@samp{%db15}.
 
 @item
-the 8 control registers: @samp{%cr8}--@samp{%cr15}.
-
-@item
 the 8 SSE registers: @samp{%xmm8}--@samp{%xmm15}.
 @end itemize
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]