This is the mail archive of the
mailing list for the GCC project.
Re: [DOC PATCH] Change the name of truncM2 insn pattern to btruncM2
Quoting Eric Botcazou <email@example.com>:
> > 2005-05-05 Uros Bizjak <firstname.lastname@example.org>
> > * doc/md.texi (Standard Names): Change insn pattern
> > name from truncM2 to btruncM2 for 'trunc' built-in description.
> > Add rintM2 insn pattern description to nearbyintM2 insn
> > pattern description.
> Sorry for being picky, but I think you're going to confuse back-end hackers.
> Either the patterns are the same and get rid of one of them, or they are not
> and document them separately.
They have the same functionality, but rint will raise the inexact exception
when the result differs in value from the argument. Do you think we should
emphasize this in gcc document? In this case, I would also suggest adding
separate description for rint:
Store the argument rounded according to the default rounding mode and
the inexact exception
when the result differs in value from the argument
The `nearbyint' and `rint' built-in functions of C always use the