Daniel Thornburgh

Results 74 issues of Daniel Thornburgh

The greedy register allocator is heuristic and imperfect; despite our best efforts, it may still spill values to the stack slot when it could have spilled them to imaginary registers....

optimization
p2

After getting some experience with NMI code for the NES, a fairly clear calling convention has emerged for such code. Typically, an interrupt handler will save A, X, and Y,...

enhancement
p2

It would be nice to have bare-metal, I'm the OS now configurations for the Atari 8-bit and Commodore family. This would allow writing games and demos that completely control the...

enhancement
p2

There are cases where the only use of an imaginary register is to feed a load or store of an absolute memory location. In such cases, it's often better for...

optimization
p2

Probably cross compile with a sysroot

enhancement
p2

We should have a way of detecting code size regressions so they can be diagnosed and fixed (if possible).

process
p2

The C standard requires that pointers to the same array in two different invocations of the same function be unequal. This is done by using a memcpy from a static...

optimization
p3

Even a simple jump table can cause the caller to be marked as possibly recursive: ```C void foo(void) {} void bar(void) {} extern char c; int main(void) { void (*routines[])(void)...

optimization
p2

It looks like Github Actions now has beta support for Apple Silicon; we should establish a llvm-mos-sdk builder for it.

enhancement
p1

It looks (cursorily) like we're within our rights to establish 24-bit integer types in stdint.h. The `_BitInt(24)` extension for this isn't very well known, and it's come up a few...

enhancement
p3