aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-10-16 16:33:17 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-10-16 16:33:17 +0000
commit995cef8c87f707f26ce29dee362b1f48012df938 (patch)
treebfc07c4da7bd25a1f20edd9b2dbb7159fd3d97c6
parent52a6c1feddc2e9f517ecb23b9b9068d79f30864a (diff)
downloadgdb-995cef8c87f707f26ce29dee362b1f48012df938.zip
gdb-995cef8c87f707f26ce29dee362b1f48012df938.tar.gz
gdb-995cef8c87f707f26ce29dee362b1f48012df938.tar.bz2
2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10775 * doc/c-i386.texi: Mention the 8 extra control registers for x86-64. Mention .code64 directive.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/doc/c-i386.texi8
2 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2888010..3531c21 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/10775
+ * doc/c-i386.texi: Mention the 8 extra control registers for
+ x86-64.
+ Mention .code64 directive.
+
2009-10-15 Alan Modra <amodra@bigpond.net.au>
PR gas/1491
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index cf0bfa8..50e6e98 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -513,6 +513,9 @@ 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
@@ -812,8 +815,9 @@ or 64-bit x86-64 code depending on the default configuration,
it also supports writing code to run in real mode or in 16-bit protected
mode code segments. To do this, put a @samp{.code16} or
@samp{.code16gcc} directive before the assembly language instructions to
-be run in 16-bit mode. You can switch @code{@value{AS}} back to writing
-normal 32-bit code with the @samp{.code32} directive.
+be run in 16-bit mode. You can switch @code{@value{AS}} to writing
+32-bit code with the @samp{.code32} directive or 64-bit code with the
+@samp{.code64} directive.
@samp{.code16gcc} provides experimental support for generating 16-bit
code from gcc, and differs from @samp{.code16} in that @samp{call},