aboutsummaryrefslogtreecommitdiff
path: root/tests/bench
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 17:22:33 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 17:22:33 +0330
commit090973596163c073ada4dea6d06edd2ff74f615c (patch)
treeb2cd243c91ed592abc8eec58178c4a91dee5e549 /tests/bench
parentMerge branch 'main' into work/bench (diff)
parentmerge work/jit2: compiled o3 regions on x86-64 (diff)
Merge branch 'main' into work/bench
Diffstat (limited to 'tests/bench')
-rw-r--r--tests/bench/bench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bench/bench.sh b/tests/bench/bench.sh
index 4ef2ca5..0a9acef 100644
--- a/tests/bench/bench.sh
+++ b/tests/bench/bench.sh
@@ -6,7 +6,7 @@ CC=${CC:-$(sh src/tools/findcc.sh)} || exit 1
make -s build/core/genome.bin || exit 1
$CC -O2 -w -DJTYPE=int -DZYINTERP src/core/core.c src/core/io_linux.c -Isrc/core -Ibuild/core/map --embed-dir=build/core -o $T/zy
vms=("$T/zy"); names=("interp")
-# the host's own jit, where there is one (x86-64 linux: blocks are translated, o3 regions run on the region interpreter)
+# the host's own jit, where there is one (x86-64 linux: blocks are translated, o3 regions compiled; ZYO3INTERP=1 runs them on the region interpreter)
if [ "$(uname -s)" = Linux ] && [ "$(uname -m)" = x86_64 ]; then
$CC -O2 -w -DJTYPE=int src/core/core.c src/core/io_linux.c -Isrc/core -Ibuild/core/map --embed-dir=build/core -o $T/zyn && { vms+=("$T/zyn"); names+=("x86-64 jit"); }
fi