Welcome, Guest. Please login or register.

Author Topic: Fundraiser to support the development of LLVM for m68k  (Read 1723 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline adrian82Topic starter

Fundraiser to support the development of LLVM for m68k
« on: April 12, 2020, 04:38:01 PM »
Hello!

After a very successful fundraiser campaign on Bountysource.com to support the modernization and preservation of the m68k backend in GCC [1], we have started a new fundraiser which aims to support the development of an m68k backend for LLVM [2].

LLVM is a very powerful compiler toolchain [3] which has a strict separation between language frontends (C/C++/Fortran etc) and its backends (x86_64, arm, arm64 etc). This separation allows LLVM to be easily adopted as backends for other languages such as Rust, Julia or Swift which means that developers of LLVM frontend languages don't need to bother with backend development and can almost fully concentrate on the frontend.

Thus, adding an m68k backend to LLVM would open up the Amiga to a world of modern languages like Rust which are being adopted by more and more software projects. Getting m68k support into LLVM and consequently Rust (the latter being rather easy with just a couple of hundred lines of code) will make sure the Amiga - and any other m68k platform - won't fall behind in the world of modern software.

The goal of this campaign is to finalize the m68k LLVM backend written by Artyom Goncharov [4] who worked on the backend as a little learning project but stopped the development after the code reached a minimally usable form. There is already at least one experienced LLVM developer working on the code and I expect the first improvements for the backend to happen in the upcoming weeks.

Thanks,
Adrian

> [1] https://forum.amiga.org/index.php?topic=74313
> [2] https://www.bountysource.com/issues/90829856-llvm-complete-the-m68000-backend-so-it-can-be-merged-upstream
> [3] https://en.wikipedia.org/wiki/LLVM
> [4] https://github.com/M680x0/M680x0-llvm
- Amiga 1200 w/ Blizzard 1220/4 - ACA-1230/56MHz/64MB, OS3.9 + Debian unstable, Squirrel SCSI + CD-Writer and 160GB HDD
- Amiga 2000 ECS with A2090 and Genlock, OS 3.1
- Amiga 2000 with Blizzard 68060/128 MiB FastRAM
- Amiga 4000 Tower with Blizzard 68060/128 MiB FastRAM
- 2x Amiga 4000 with unknown accelerators
- 4x Amiga 500, Protar A500HD 2MB, C= A590 2MB, OS3.1
- Amiga 600 Standard + A601, OS3.1
- several 68k Macs
- Atari ST Mega
- 6
 

Offline kolla

Re: Fundraiser to support the development of LLVM for m68k
« Reply #1 on: May 03, 2020, 08:01:54 PM »
What happened to the bountysource page, I only get "internal server error" - did it vanish?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Fundraiser to support the development of LLVM for m68k
« Reply #2 on: May 03, 2020, 08:32:55 PM »
It didn't show up in a search on bountysource using LLVM as a search term either.
 

Offline adrian82Topic starter

Re: Fundraiser to support the development of LLVM for m68k
« Reply #3 on: June 24, 2020, 04:42:07 PM »
Hello!

A quick update. An LLVM developer working on the code has progressed the codebase far enough now that - with some additional fixes from me - it's now possible to cross-compile simple C programs with clang for Linux/m68k.

More details here: https://lists.debian.org/debian-68k/2020/06/msg00030.html

Adrian
- Amiga 1200 w/ Blizzard 1220/4 - ACA-1230/56MHz/64MB, OS3.9 + Debian unstable, Squirrel SCSI + CD-Writer and 160GB HDD
- Amiga 2000 ECS with A2090 and Genlock, OS 3.1
- Amiga 2000 with Blizzard 68060/128 MiB FastRAM
- Amiga 4000 Tower with Blizzard 68060/128 MiB FastRAM
- 2x Amiga 4000 with unknown accelerators
- 4x Amiga 500, Protar A500HD 2MB, C= A590 2MB, OS3.1
- Amiga 600 Standard + A601, OS3.1
- several 68k Macs
- Atari ST Mega
- 6
 
The following users thanked this post: Tygre

Offline OldAmigan

Re: Fundraiser to support the development of LLVM for m68k
« Reply #4 on: July 01, 2020, 07:09:34 PM »
I believe that at last years Amiwest, people dug in deep to give a bounty for this
 

Online nbache

Re: Fundraiser to support the development of LLVM for m68k
« Reply #5 on: July 01, 2020, 08:11:48 PM »
No, that was for the GCC compiler - see the first lines of the post in this thread.

Best regards,

Niels