forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
M68k experimental backend support
Min-Yih Hsu edited this page Mar 11, 2021
·
3 revisions
@mshockwave is a PhD student working on an experimental backend for LLVM targeting Motorola 68000 series CPUs (aka m68k).
$ cmake ... -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;"
$ sudo apt install binutils-m68k-linux-gnu
$ ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- make CC=clang -j71 defconfig
$ ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- make CC=clang -j71
We are using LLVM Bugzilla to track bugs, features and TODOs. Please click on "Browse" > "libraries" > "Backend: M68k" to see all the relevant items.
Currently the issue that is more relevant to clang-built-linux is lacking support on some assembly syntax, given the fact that the backend is using integrated assembler, which is not as mature as existing GNU AS (i.e. m68k-unknown-linux-as
).