// 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;
}
Evidence record
experiments/cmoc-benchmarks/main.c
From Windows Application to Portable Emulation Platform
465 bytes
SHA-256b0590e1dc7c0338848e6b8cc6b50765782f88bbf9406de4c3077b4a252c74509