This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
SSE min/max take2 - documentation
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: SSE min/max take2 - documentation
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sun, 25 Feb 2001 02:12:43 +0100
Hi
Here is necesary documentation update
Ne úno 25 01:48:00 CET 2001 Jan Hubicka <jh@suse.cz>
* rtl.texi (smin, smax): Clarify documentation about floating point
values.
* md.texi (min, max): Document
*** rtl.texi.old Sun Feb 25 01:46:26 2001
--- rtl.texi Sun Feb 25 01:47:33 2001
*************** the quotient.
*** 1504,1509 ****
--- 1504,1511 ----
@itemx (smax:@var{m} @var{x} @var{y})
Represents the smaller (for @code{smin}) or larger (for @code{smax}) of
@var{x} and @var{y}, interpreted as signed integers in mode @var{m}.
+ The code can be also used to for floating point values. In that case
+ result on two zeros or operands where one is NaN is undefined.
@findex umin
@findex umax
*** md.texi.old Sun Feb 25 02:16:09 2001
--- md.texi Sun Feb 25 02:17:13 2001
*************** means of constraints requiring operands
*** 2087,2092 ****
--- 2087,2097 ----
@itemx @samp{smin@var{m}3}, @samp{smax@var{m}3}, @samp{umin@var{m}3}, @samp{umax@var{m}3}
@itemx @samp{and@var{m}3}, @samp{ior@var{m}3}, @samp{xor@var{m}3}
Similar, for other arithmetic operations.
+ @cindex @code{min@var{m}3} instruction pattern
+ @cindex @code{max@var{m}3} instruction pattern
+ @itemx @samp{min@var{m}3}, @samp{max@var{m}3}, @samp{min@var{m}3}, @samp{max@var{m}3}
+ Floating point min and max operations. Result is undefined in case one of
+ operand is NaN or both are zero.
@cindex @code{mulhisi3} instruction pattern
@item @samp{mulhisi3}