Skip to content

Operations-counter counts at the wrong point in the generation pipeline

The operation counter is applied in _generate_kernel, prior to application of the optimizations. Optimizations that change the number of flops, e.g. MOVECONSTANTS are not taken into account and the operation count is only correct in absence of such opts.