Skip to content
  • Henrik Gramner's avatar
    checkasm: x86: More accurate ymm/zmm measurements · 1878c7f2
    Henrik Gramner authored
    YMM and ZMM registers on x86 are turned off to save power when they haven't
    been used for some period of time. When they are used there will be a
    "warmup" period during which performance will be reduced and inconsistent
    which is problematic when trying to benchmark individual functions.
    
    Periodically issue "dummy" instructions that uses those registers to
    prevent them from being powered down. The end result is more consitent
    benchmark results.
    1878c7f2