]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Document the xorsign optab.
authorTamar Christina <tamar.christina@arm.com>
Tue, 27 Nov 2018 14:49:30 +0000 (14:49 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Tue, 27 Nov 2018 14:49:30 +0000 (14:49 +0000)
2018-11-27  Tamar Christina  <tamar.christina@arm.com>

* doc/md.texi (xorsign): Document it.

From-SVN: r266510

gcc/ChangeLog
gcc/doc/md.texi

index 1ecc476d352ed0bbb067b63e2840c5886371dbbf..9ada9096aafacba2c90c522573119f7db2363fab 100644 (file)
@@ -1,3 +1,7 @@
+2018-11-27  Tamar Christina  <tamar.christina@arm.com>
+
+       * doc/md.texi (xorsign): Document it.
+
 2018-11-27  Martin Liska  <mliska@suse.cz>
 
        * config/gnu-user.h (TARGET_F951_OPTIONS): New.
index 895309b2f3c93a4f702f796787975dab9e2ef035..aa90576b34d15d0821ada4bf0c537043eaa1cf96 100644 (file)
@@ -6022,6 +6022,15 @@ vector floating-point mode.
 
 This pattern is not allowed to @code{FAIL}.
 
+@cindex @code{xorsign@var{m}3} instruction pattern
+@item @samp{xorsign@var{m}3}
+Equivalent to @samp{op0 = op1 * copysign (1.0, op2)}: store a value with
+the magnitude of operand 1 and the sign of operand 2 into operand 0.
+All operands have mode @var{m}, which is a scalar or vector
+floating-point mode.
+
+This pattern is not allowed to @code{FAIL}.
+
 @cindex @code{ffs@var{m}2} instruction pattern
 @item @samp{ffs@var{m}2}
 Store into operand 0 one plus the index of the least significant 1-bit