Hello,
The documentation of the standard name pattern sincos is wrong about the
the operands for sine and cosine. Operand 0 is cosine and operand 1 is
sine, not the other way around.
The attached patch corrects this.
Tested with 'make info dvi pdf'.
Committed as obvious as rev 193424.
Cheers,
Oleg
ChangeLog:
* doc/md.texi (Standard Pattern Names For Generation): Fix
swapped sine and cosine operands in the sincos description.
Index: gcc/doc/md.texi
===================================================================
--- gcc/doc/md.texi (revision 193422)
+++ gcc/doc/md.texi (working copy)
@@ -4884,7 +4884,7 @@
@cindex @code{sincos@var{m}3} instruction pattern
@item @samp{sincos@var{m}3}
-Store the sine of operand 2 into operand 0 and the cosine of
+Store the cosine of operand 2 into operand 0 and the sine of
operand 2 into operand 1.
The @code{sin} and @code{cos} built-in functions of C always use the