[PATCH] document copysign named patterns

David Edelsohn dje@watson.ibm.com
Fri Nov 11 04:03:00 GMT 2005


:ADDPATCH documentation:

	I noticed that the copysign patterns are not documented under
Standard Pattern Names in the machine description documentation.  Is the
following okay?

Thanks, David


	* doc/md.texi (copysign): Document.

Index: md.texi
===================================================================
*** md.texi	(revision 106727)
--- md.texi	(working copy)
*************** corresponds to the C data type @code{dou
*** 3306,3311 ****
--- 3306,3321 ----
  built-in function uses the mode which corresponds to the C data
  type @code{float}.
  
+ @cindex @code{copysign@var{m}3} instruction pattern
+ @item @samp{copysign@var{m}3}
+ Store a value with the magnitude of operand 1 and the sign of operand
+ 2 into operand 0.
+ 
+ The @code{copysign} built-in function of C always uses the mode which
+ corresponds to the C data type @code{double} and the @code{copysignf}
+ built-in function uses the mode which corresponds to the C data
+ type @code{float}.
+ 
  @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



More information about the Gcc-patches mailing list