RE: RFH: optabs code in the java front end

2010-09-12 Thread Boehm, Hans
0:08 AM > To: Joseph S. Myers > Cc: gcc@gcc.gnu.org; j...@gcc.gnu.org > Subject: Re: RFH: optabs code in the java front end > > On 11/09/10 21:21, Joseph S. Myers wrote: > > On Sat, 11 Sep 2010, Andrew Haley wrote: > > > >> The test tells us whether the back-end h

Re: RFH: optabs code in the java front end

2010-09-12 Thread Andrew Haley
On 11/09/10 21:21, Joseph S. Myers wrote: > On Sat, 11 Sep 2010, Andrew Haley wrote: > >> The test tells us whether the back-end has atomic builtins. If it doesn't >> then we generate calls to the libgcj back end. I really don't want gcj >> to generate calls to nonexistent __compare_and_swap_4 o

Re: RFH: optabs code in the java front end

2010-09-12 Thread Andrew Haley
On 11/09/10 20:28, Steven Bosscher wrote: > On Sat, Sep 11, 2010 at 8:48 PM, Andrew Haley wrote: >> On 09/10/2010 11:50 PM, Steven Bosscher wrote: >> >>> There is just one front-end file left that still has to #undef >>> IN_GCC_FRONTEND, allowing the front end to include RTL headers. The >>> one r

Re: RFH: optabs code in the java front end

2010-09-11 Thread Joseph S. Myers
On Sat, 11 Sep 2010, Andrew Haley wrote: > The test tells us whether the back-end has atomic builtins. If it doesn't > then we generate calls to the libgcj back end. I really don't want gcj > to generate calls to nonexistent __compare_and_swap_4 or somesuch. Maybe not to nonexistent functions,

Re: RFH: optabs code in the java front end

2010-09-11 Thread Steven Bosscher
On Sat, Sep 11, 2010 at 8:48 PM, Andrew Haley wrote: > On 09/10/2010 11:50 PM, Steven Bosscher wrote: > >> There is just one front-end file left that still has to #undef >> IN_GCC_FRONTEND, allowing the front end to include RTL headers. The >> one remaining file is java/builtins.c. >> >> In java/b

Re: RFH: optabs code in the java front end

2010-09-11 Thread Andrew Haley
On 09/10/2010 11:50 PM, Steven Bosscher wrote: > There is just one front-end file left that still has to #undef > IN_GCC_FRONTEND, allowing the front end to include RTL headers. The > one remaining file is java/builtins.c. > > In java/builtins.c there are (what appear to be) functions that > gene

Re: RFH: optabs code in the java front end

2010-09-10 Thread David Daney
I don't know the answers to your specific questions, but I do know that java questions might get faster response if cross posted to java@ (now CCed). David Daney On 09/10/2010 03:50 PM, Steven Bosscher wrote: Hello, There is just one front-end file left that still has to #undef IN_GCC_FRONT

RFH: optabs code in the java front end

2010-09-10 Thread Steven Bosscher
Hello, There is just one front-end file left that still has to #undef IN_GCC_FRONTEND, allowing the front end to include RTL headers. The one remaining file is java/builtins.c. In java/builtins.c there are (what appear to be) functions that generate code for Java builtins, and these functions loo