@cmuratori Watching https://www.youtube.com/watch?v=kVtDEy1ndYg … I wonder if you could solve some of the circle register pressure problem by using the H/L subregisters? Perhaps some SWAR tricks?
I'm not sure you guys were following me there. We were not trying to save negations, we were trying to figure out if we could get rid of the Ep addition. If you get the signs to line up, then you don't have to add it to either term.
-
-
Nah, I got that. I was talking about something else. By the way, you can probably reduce the register pressure by making the two cases X++ and X++; Y++. The reason is that you apply the adjustment for X++ and then test whether or not to do Y++.
-
Ep += (Y << 1) + 1; if (Ep + X > 0) { Ep += X << 1; ++X; } ++Y;
End of conversation
New conversation -
-
-
I am very happy to have started a bresenham circle trend in 2019 :P
End of conversation
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.