This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Print ints directly to streambuf
Richard Earnshaw writes:
> > On Tue, Feb 25, 2003 at 04:26:12PM -0800, Nathan Myers wrote:
> > > I wonder how often this is faster. Probably we can identify targets
> > > where it is, and add a flag in config.h. (In practice, most numbers
> > > are small, although maybe not most hex-formatted numbers.)
> >
> > Dunno. Definitely faster on i386, ia64, ppc, arm, alphaev67.
> >
>
> Well, ARM Architecture 5 or later...
>
> R.
>
Is there a macro or builtin command at compile time to tell whether
the builtin will translate to inline code or an out-of-line function?
If so, that would make the code simpler to write.
Jerry