summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-10-16 16:33:14 +0000
committerH.J. Lu <hjl@lucon.org>2009-10-16 16:33:14 +0000
commit6077ce35c563ce807612f863673e900abdd370bc (patch)
tree8910adab43f325f77456538b2f9b11fcfa8a6bb3 /gas
parentcca8a3b9f90fc7b495cf8c75d4d9fe7697fc8353 (diff)
downloadbinutils-redhat-6077ce35c563ce807612f863673e900abdd370bc.tar.gz
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.
Diffstat (limited to 'gas')
-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 2888010019..3531c2159b 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 cf0bfa8f5d..50e6e98883 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},