4 ms·
I ran the C version of this benchmark using llvm-mos's Clang for the 6502. The results: 21.4 seconds 5793 bytes Which is middle of thepack for the Z80 benchma
by mysterymath 4y ago
I ran the C version of this benchmark using llvm-mos's Clang for the 6502. The results:
21.4 seconds
5793 bytes
Which is middle of thepack for the Z80 benchmarks, but well below the 6502 ones. We're also using a slightly tweaked embedded printf written in C, so this could probably be improved somewhat there, sans any compiler changes.
- bpye 4y agoWow, I didn't realise there was a project to add a 6502 target to LLVM. Now to get Rust working...
- mysterymath 4y agohttps://github.com/mrk-its/rust-mos https://github.com/mrk-its/rust-mos