This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

missing feature in EGCS ???


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 Institute
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]