{
  "schemaVersion": "site.evidence-summary/1",
  "kind": "cpu-differential",
  "recorded": "2026-11-21",
  "sourceRevision": "287d49a4a6b9254b66f5a8f12637a53945bee637",
  "cleanTree": true,
  "dirtyTree": false,
  "treeStateBasis": "The source record carries the provenance block of the clean re-record: dirtyTree false at this revision.",
  "note": "Derived summary of the record file the recorder appends every run to. The latest run of each family is the one made at this revision; older runs stay in the repository record and are counted only in the cumulative figures.",
  "provenance": {
    "sourceRevision": "287d49a4a6b9254b66f5a8f12637a53945bee637",
    "dirtyTree": false,
    "cleanTree": true,
    "checks": "provenance check \"clean tree at 287d49a4a6b9254b66f5a8f12637a53945bee637\" passed before and after each of the 5 recording runs"
  },
  "source": {
    "repoPath": "eval-results/cpu-differential.json",
    "sha256": "bc589b5e21f2204c88a7270eff622af7cb138d8615bbc0c955554f7663812395",
    "commit": "d02ef5052b25be3d0848eefe5b86031e9a3e5c19"
  },
  "alsoRead": [
    {
      "repoPath": "eval-results/cpu-differential-campaign-2026-11-21.json",
      "sha256": "a59217e554fb1f76a0554f302fca69937a3cf2fd29839cfd27a788a1b2172778",
      "commit": "d02ef5052b25be3d0848eefe5b86031e9a3e5c19"
    },
    {
      "repoPath": "eval-results/cpu-differential-campaign-2026-11-21-2.json",
      "sha256": "5ea7ed23c81368563148cff540d3be54c1791102008fde6182b54953ed3764ed",
      "commit": "d02ef5052b25be3d0848eefe5b86031e9a3e5c19"
    }
  ],
  "arm": {
    "reference": {
      "name": "unicorn",
      "version": "2.1.4",
      "basedOn": "QEMU 5.0.1",
      "models": {
        "armv6-m": "Cortex-M0",
        "armv7-m": "Cortex-M3",
        "armv7e-m-fpv4": "Cortex-M4",
        "armv7e-m-fpv5d16": "Cortex-M7",
        "armv8-m.base": "Cortex-M33 (Unicorn 2.1.4 has no Cortex-M23 model; the generator emits only instructions both have)",
        "armv8-m.main": "Cortex-M33"
      }
    },
    "latestRun": {
      "finished": "2026-11-21",
      "seed": 20261009,
      "casesPerProfile": 20000,
      "profiles": {
        "armv6-m": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 261069
        },
        "armv7-m": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 336169
        },
        "armv7e-m-fpv4": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 361173
        },
        "armv7e-m-fpv5d16": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 363176
        },
        "armv8-m.base": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 287515
        },
        "armv8-m.main": {
          "cases": 20000,
          "disagree": 0,
          "inconclusive": 0,
          "instructionsRetired": 364087
        }
      },
      "totalCases": 120000,
      "negativeControl": {
        "id": "arm-eor-or",
        "change": "EOR is computed as ORR (Thumb 16-bit)",
        "casesPerProfile": 1500,
        "profiles": 6,
        "casesRejecting": 24
      }
    },
    "cumulative": {
      "totalCases": 12200000,
      "totalDisagree": 0,
      "perProfile": {
        "armv6-m": {
          "cases": 1600000,
          "disagree": 0
        },
        "armv7-m": {
          "cases": 1600000,
          "disagree": 0
        },
        "armv7e-m-fpv4": {
          "cases": 2200000,
          "disagree": 0
        },
        "armv7e-m-fpv5d16": {
          "cases": 2200000,
          "disagree": 0
        },
        "armv8-m.main": {
          "cases": 2700000,
          "disagree": 0
        },
        "armv8-m.base": {
          "cases": 1900000,
          "disagree": 0
        }
      }
    },
    "runsInRecord": 13,
    "runsWithSourceRevision": 5,
    "runsWithoutSourceRevision": 8,
    "casesInRunsWithSourceRevision": 600000,
    "casesInRunsWithoutSourceRevision": 11600000,
    "decodeSweep16bit": {
      "armv6-m": {
        "encodings": 59136,
        "documentedDifferences": 1288,
        "undocumentedDifferences": 0
      },
      "armv7-m": {
        "encodings": 59136,
        "documentedDifferences": 46,
        "undocumentedDifferences": 0
      },
      "armv7e-m-fpv4": {
        "encodings": 59136,
        "documentedDifferences": 46,
        "undocumentedDifferences": 0
      },
      "armv7e-m-fpv5d16": {
        "encodings": 59136,
        "documentedDifferences": 46,
        "undocumentedDifferences": 0
      },
      "armv8-m.base": {
        "encodings": 59136,
        "documentedDifferences": 296,
        "undocumentedDifferences": 0
      },
      "armv8-m.main": {
        "encodings": 59136,
        "documentedDifferences": 78,
        "undocumentedDifferences": 0
      }
    },
    "decodeSweep32bitSample": {
      "armv6-m": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      },
      "armv7-m": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      },
      "armv7e-m-fpv4": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      },
      "armv7e-m-fpv5d16": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      },
      "armv8-m.base": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      },
      "armv8-m.main": {
        "encodings": 368640,
        "coreRefusesCleanInstruction": 0,
        "coreRunsUnallocatedEncoding": 0
      }
    },
    "coreBugsFixed": 7,
    "referenceDeviations": 26
  },
  "xtensa": {
    "reference": {
      "name": "qemu-xtensa (Espressif fork)",
      "version": "esp_develop_9.2.2_20260417"
    },
    "finished": "2026-11-21",
    "casesPerProfile": 20000,
    "profiles": {
      "xtensa-lx6-esp32": {
        "cases": 20000,
        "disagree": 0,
        "checkpointsCompared": 53971,
        "instructionsRetired": 126600916
      },
      "xtensa-lx7-esp32s3": {
        "cases": 20000,
        "disagree": 0,
        "checkpointsCompared": 53966,
        "instructionsRetired": 126600980
      },
      "xtensa-lx7-esp32s3-fpu": {
        "cases": 20000,
        "disagree": 0,
        "checkpointsCompared": 52060,
        "instructionsRetired": 127471195
      }
    },
    "notCovered": [
      "CCOUNT/CCOMPARE timing and timer interrupts (the reference's CCOUNT follows host time)",
      "external, edge and NMI interrupt inputs (only software interrupts 7 and 29 are raised)",
      "MAC16 and Espressif extension instructions (the core stops on them)",
      "region-protection TLB instructions (the core keeps and reads back the region attributes without enforcing them; the generator never emits them)",
      "floating point on the ESP32 (LX6) configuration (only the coprocessor-disabled exception); on the ESP32-S3 the xtensa-lx7-esp32s3-fpu profile compares it",
      "silicon's intermediate results of the division and square-root step instructions (DIV0.S, SQRT0.S, NEXP01.S, MADDN.S, ADDEXP.S, ADDEXPM.S, DIVN.S): the reference, and the core with it, computes the rounded quotient in MKDADJ.S and the root in MKSADJ.S and passes it through the other steps, so a complete compiler sequence ends with silicon's IEEE result while the intermediate registers differ",
      "FCR exception-enable bits: neither executor traps on a floating-point exception",
      "MADD.S and MSUB.S while FSR.inexact is set under round-to-nearest: the pinned win64 reference then takes its host-FPU path, whose fused multiply-add is not correctly rounded (measured up to 0.9 ulp off; the core rounds once, as the instruction specifies); the generator clears the flag before these instructions",
      "debug breakpoints, ICOUNT and RER/WER (RER of the debug status register reads 0 on the core; the generator never emits RER or WER)",
      "an interrupt unmasked by the last instruction of a zero-overhead loop body: the generator never emits it (a NOP follows every unmasking instruction); the reference appeared to take such an interrupt at LEND without the loop-back, an unconfirmed hypothesis without a kept reproducer"
    ],
    "negativeControls": [
      {
        "id": "xtensa-addx2-shift",
        "change": "ADDX2 shifts the first operand by 2 instead of 1",
        "casesPerProfile": 1500,
        "profiles": 1,
        "casesRejecting": 10
      },
      {
        "id": "xtensa-fpu-rounding-mode",
        "change": "floating-point rounding ignores the rounding-mode register",
        "casesPerProfile": 1500,
        "profiles": 1,
        "casesRejecting": 16
      }
    ]
  },
  "riscv": {
    "references": {
      "rv32-bitmanip": "QEMU user mode (scripts/cpu-diff/qemu.lock.json)",
      "rv32ec": "unicorn (scripts/cpu-diff/unicorn.lock.json), CPU model SiFive E31, bodies use x0-x15 only",
      "rv32imac": "unicorn (scripts/cpu-diff/unicorn.lock.json), CPU model SiFive E31",
      "rv32imafc": "QEMU user mode (scripts/cpu-diff/qemu.lock.json), -cpu rv32 with F, f0-f31 and fcsr compared",
      "rv32imafdc": "QEMU user mode (scripts/cpu-diff/qemu.lock.json), -cpu rv32 with F and D, f0-f31 and fcsr compared"
    },
    "finished": "2026-11-21",
    "casesPerProfile": 20000,
    "profiles": {
      "rv32-bitmanip": {
        "cases": 20000,
        "disagree": 0,
        "instructionsRetired": 299069
      },
      "rv32ec": {
        "cases": 20000,
        "disagree": 0,
        "instructionsRetired": 274510
      },
      "rv32imac": {
        "cases": 20000,
        "disagree": 0,
        "instructionsRetired": 289424
      },
      "rv32imafc": {
        "cases": 20000,
        "disagree": 0,
        "instructionsRetired": 312134
      },
      "rv32imafdc": {
        "cases": 20000,
        "disagree": 0,
        "instructionsRetired": 310419
      }
    },
    "decodeSweepRv32imac": {
      "encodings": 49152,
      "agree": 33023,
      "documentedDifferences": 16129,
      "undocumentedDifferences": 0
    },
    "notCovered": "CSRs, traps and interrupts, privilege modes, faulting instructions (the generated bodies do not fault), the RV32E refusal of x16-x31 and the Espressif, Hazard3 Xh3irq and vendor timer models (provisional: modeled on the cited manuals, no oracle), misaligned accesses, and for rv32-bitmanip loads, stores, atomics and the decoding of reserved bit-manipulation and Zcb/Zcmp encodings (the profile runs valid encodings only)",
    "negativeControls": [
      {
        "id": "riscv-xor-or",
        "change": "XOR is computed as OR",
        "casesPerProfile": 1500,
        "profiles": 3,
        "casesRejecting": 12
      },
      {
        "id": "riscv-fp-rounding-mode",
        "change": "the rounding modes round-down and round-up are swapped",
        "casesPerProfile": 4000,
        "profiles": 2,
        "casesRejecting": 8
      }
    ]
  }
}
