Relative Content

Tag Archive for cperformanceassemblyx86-64no-op

Benchmarking a bunch of continuous nop instructions

I was trying to benchmark instruction cache misses (by generating some functions largely consisting of nops and calling each other) when I noticed something a bit weird which I’ve tried to reproduce. The setup for the benchmark is as follows.

Benchmarking a bunch of continuous nop instructions

I was trying to benchmark instruction cache misses (by generating some functions largely consisting of nops and calling each other) when I noticed something a bit weird which I’ve tried to reproduce. The setup for the benchmark is as follows.