aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_avx512.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_avx512.sh')
-rwxr-xr-xtest/test_avx512.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_avx512.sh b/test/test_avx512.sh
index 17edfee..e110d64 100755
--- a/test/test_avx512.sh
+++ b/test/test_avx512.sh
@@ -20,7 +20,7 @@ esac
CFLAGS="-Wall -fno-operator-names -I../ $OPT2 -DUSE_AVX512"
echo "compile make_512.cpp"
-g++ $CFLAGS make_512.cpp -o make_512
+$CXX $CFLAGS make_512.cpp -o make_512
./make_512 > a.asm
echo "asm"
@@ -30,6 +30,6 @@ awk '{printf "%s", sub(/-$/, "", $3) ? $3 : $3 ORS}' a.lst | $FILTER > ok.lst
echo "xbyak"
./make_512 jit > nm.cpp
echo "compile nm_frame.cpp"
-g++ $CFLAGS -DXBYAK_TEST nm_frame.cpp -o nm_frame -DXBYAK_AVX512
+$CXX $CFLAGS -DXBYAK_TEST nm_frame.cpp -o nm_frame -DXBYAK_AVX512
./nm_frame | $FILTER > x.lst
diff -B ok.lst x.lst && echo "ok"