Re: Inefficient ia64 system call implementation in glibc

From: Grant Grundler <iod00d_at_hp.com>
Date: 2003-09-20 03:29:41
On Fri, Sep 19, 2003 at 09:32:18AM -0700, H. J. Lu wrote:
> The inline ia64 system call assumes all values passed to kernel are
> signed 64bit. It does sign extension if the incoming arg is not signed
> 64bit.

AFAIK, All compilers do this. The HPUX performance team was on a rampage
to replace signed variables with "unsigned" whereever possible just for
this reason.

See example 2 in section "4.5.1 Data Types" (page 16 of 17):
	http://devresource.hp.com/STK/partner/PA_PerfGuide_vs2.pdf

BTW, don't dismiss this just because it talks about parisc.
I'd guess +90% of this paper applies to ia64 as well.

grant
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 19 13:29:52 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:17 EST