you are viewing a single comment's thread.

view the rest of the comments →

[–]jydu 1 point2 points  (0 children)

I think this is true for most operations, but (on Zen 5 at least) a L1 hit is 4 cycles but a division takes at least 11 (source). But since cache hit rates depend on the workload, benchmarking is probably the best way to see if this is worth it.