This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II


> > On Wed, 6 Nov 2002, Jan Hubicka wrote:
> > 
> > > OK, here is fifth update.
> > > Does it look ok now?  Hope so...
> > 
> > There should be testcases.  Except for rint*, these functions ought to be
> > optimized for constant arguments unconditionally.  (Even without
> > optimizations for constant arguments, you can still do execution tests for
> > the sanity of the built-ins.)
> 
> I would like to do optimizations next.  THe patch is already problematic
> enought.

But if you have idea for testcases just for the fact that the builtins
are recognized, I will add these.
Otherwise I will add testcases for the optimizations that will trigger
link errors when these does not happen.

Richard, any hints on how to fold-const these using the emulator?

Honza
> 
> Honza
> > 
> > -- 
> > Joseph S. Myers
> > jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]