Article View: gnu.gcc.help
Article #52134Re: global variables in registers, esp. on [34]86?
From: James Van Artsdalen
Date: Sun, 07 Feb 1993 22:16
Date: Sun, 07 Feb 1993 22:16
16 lines
1296 bytes
1296 bytes
In <9302011508.AA05344@life.ai.mit.edu>, partain@dcs.gla.ac.UK (Will Partain) wrote: > 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. You can probably get away with using %ebx for a register variable. But every other register is individually needed by at least one pattern due to the architecture of the x86. PIC code for SysVr4/386 works by "stealing" %ebx, so you can't even use %ebx with -fpic. -- -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789
Technical Details
Message-ID:
<1993Feb7.221606.28526@raid.dell.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!portal!sdd.hp.com!swrinde!news.dell.com!jamesReferences:
<9302011508.AA05344@life.ai.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,40e59f4b0978bcde X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-07 14:16:06 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!portal!sdd.hp.com!swrinde!news.dell.com!james From: james@raid.dell.com (James Van Artsdalen) Subject: Re: global variables in registers, esp. on [34]86? Message-ID: <1993Feb7.221606.28526@raid.dell.com> Reply-To: james@raid.cactus.org (James Van Artsdalen) Organization: Dell Computer Co References: <9302011508.AA05344@life.ai.mit.edu> Distribution: gnu Date: Sun, 7 Feb 1993 22:16:06 GMT Lines: 16