Re:LLVM-MOS – Clang LLVM fork targeting the 6502
by asiekierka on Monday December 01, 2025 @03:56PM
(#46113093)
We already know what the main remaining issue is - LLVM-MOS's register allocator is far from optimal for the 6502 architecture. mysterymath is slowly working on what may become a more sutiable allocator.
[ Parent
| on HN ]
Re:LLVM-MOS – Clang LLVM fork targeting the 6502
by HarHarVeryFunny on Monday December 01, 2025 @05:04PM
(#46113946)
There is a video below of mysterymath presenting LLVM-MOS where he talks about reserving 32 bytes of zero page to present to LLVM as 16 16-bit registers, to be able to utilize it's register allocator, which does seem a sane approach.
https://www.youtube.com/watch?v=ejbTKtgSZI0
However his github doesn't show any activity on it in the last 2 years.
Re:LLVM-MOS – Clang LLVM fork targeting the 6502
by mysterymath on Monday December 01, 2025 @06:13PM
(#46114825)
Re:LLVM-MOS – Clang LLVM fork targeting the 6502
by HarHarVeryFunny on Tuesday December 02, 2025 @08:26AM
(#46120968)
My bad - was just looking at the main branch.