Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread Jan Hubicka
> On Feb 13, 2008 2:49 PM, Michael Matz <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Wed, 13 Feb 2008, H.J. Lu wrote: > > > > > Our proposal is at > > > > > > http://gcc.gnu.org/ml/gcc/2007-12/msg00567.html > > > > > > For most cases, we can align stack with RBP/RSP. But > > > we need an extra reg

Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread Jan Hubicka
> Hi, > > On Wed, 13 Feb 2008, H.J. Lu wrote: > > > We need a callee-saved register for stack alignment. > > Can you expand on why? > > > In 64bit, our choices are rbx, and r12-r15. r12-r15 need the REX byte > > and r12 also needs the SIB byte. So I'd like to use rbx. x86-64 psABI > > says rb

Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread H.J. Lu
On Feb 13, 2008 2:49 PM, Michael Matz <[EMAIL PROTECTED]> wrote: > Hi, > > On Wed, 13 Feb 2008, H.J. Lu wrote: > > > Our proposal is at > > > > http://gcc.gnu.org/ml/gcc/2007-12/msg00567.html > > > > For most cases, we can align stack with RBP/RSP. But > > we need an extra register when there is dy

Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread Michael Matz
Hi, On Wed, 13 Feb 2008, H.J. Lu wrote: > Our proposal is at > > http://gcc.gnu.org/ml/gcc/2007-12/msg00567.html > > For most cases, we can align stack with RBP/RSP. But > we need an extra register when there is dynamic stack > allocation or nested functions. It has to be callee-saved > to work

gcc-4.2-20080213 is now available

2008-02-13 Thread gccadmin
Snapshot gcc-4.2-20080213 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.2-20080213/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.2 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread H.J. Lu
On Feb 13, 2008 1:52 PM, Michael Matz <[EMAIL PROTECTED]> wrote: > Hi, > > On Wed, 13 Feb 2008, H.J. Lu wrote: > > > We need a callee-saved register for stack alignment. > > Can you expand on why? Our proposal is at http://gcc.gnu.org/ml/gcc/2007-12/msg00567.html For most cases, we can align sta

Re: [discuss] When is RBX used for base pointer?

2008-02-13 Thread Michael Matz
Hi, On Wed, 13 Feb 2008, H.J. Lu wrote: > We need a callee-saved register for stack alignment. Can you expand on why? > In 64bit, our choices are rbx, and r12-r15. r12-r15 need the REX byte > and r12 also needs the SIB byte. So I'd like to use rbx. x86-64 psABI > says rbx is callee-saved and

When is RBX used for base pointer?

2008-02-13 Thread H.J. Lu
Hi, We need a callee-saved register for stack alignment. In 64bit, our choices are rbx, and r12-r15. r12-r15 need the REX byte and r12 also needs the SIB byte. So I'd like to use rbx. x86-64 psABI says rbx is callee-saved and optionally used as base pointer. However, I couldn't find an example whe

Re: Does Ada build on Linux/ia32?

2008-02-13 Thread Eric Botcazou
> I opened > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35186 Thanks! -- Eric Botcazou

GNAT/RTEMS ACATS Scripts

2008-02-13 Thread Joel Sherrill
Hi, I wondered if it was OK to add an rtems subdirectory to the gcc/gcc/testsuite/ada/acats and place the attached files in it. rtems_acats_scripts/rtems_init.c RTEMS Initialization and Configuration to run an Ada main with configuration to pass ACATS rtems_acats_scripts/Makefile.rtems

Re: Does Ada build on Linux/ia32?

2008-02-13 Thread H.J. Lu
I opened http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35186 H.J. On Feb 11, 2008 4:35 PM, Eric Botcazou <[EMAIL PROTECTED]> wrote: > > I don't know Ada to create a testcase. Can some Ada people help out? > > It's not very different from C++. Start from the command line you posted and > remove co