diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/md.texi | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8aab0c7..2fefbb6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-06-18 Uros Bizjak <uros@kss-loka.si> + + * doc/md.texi (Standard Names): Change insn pattern name + from truncM2 to btruncM2 for 'trunc' built-in description. + Add rintM2 insn pattern description. + 2005-06-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * c-decl.c (locate_old_decl): Add format attribute. diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 81f5ebc..6a3b76e 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3100,8 +3100,8 @@ corresponds to the C data type @code{double} and the @code{floorf} built-in function uses the mode which corresponds to the C data type @code{float}. -@cindex @code{trunc@var{m}2} instruction pattern -@item @samp{trunc@var{m}2} +@cindex @code{btrunc@var{m}2} instruction pattern +@item @samp{btrunc@var{m}2} Store the argument rounded to integer towards zero. The @code{trunc} built-in function of C always uses the mode which @@ -3136,6 +3136,17 @@ corresponds to the C data type @code{double} and the @code{nearbyintf} built-in function uses the mode which corresponds to the C data type @code{float}. +@cindex @code{rint@var{m}2} instruction pattern +@item @samp{rint@var{m}2} +Store the argument rounded according to the default rounding mode and +raise the inexact exception when the result differs in value from +the argument + +The @code{rint} built-in function of C always uses the mode which +corresponds to the C data type @code{double} and the @code{rintf} +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 |