From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d190501211442704e47f0@mail.gmail.com> Date: Sat, 22 Jan 2005 09:42:12 +1100 From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 8c (pcc) In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Topicbox-Message-UUID: 341b1808-eace-11e9-9e20-41e7f4b1d025 i'm presuming that MIN() is the usual macro involving ? : and that i could probably fix this - tho i have no time at the moment. 8c generally avoids running out of registers rather well, though i dare you to follow the logic. as ? : is not common in plan9 code and not highly regarded i guess this case was missed. brucee On Fri, 21 Jan 2005 02:27:56 -0500, Russ Cox wrote: > > 1's die with error message : out of fixed registers, while 2's are OK. > > Could someone explain, why? > > Thanks, regards, > > ++pac. > > apparently the register allocator used for expressions > is not doing a good job when it runs out of registers. > when you rewrote the expressions to use explicit > temporaries, you simplified its job. > > russ >