[cfe-dev] [RFC] Backend for Motorola 6800 series CPU (M68k)

John Paul Adrian Glaubitz via cfe-dev cfe-dev at lists.llvm.org
Fri Sep 25 15:01:58 PDT 2020


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/cfe-dev/attachments/20200926/09df1957/attachment-0001.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/cfe-dev/attachments/20200926/09df1957/attachment-0002.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/cfe-dev/attachments/20200926/09df1957/attachment-0003.bin>


More information about the cfe-dev mailing list