3 ms·
If what the author discovered is true - i.e. he didn't do any mistake, the results should hold true for any modern ARM core, not just for M1.
by DeathArrow 5y ago
If what the author discovered is true - i.e. he didn't do any mistake, the results should hold true for any modern ARM core, not just for M1.
- londons_explore 5y agoAny modern x86 core should have been able to get the same result. I would expect the loop to be unrolled 3, 7 or 21 times to remove all conditionals. Then the math can be dispatched at one operation per cycle for each stream. There must have been something in the compiled assembly that broke the optimisation.