Hi Finn! On 6/24/20 3:07 AM, Finn Thain wrote:
Very impressive! I imagine that creating an LLVM backend would be a massive undertaking. Does this backend bring any benefits compared with gcc? E.g. will it help gain support for other languages, like rust?
Yes, my primary goal was to be able to use Rust on m68k. I have already started on the Rust part [1]. And now I need an m68k expert to help with the ABI part [2].
Do you know if anyone has run the LLVM unit tests on Motorola silicon?
Not that I know of. I have successfully built LLVM natively on qemu-m68k, but clang currently doesn't work properly [3]. I have not looked into details yet why that doesn't work. Adrian
[1] https://github.com/glaubitz/rust/tree/m68k-linux [2] https://github.com/glaubitz/rust/blob/m68k-linux/src/librustc_target/abi/call/m68k.rs [3] https://github.com/M680x0/M680x0-mono-repo/issues/10
-- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@xxxxxxxxxx `. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913