From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <004e01c3e7cd$73602aa0$8201a8c0@cc77109e> From: "Bruce Ellis" To: <9fans@cse.psu.edu> References: <4cb32d1fb3450006606a8527240f4ca1@plan9.bell-labs.com> Subject: Re: [9fans] remember when C compiler used to produce working code? i don't! MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Sat, 31 Jan 2004 18:40:04 +1100 Topicbox-Message-UUID: c87836d6-eacc-11e9-9e20-41e7f4b1d025 i've worked out how to do it in cc but it will produce a lot more code than the solution i presented. under the "rare, and perhaps stupid, things get what they deserve" unofficiaol clause of kenc it may be adequate. yes, only one example. i'm still thinking the cgen way is the better alternative. the asop code already has case analysis, yeah like bitfield *= i, and they all look alike and can be optimized further than they are (as discussed in private presto communication). i'm willing to do either. any comments from people who are very familiar with the compiler are welcome. comments about the "rare" philosophy are also welcome. brucee ----- Original Message ----- From: "David Presotto" To: <9fans@cse.psu.edu> Sent: Saturday, January 31, 2004 2:13 PM Subject: Re: [9fans] remember when C compiler used to produce working code? i don't! > You're right, copying the left node for OAS(OP) would be a bummer in cc. > We could conceivably do the work in cc but I can't see an easy way to do > it.