Min-Yih Hsu via llvm-dev
2020-Sep-25 17:05 UTC
[llvm-dev] [cfe-dev] [RFC] Backend for Motorola 6800 series CPU (M68k)
Hi Chris,> On Sep 24, 2020, at 9:41 PM, Chris Hanson <cmh at mac.com> wrote: > > Thank you to everyone who worked on this! It looks like it's coming along well.Thank you :-)> > What are your plans for handling the variety of ABIs used on 68000 systems? ELF for Linux/NetBSD/SVR4 is certainly a reasonable starting point, but there was quite a bit of variety in that area.Currently we only support ELF for Linux. Our short-term goal is to fully support Debian for M68K, followed by NetBSD support. So it’s likely that we will not consider other ABIs any time soon. Thank you Min> > -- Chris >
Chris Hanson via llvm-dev
2020-Sep-25 21:16 UTC
[llvm-dev] [cfe-dev] [RFC] Backend for Motorola 6800 series CPU (M68k)
I know it's really early in the project's life, but another question I had: How does the generated 68K code perform, at least compared to modern GCC? -- Chris
John Paul Adrian Glaubitz via llvm-dev
2020-Sep-25 22:01 UTC
[llvm-dev] [cfe-dev] [RFC] Backend for Motorola 6800 series CPU (M68k)
Hello Chris! On 9/25/20 11:16 PM, Chris Hanson wrote:> I know it's really early in the project's life, but another question I had: > How does the generated 68K code perform, at least compared to modern GCC?I compiled a simple "Hello World" source in C both with a gcc-10 cross-compiler for m68k and LLVM/m68k with the default optimization settings. I'm attaching the original C source as well as the disassembled binary source for both compiler outputs. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz at debian.org `. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.c Type: text/x-csrc Size: 74 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200926/09df1957/attachment.c> -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.llvm.S Type: text/x-asm Size: 8063 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200926/09df1957/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: hello.gcc.S Type: text/x-asm Size: 7705 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200926/09df1957/attachment-0001.bin>