This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: missing feature in EGCS ???
- To: e dot paire at ri dot silicomp dot com
- Subject: Re: missing feature in EGCS ???
- From: christian dot bruel at st dot com (Christian Bruel)
- Date: Tue, 06 Jul 1999 11:58:05 +0200
- Cc: egcs at egcs dot cygnus dot com
--------
Hello Eric !
gcc knows how many consecutive registers are needed to hold a multi-register
type (see the macro HARD_REGNO_NREGS). So the syntax
register long long bar asm("a5");
should be good enough.
Regards,
Christian
> Hi EGCS gurus,
>
> There is a special feature in EGCS for specifying a register for a local variable:
> "register int *foo asm ("a5");" (this is got from the manual).
>
> But I would like to know how I can do the same for a "long long" (DI type) one, when
> two registers are required ???
>
> A syntax like
> "register long long bar asm("a5", "a6");" would be nice. Anything that is doing the same
> thing with existing features is fine also (but would be worth to be documented at the
> same place).
>
> Thanks in advance,
> -Eric
> +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Eric PAIRE
> Web : http://www.ri.silicomp.com/~paire | Group SILICOMP - Research Institu
te
> Email: e.paire@ri.silicomp.com | 2, avenue de Vignate
> Phone: +33 (0) 476 63 48 71 | F-38610 Gieres
> Fax : +33 (0) 476 51 05 32 | FRANCE
>