From 0b7eabcd8e2f02a33d2f96eace611a1bd2dd83ad Mon Sep 17 00:00:00 2001 From: asmhatre Date: Sun, 26 Jul 2026 11:46:52 +0000 Subject: [PATCH] Add run script for the timing experiments --- timings/run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 timings/run.sh diff --git a/timings/run.sh b/timings/run.sh new file mode 100644 index 0000000..57e2366 --- /dev/null +++ b/timings/run.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Compile and run the exploratory timing experiments from the article. +# ./run.sh -> default run (C2 auto-vectorization ON) +# ./run.sh -XX:-UseSuperWord -> same experiments with SuperWord disabled +set -euo pipefail +cd "$(dirname "$0")" +mkdir -p out +javac --add-modules jdk.incubator.vector -d out $(find src -name '*.java') +java --add-modules jdk.incubator.vector "$@" -cp out com.ankurm.vectorapi.Main