5
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 04 Oct 2024
5 points (100.0% liked)
The C Programming Language
632 readers
5 users here now
Everything related to the C programming language.
founded 5 years ago
MODERATORS
Probably need to go as deep as the ALU operations available and clock cycles to really see what is going on.
I know nearly nothing of value in this space, but have seen lots of little tricks like this in passing with hobbyist hardware or ROMs. Intuitively, it feels like one of those kinds of situations. You might even find there is a clever use of a carry flag or something of that nature where there is essentially a free bit on an operation. I'm not sure how x86 does the ALU or whatnot here or even if this advice is relevant with an overlay tree. Feel free to inform/correct.