diff options
author | MITSUNARI Shigeo <[email protected]> | 2022-11-25 18:44:43 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2022-11-25 18:44:43 +0900 |
commit | b5ac7b0f0a71dbb8d1adbbf3c1c0ec88df458531 (patch) | |
tree | 9069f6a9768ce87831af5bfd2f4b8add7ec7c793 /test/test_avx512.sh | |
parent | 0ecef5c2847959192ca677a27faf08255055db42 (diff) | |
parent | 05dd400e02e06e80df68d276e3710741ede74a14 (diff) | |
download | xbyak-6.66.tar.gz xbyak-6.66.zip |
Merge branch 'dev'v6.66
Diffstat (limited to 'test/test_avx512.sh')
-rwxr-xr-x | test/test_avx512.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_avx512.sh b/test/test_avx512.sh index 17edfee..90d14df 100755 --- a/test/test_avx512.sh +++ b/test/test_avx512.sh @@ -1,6 +1,7 @@ #!/bin/sh FILTER="grep -v warning" +CXX=${CXX:=g++} case $1 in 64) @@ -18,9 +19,9 @@ case $1 in ;; esac -CFLAGS="-Wall -fno-operator-names -I../ $OPT2 -DUSE_AVX512" +CFLAGS="-Wall -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 +31,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" |