aboutsummaryrefslogtreecommitdiff
path: root/tests/bench
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 17:09:45 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 17:09:45 +0330
commita9c6512c552379c25860f77eb98e1ca534d1c205 (patch)
tree208060034406149e0e7f4742b509763030dabe38 /tests/bench
parenttests: x86-64 o3 regions compile and match the region interpreter (diff)
x86-64 o3 regions: header comment, readme, bench note and todo
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