This is a cache of https://vccplus.brianholman.com/publications/vcc-plus-architecture/evidence/experiments/cmoc-benchmarks/main-c/. It is a snapshot of the page as it appeared on 2026-11-21T00:02:55.674+0000.
experiments/cmoc-benchmarks/main.c — supporting evidence · VCC Plus
← Supporting evidence

Evidence record

experiments/cmoc-benchmarks/main.c

From Windows Application to Portable Emulation Platform

465 bytes

// SPDX-License-Identifier: GPL-3.0-or-later
#include "workloads.h"
#ifndef BENCH_SEED
#define BENCH_SEED 1
#endif
int main(void)
{
    asm { orcc #$50 }
#if BENCH_NATIVE
    asm { fcb $11,$3d,$01 }
#endif
    bench_setup(BENCH_SEED);
    asm {
        export bench_begin
bench_begin:
        jsr _bench_run
        export bench_end
bench_end:
        nop
    }
    bench_collect();
    asm {
        export bench_done
bench_done:
        nop
    }
    return 0;
}

SHA-256b0590e1dc7c0338848e6b8cc6b50765782f88bbf9406de4c3077b4a252c74509

A closer look

Open original