Re: Modern compilers for ye olde architectures

Philipp Klaus Krause <pkk@spth.de>
Wed, 6 Oct 2021 18:20:34 +0200

          From comp.compilers

Related articles
[2 earlier articles]
Re: Modern compilers for ye olde architectures DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2021-10-05)
Re: Modern compilers for ye olde architectures derek@NOSPAM-knosof.co.uk (Derek Jones) (2021-10-06)
Re: Modern compilers for ye olde architectures laguest@archeia.com (Luke A. Guest) (2021-10-06)
Re: Modern compilers for ye olde architectures anton@mips.complang.tuwien.ac.at (2021-10-06)
Re: Modern compilers for ye olde architectures theom+news@chiark.greenend.org.uk (Theo) (2021-10-06)
Re: Modern compilers for ye olde architectures laguest@archeia.com (Luke A. Guest) (2021-10-06)
Re: Modern compilers for ye olde architectures pkk@spth.de (Philipp Klaus Krause) (2021-10-06)
Re: Modern compilers for ye olde architectures anton@mips.complang.tuwien.ac.at (2021-10-15)
Re: Modern compilers for ye olde architectures pkk@spth.de (Philipp Klaus Krause) (2021-10-18)
Re: Modern compilers for ye olde architectures pkk@spth.de (Philipp Klaus Krause) (2021-10-18)
Re: Modern compilers for ye olde architectures pkk@spth.de (Philipp Klaus Krause) (2021-10-18)
| List of all articles for this month |

From: Philipp Klaus Krause <pkk@spth.de>
Newsgroups: comp.compilers
Date: Wed, 6 Oct 2021 18:20:34 +0200
Organization: Compilers Central
References: 21-10-007 21-10-012
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="60402"; mail-complaints-to="abuse@iecc.com"
Keywords: architecture, code
Posted-Date: 06 Oct 2021 12:42:45 EDT
Content-Language: en-US

Am 06.10.21 um 09:56 schrieb Anton Ertl:
> So eventually computer architects introduced machines with
> general-purpose registers like the PDP-11, the VAX, and the RISCs; and
> compiler writers developed techniques like graph colouring to make
> good use of these architectures.
>
> Maybe with the increased memory and processing power available now,
> one could do better, but given that special-purpose registers are
> mostly a thing of the past, there has not been much research into
> that, that I am aware of.


See "Optimal Register Allocation in Polynomial Time". A graph-coloring
approach that can handle irregularities well (as long as there are not
too many registers). SDCC uses such a register allocator for some
backends, including z80.


Philipp


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.