Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #2722

Re: Modern compilers for ye olde architectures

From "Luke A. Guest" <laguest@archeia.com>
Newsgroups comp.compilers
Subject Re: Modern compilers for ye olde architectures
Date 2021-10-06 16:20 +0100
Organization Aioe.org NNTP Server
Message-ID <21-10-014@comp.compilers> (permalink)
References <21-10-007@comp.compilers> <21-10-013@comp.compilers>

Show all headers | View raw


On 06/10/2021 10:36, Theo wrote:
> Luke A. Guest <laguest@archeia.com> 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.
>
> There is, it seems, an LLVM backend for Z80:
> https://github.com/jacobly0/llvm-project
> (see the 'z80' branch)
> It appears TI calculators are the main use case.

That is long dead and cannot be merged into a newer branch, they made a
complete mess of the source tree there. That is pre llvm-3.

> I don't know the current status/functionality, but it would be fun to see
> what the various LLVM passes do to the generated code.
>
> It seems like there's been some work done on Rust for Z80 (and 6502):
> https://github.com/jacobly0/llvm-project/issues/15

Ok, just looked and seems there has been something done recently, last I
looked it was dead and ancient.

Back to comp.compilers | Previous | NextPrevious in thread | Find similar


Thread

Modern compilers for ye olde architectures "Luke A. Guest" <laguest@archeia.com> - 2021-10-05 13:22 +0100
  Re: Modern compilers for ye olde architectures David Brown <david.brown@hesbynett.no> - 2021-10-05 19:59 +0200
  Re: Modern compilers for ye olde architectures Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2021-10-05 22:12 +0200
  Re: Modern compilers for ye olde architectures Derek Jones <derek@NOSPAM-knosof.co.uk> - 2021-10-06 01:26 +0100
    Re: Modern compilers for ye olde architectures "Luke A. Guest" <laguest@archeia.com> - 2021-10-06 09:00 +0100
  Re: Modern compilers for ye olde architectures anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2021-10-06 07:56 +0000
    Re: Modern compilers for ye olde architectures Philipp Klaus Krause <pkk@spth.de> - 2021-10-06 18:20 +0200
      Re: Modern compilers for ye olde architectures anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2021-10-15 07:37 +0000
        Re: Modern compilers for ye olde architectures Philipp Klaus Krause <pkk@spth.de> - 2021-10-18 08:35 +0200
        Re: Modern compilers for ye olde architectures Philipp Klaus Krause <pkk@spth.de> - 2021-10-18 08:56 +0200
        Re: Modern compilers for ye olde architectures Philipp Klaus Krause <pkk@spth.de> - 2021-10-18 09:17 +0200
          Re: Modern compilers for ye olde architectures gah4 <gah4@u.washington.edu> - 2021-10-21 21:53 -0700
            Re: Modern compilers for ye olde architectures Kaz Kylheku <480-992-1380@kylheku.com> - 2021-10-22 17:28 +0000
    Re: Modern compilers for ye olde architectures dave_thompson_2@comcast.net - 2021-11-14 15:04 -0500
  Re: Modern compilers for ye olde architectures Theo <theom+news@chiark.greenend.org.uk> - 2021-10-06 10:36 +0100
    Re: Modern compilers for ye olde architectures "Luke A. Guest" <laguest@archeia.com> - 2021-10-06 16:20 +0100

csiph-web