These are small demo traces for quick sanity-checks. The sweep script
(scripts/run_sweep.sh) regenerates larger versions into results/ for
plotting.
| File | Pattern | Size | Purpose |
|---|---|---|---|
mixed.trace |
4 PCs interleaved (biased, loop, alternating, noisy) | 5000 | What every predictor should be measured against |
alternating.trace |
T,N,T,N,… | 2000 | Bimodal can't learn this; GShare/perceptron solve it instantly |
loop16.trace |
15 takens, 1 fallthrough, period 16 | 2000 | History-based predictors need ≥16 history bits to be perfect |
biased80.trace |
Bernoulli p=0.8 | 2000 | Easy floor; even Bimodal gets ~80% |
Regenerate any of them with the sim binary:
./build/branchsim --gen mixed --out traces/mixed.trace --count 5000 --seed 1
./build/branchsim --gen loop --out traces/loop16.trace --count 2000 --loop-period 16