Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Hans-Peter Diettrich Newsgroups: comp.compilers Subject: Re: Modern compilers for ye olde architectures Date: Tue, 5 Oct 2021 22:12:46 +0200 Organization: Compilers Central Lines: 16 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <21-10-009@comp.compilers> References: <21-10-007@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="31462"; mail-complaints-to="abuse@iecc.com" Keywords: history Posted-Date: 05 Oct 2021 21:33:43 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <21-10-007@comp.compilers> Content-Language: de-DE Xref: csiph.com comp.compilers:2717 On 10/5/21 2:22 PM, Luke A. Guest wrote: > I have a Z80 project in mind and would like to build a compiler for a > Z80.  I was wondering if modern backend techniques can be applied > successfully for these old CPU's, i.e. SSA. > > I know GCC has backends for some older architectures, but these do weird > gymnastics such as implementing a virtual cpu in rtl and then lowering > further. I wonder what's the purpose of such compilers. Let a Z80 emulate some supported CPU and be happy :-) DoDi [Maybe it's retrocomputing, maybe it's some device with an embedded Z80. If that's all the computing you need, why pay for more? -John]