Article View: gnu.gcc.help
Article #52169global variables in registers, esp. on [34]86?
From: Will Partain
Date: Mon, 01 Feb 1993 15:12
Date: Mon, 01 Feb 1993 15:12
13 lines
1240 bytes
1240 bytes
We are using the GCC `register int foo __asm__("g5")' extension to
"steal registers" for our Glasgow Haskell system. We've figured it
out for Sun4s and Sun3s (the only machines we have here).
What registers can you get away with stealing on a [34]86? Some of my
Linux-toting friends say "none", which is a depressing thought. Note
that we are prepared to post-process .s files and/or do other horrible
things, if it will get us more machine registers for our own use.
Ideas for other architectures (HP-PA, Alpha, MIPS, etc.) would also be
quite welcome. Thx.
Will "Registers are my life" Partain
Technical Details
Message-ID:
<9302011508.AA05344@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!dcs.gla.ac.UK!partainShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,40e59f4b0978bcde,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-01 07:12:55 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!dcs.gla.ac.UK!partain From: partain@dcs.gla.ac.UK (Will Partain) Newsgroups: gnu.gcc.help Subject: global variables in registers, esp. on [34]86? Date: 1 Feb 1993 10:12:55 -0500 Organization: GNUs Not Usenet Lines: 13 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9302011508.AA05344@life.ai.mit.edu>