Skip to content

Let's give this another try with LLVM 15. Attempting to add a SNES backend target to LLVM.

Notifications You must be signed in to change notification settings

jaywuuu/llvm-snes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llvm-snes

Let's give this another try with LLVM 15.0.0.7. Attempting to add a SNES backend target to LLVM, then eventually add a driver using clang.

Recommended build steps:

mkdir build

cd build

cmake -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra' -DLLVM_TARGETS_TO_BUILD=SNES -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=On ../llvm

Set -DLLVM_TARGETS_TO_BUILD to desired targets.

Current Status

  • SNES target added to backend, but it's currently just a copy of the Sparc target with a bunch of changes to get the code to build. None of the binaries generated are functionally correct.

To Do:

  • Figure out what object format for SNES.
  • Add actual TD files.

About

Let's give this another try with LLVM 15. Attempting to add a SNES backend target to LLVM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published