From: Tamar Christina Date: Tue, 27 Nov 2018 14:49:30 +0000 (+0000) Subject: Document the xorsign optab. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb369975b9663782c9f695c374bb6acc9aa706d8;p=gcc.git Document the xorsign optab. 2018-11-27 Tamar Christina * doc/md.texi (xorsign): Document it. From-SVN: r266510 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ecc476d352..9ada9096aaf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-11-27 Tamar Christina + + * doc/md.texi (xorsign): Document it. + 2018-11-27 Martin Liska * config/gnu-user.h (TARGET_F951_OPTIONS): New. diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 895309b2f3c..aa90576b34d 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -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