3 ms·
sometimes not even that. it might just update a single register and write nothing to cache or memory... and that cost might be hidden by out-of-order execution
by jheriko 10y ago
sometimes not even that. it might just update a single register and write nothing to cache or memory... and that cost might be hidden by out-of-order execution and the parallelism of different units on the CPU, making it effectively zero-cost.