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] Documentation: NEON alignment specifiers


The attached patch enhances the GAS documentation by mentioning that the NEON alignment specifier is the ':' rather than the '@' specified by the ARM documentation.

Please let me know if OK to commit.

Thanks,
	Daniel.

ChangeLog:

2009-12-27 Daniel Gutson <dgutson@codesourcery.com>

        gas/
        * doc-c-arm.texi: Document NEON alignment specifiers.

--
Daniel Gutson
CodeSourcery
www.codesourcery.com
Index: gas/doc/c-arm.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arm.texi,v
retrieving revision 1.66
diff -u -p -r1.66 c-arm.texi
--- gas/doc/c-arm.texi	17 Nov 2009 16:31:50 -0000	1.66
+++ gas/doc/c-arm.texi	28 Dec 2009 02:24:37 -0000
@@ -339,6 +339,7 @@ features.  The default is to warn.
 * ARM-Chars::                Special Characters
 * ARM-Regs::                 Register Names
 * ARM-Relocations::	     Relocations
+* ARM-Neon-Alignment::	     NEON Alignment Specifiers
 @end menu
 
 @node ARM-Instruction-Set
@@ -406,6 +407,21 @@ Either @samp{#} or @samp{$} can be used 
 @cindex register names, ARM
 *TODO* Explain about ARM register naming, and the predefined names.
 
+@node ARM-Neon-Alignment
+@subsection NEON Alignment Specifiers
+
+@cindex alignment for NEON instructions
+Some NEON load/store instructions allow an optional address
+alignment qualifier.
+The ARM documentation specifies that this is indicated by
+@samp{@@ @var{align}}. However GAS already interprets
+the @samp{@@} character as a "line comment" start,
+so @samp{: @var{align}} is used instead.  For example:
+
+@smallexample
+        vld1.8 @{q0@}, [r0, :128]
+@end smallexample
+
 @node ARM Floating Point
 @section Floating Point
 

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