1. 17 Oct, 2014 3 commits
  2. 09 Oct, 2014 1 commit
    • Henrik Gramner's avatar
      checkasm: Serialize read_time() calls on x86 · 4576cfd8
      Henrik Gramner authored
      Improves the accuracy of benchmarks, especially in short functions.
      To quote the Intel 64 and IA-32 Architectures Software Developer's Manual:
      "The RDTSC instruction is not a serializing instruction. It does not necessarily
      wait until all previous instructions have been executed before reading the counter.
      Similarly, subsequent instructions may begin execution before the read operation
      is performed. If software requires RDTSC to be executed only after all previous
      instructions have completed locally, it can either use RDTSCP (if the processor
      supports that instruction) or execute the sequence LFENCE;RDTSC."
      RDTSCP would accomplish the same task, but it's only available since Nehalem.
      This change makes SSE2 a requirement to run checkasm.
  3. 29 Sep, 2014 1 commit
  4. 16 Sep, 2014 5 commits
  5. 03 Sep, 2014 2 commits
  6. 26 Aug, 2014 26 commits
  7. 20 Jul, 2014 2 commits