search for: m6502

Displaying 2 results from an estimated 2 matches for "m6502".

Did you mean: 6502
2016 Feb 13
4
Register spilling fix for experimental 6502 backend
So I've been designing an experimental 6502 backend for LLVM. Link: <https://github.com/beholdnec/llvm-m6502> The 6502 only has a few registers, one accumulator and two indexes, none of which are large enough to hold an absolute pointer. Because of this, the backend really tests the power of LLVM's register allocator (RA). I've made a change to the RA that might be of interest to devs of othe...
2016 Feb 12
3
Experimental 6502 backend; memory operand folding problem
...together a 6502 backend for LLVM. The 6502 and its derivatives, of course, have powered countless microcomputers, game consoles and arcade machines over the past 40 years. The backend is just an experimental hobby project right now. The code is available here: <https://github.com/beholdnec/llvm-m6502>. This branch introduces a target called "m6502", which can be used in llc to compile some very simple functions. Only a few instructions are implemented, it's not useful for anything yet. There was another attempt in August of last year by c64scene-ar on GitHub to design a 6502 b...