Explaining my fast 6502 code generator
pubby.games
Explaining my fast 6502 code generator
1–10 of 52 posts
Re: Explaining my fast 6502 code generator
#2GCC and LLVM can target the 6502?!?
Re: Explaining my fast 6502 code generator
#3> my compiler generates faster code than GCC, LLVM, and every other compiler I compared it to GCC and LLVM can target the 6502?!?
Re: Explaining my fast 6502 code generator
#4Re: Explaining my fast 6502 code generator
#5> my compiler generates faster code than GCC, LLVM, and every other compiler I compared it to GCC and LLVM can target the 6502?!?
Re: Explaining my fast 6502 code generator
#6This is a Massalin superoptimizer.
Re: Explaining my fast 6502 code generator
#7Of-course, this is because the original code was quick and dirty. I wonder what improvement modern compilers could have added.
Re: Explaining my fast 6502 code generator
#8That said, I clicked on the link because it had "6502" in the title. And... this isn't very interesting as a retrocomputing activity. To be blunt: there's absolutely no way in hell a compiler architecture like that is ever going to be self-hosting in 64k of memory space.
Re: Explaining my fast 6502 code generator
#9Bookmarked this to read about optimizers, because it looks great. That said, I clicked on the link because it had "6502" in the title. And... this isn't very interesting as a retrocomputing activity. To be blunt: there's absolutely no way in hell a compiler architecture like that is ever going to be self-hosting in 64k of memory space.