diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-11-27 14:49:30 +0000 |
---|---|---|
committer | Tamar Christina <tnfchris@gcc.gnu.org> | 2018-11-27 14:49:30 +0000 |
commit | cb369975b9663782c9f695c374bb6acc9aa706d8 (patch) | |
tree | 6ae25414f34bac912dfe98edec7f3e7567222f6e | |
parent | facf0354cfdaa555f376311b9d3c8fec79747f09 (diff) | |
download | gcc-cb369975b9663782c9f695c374bb6acc9aa706d8.zip gcc-cb369975b9663782c9f695c374bb6acc9aa706d8.tar.gz gcc-cb369975b9663782c9f695c374bb6acc9aa706d8.tar.bz2 |
Document the xorsign optab.
2018-11-27 Tamar Christina <tamar.christina@arm.com>
* doc/md.texi (xorsign): Document it.
From-SVN: r266510
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/md.texi | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ecc476..9ada909 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 895309b..aa90576 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 |