2f9dea5cc3
590c10e37 fix typo 396715a89 use github action 69a25fd92 change build status to travis-ci.com a6a9dac91 meanings of the name 8d1e41b65 test_util.cpp supports OpenBSD 77ffe7173 Merge pull request #115 from Ryan-rsm-McKenzie/master a1da3403a fix build interface include directory e0136d4ef fix add_library call with INTERFACE 3071eee0c support slightly more modern cmake e626d6209 v5.991 a49c4bc11 disable XBYAK_CONSTEXPR for g++-5 -std=c++-14 70777a699 Merge branch 'atafra-old_mac_fix' into dev 6b81678d0 fixed compile error on some older macOS versions 2c3b43f15 refactor util 91784e2b8 test_util checks AMX and AVX_VNNI 70b70c557 update to v5.99 284cc5bed refactor 6b3eb9c1e default encoding is always evex f85b1100b refactor vnni 276d09bae Merge branch 'akharito-akharito/adl_support' into dev 50df86ce3 v5.98 97ce92d58 Merge branch 'akharito/adl_support' of https://github.com/akharito/xbyak into akharito-akharito/adl_support 1f119a04a support [scale * reg] 9ee1bef9a cpuid - check that GRT CPUID leaf 7 subleaf 0 should return EAX=1 be93adb2c add AVX VNNI instruction support 0c277240a add ADL CPUID a9a5cc2e2 Add option to choose VEX or EVEX encoding 29bfd25ba fix indent a0c49fa2e Merge branch 'atafra-mac_avx512_fix' into dev ea388b3c6 fixed incorrect detection of AVX-512 on macOS ed1b8186f Merge branch 'FEX-Emu-extended_features' into dev 3dacddfec Merge branch 'extended_features' of https://github.com/FEX-Emu/xbyak into FEX-Emu-extended_features 898f78ca3 Merge branch 'kariya-mitsuru-use-sh' 0b7f1411c Merge branch 'use-sh' of https://github.com/kariya-mitsuru/xbyak into kariya-mitsuru-use-sh 99e2b13b2 Fixes extended feature support checking b0a43c7e5 Use sh instead of tcsh for test scripts 87e8f41ae remove warning of _MSC_VER git-subtree-dir: externals/xbyak git-subtree-split: 590c10e3746978dbfcf102d6da933ac2659e4544
48 lines
842 B
Bash
Executable file
48 lines
842 B
Bash
Executable file
#!/bin/sh
|
|
|
|
FILTER="grep -v warning"
|
|
|
|
case $1 in
|
|
Y)
|
|
echo "yasm(32bit)"
|
|
EXE=yasm
|
|
OPT2="-DUSE_YASM -DXBYAK32"
|
|
OPT3=win32
|
|
;;
|
|
64)
|
|
echo "nasm(64bit)"
|
|
EXE=nasm
|
|
OPT2=-DXBYAK64
|
|
OPT3=win64
|
|
FILTER=./normalize_prefix
|
|
;;
|
|
Y64)
|
|
echo "yasm(64bit)"
|
|
EXE=yasm
|
|
OPT2="-DUSE_YASM -DXBYAK64"
|
|
OPT3=win64
|
|
FILTER=./normalize_prefix
|
|
;;
|
|
*)
|
|
echo "nasm(32bit)"
|
|
EXE=nasm
|
|
OPT2=-DXBYAK32
|
|
OPT3=win32
|
|
;;
|
|
esac
|
|
|
|
CFLAGS="-Wall -fno-operator-names -I../ $OPT2 -DUSE_AVX"
|
|
echo "compile make_nm.cpp"
|
|
g++ $CFLAGS make_nm.cpp -o make_nm
|
|
|
|
./make_nm > a.asm
|
|
echo "asm"
|
|
$EXE -f$OPT3 a.asm -l a.lst
|
|
awk '$3 != "1+1" {printf "%s", sub(/-$/, "", $3) ? $3 : $3 ORS}' a.lst | $FILTER > ok.lst
|
|
|
|
echo "xbyak"
|
|
./make_nm jit > nm.cpp
|
|
echo "compile nm_frame.cpp"
|
|
g++ $CFLAGS -DXBYAK_TEST nm_frame.cpp -o nm_frame
|
|
./nm_frame | $FILTER > x.lst
|
|
diff -B ok.lst x.lst && echo "ok"
|