* Global variables in registers with DEC C
@ 1995-08-14 4:00 Malcolm Beattie
0 siblings, 0 replies; only message in thread
From: Malcolm Beattie @ 1995-08-14 4:00 UTC (permalink / raw)
I'm doing some low-level optimisation of perl5 and it turns out that
forcing a particular global variable into a register is a big win.
GNU C has an extension which allows this, via statements such as
register int foo asm("$9");
However, I cannot find how to do the same with DEC's C compiler
(I have the ordinary one and the GEM back-end one, i.e. cc -migrate)
or even if it's possible. Can anyone help?
--Malcolm
--
Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Oxford University Computing Services
"Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-08-14 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-14 4:00 Global variables in registers with DEC C Malcolm Beattie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox