This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Re: Inefficient ia64 system call implementation in glibc
On Wed, Sep 24, 2003 at 10:36:21AM +0200, Andreas Schwab wrote:
> >> x+0 would work in this case; I'd guess it'd work for most of the
> >> cases that syscalls need to handle.
> >>
> >
> > This patch works for me.
> >
> >
> > H.J.
> > ---
> > 2003-09-22 H.J. Lu <hongjiu.lu@intel.com>
> >
> > * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_1): Use
> > __typeof ((outX) + 0) instead of long.
>
> Hopefully we don't have any occurences of LOAD_ARGS_n(...,0,..) where the
> kernel expects long.
I think that's very risky and could mean hard to find bugs.
I don't think the 0-1 cycle speedup is not worth the troubles.
Jakub