[PATCH v2] builtins: (not just) rs6000: Add builtins for fegetround, feclearexcept and feraiseexcept [PR94193]

Segher Boessenkool segher@kernel.crashing.org
Thu Oct 1 20:08:19 GMT 2020


On Thu, Oct 01, 2020 at 08:08:01AM +0200, Richard Biener wrote:
> On Wed, 30 Sep 2020, Segher Boessenkool wrote:
> 
> > On Wed, Sep 30, 2020 at 09:02:34AM +0200, Richard Biener wrote:
> > > On Tue, 29 Sep 2020, Segher Boessenkool wrote:
> > > > I don't see much about optabs in the docs either.  Add some text to
> > > > optabs.def itself then?
> > > 
> > > All optabs are documented in doc/md.texi as 'instruction patterns'
> > 
> > Except for what seems to be the majority that isn't.
> 
> Really?  Everytime I looked for one I found it.

Yeah, all the obvious ones are documented of course.  I only looked at
the non-obvious ones now, to see where these fe* should go, and maybe I
just had some unlucky picks, but many of those are not documented it
seems.  "The majority are not" is a gross exaggeration ;-)

> > > This is where new optabs need to be documented.
> > 
> > It's going to be challenging to find a reasonable spot in there.
> > Oh well.
> 
> Put it next to fmin/fmax docs or sin, etc. - at least the section
> should be clear ;)  But yeah, patterns seem to be quite randomly
> "sorted"...

And no chapter toc etc.

Yeah, this should just go with the other fp things, of course.  Duh.
Thanks!


Segher


More information about the Gcc-patches mailing list