i still don't know this STM32H735 ARM processor manages to take 225 cycles to compute a single iteration of this loop.

the call to polyBlep() isn't a significant part of the cost because removing it doesn't dramatically impact the performance.

Follow

@lore at this point every time I hear about suspiciously bad performance of a simple piece of code I start suspecting branch prediction issues. What's the `unlikely` do and what happens if you remove it?

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.