LLVM backend for z80?

By PingPong

Prophet (3193)

PingPong's picture

05-08-2018, 21:09

I've seen some projects about this.
this will enable c++ programming on msx!
i would be curious about the huge machine code size generated for a simple thing like this.

typedef long long INT64;

INT64 add(INT64 a, INT64 b)
{
return b+a;
}

Login or register to post comments

By Grauw

Enlighted (7896)

Grauw's picture

05-08-2018, 21:57

That would be nice... Got any links to those projects?

By PingPong

Prophet (3193)

PingPong's picture

05-08-2018, 22:18

https://github.com/earl1k/llvm-z80
However i do not know the state of the project

By PingPong

Prophet (3193)

PingPong's picture

05-08-2018, 22:26

By Giangiacomo Zaffini 2

Expert (121)

Giangiacomo Zaffini 2's picture

06-08-2018, 12:46

If You want to stay on the edge please try and keep in touch with this community (and jacobly aka jacobly0, his port repository is this one)

TI-Planet compilateur C via LLVM

It is a long way, I guess. B-)

My MSX profile