Hacker News new | ask | show | jobs
by alexfoo 5036 days ago
Who said NOPs are free? NOPs still take at least one clock cycle.
1 comments

It's not that simple anymore... In modern CPUs, NOPs are discarded by the decoding units so they never occupy the exeuction units. If decoding BW is not saturated (and most often, it's not), NOPs are indeed "free".