This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Calls to built-in functions are not Binary Compatible
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 4 Mar 2006 10:43:21 +0000
- Subject: Re: Calls to built-in functions are not Binary Compatible
- References: <17413.59529.323500.55410@zapata.pink> <4408BD8E.2020405@redhat.com>
Bryce McKinlay writes:
> Doesn't this disable builtins mechanism entirely when
> -findirect-dispatch is used?
Yes.
> These builtins improve GCJ's performance significantly on some numeric
> code (scimark, for example).
So you don't use indirect dispatch, surely.
> Wouldn't it be better to fix whatever problem is causing direct
> calls to be generated rather than disabling them completely?
I don't understand your point -- this is the code that is causing
direct calls to be made. Built-in functions in gcc either generate
direct calls or they get replaced by inline code.
Andrew.