11.07.2015 Views

Building an LLVM backend

Building an LLVM backend

Building an LLVM backend

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example target: LEG●●●Simple, RISC-like architecture– Very small subset of ARM12 integer registers (32-bit)– r0, r1, …, r9, sp (stack pointer), lr (return address)Instructions:– 32-bit arithmetic (add, subtract, multiply, mad)– 32-bit register move, 16-bit const<strong>an</strong>t moves– load, store, br<strong>an</strong>ch, br<strong>an</strong>ch <strong>an</strong>d link6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!