dbb1f8cf37
671fc805 update test/cybozu 8ca86231 remove mutable in Address 8b93498f add cmpsb/scasb/... 7eb62750 avoid core_sharing_data_cache = 0 for some cloud envrionment 85767e95 support mingw64 59573e6e add PROTECT_RE mode for protect() 71b75f65 fix push(qword[mem]) 811f4959 Merge branch 'rsdubtso-master' 8e3cb711 Account for potentially zero 0xb leaf when parsing cache/topology via cpuid a816249f update version fe083912 fix to avoid zero division for some virtual machine f0a8f7fa update version cac09b7a Merge pull request #62 from mgouicem/master 1f96b5e0 Fixes an error raised by clang < 3.9 c0f885ac Merge pull request #61 from mgouicem/master bfe2d201 Change default value for n_cores in setCacheHierarchy. fd587b55 change format and add getter for data_cache_size 80b3c7b9 remove macro 88189609 Merge branch 'mgouicem-master' e6b79723 Adding queries to get the cpu topology on Intel architectures. 221384f0 vmov* supports [mem]|k|z c04141ef define XBYAK_NO_OP_NAMES for test af7f05ee add const for Label git-subtree-dir: externals/xbyak git-subtree-split: 671fc805d09d075f48d4625f183ef2e1ef725106
50 lines
1.1 KiB
Bash
Executable file
50 lines
1.1 KiB
Bash
Executable file
#!/bin/tcsh
|
|
|
|
set FILTER=cat
|
|
|
|
if ($1 == "Y") then
|
|
echo "yasm(32bit)"
|
|
set EXE=yasm
|
|
set OPT2="-DUSE_YASM -DXBYAK32"
|
|
set OPT3=win32
|
|
else if ($1 == "64") then
|
|
echo "nasm(64bit)"
|
|
set EXE=nasm
|
|
set OPT2=-DXBYAK64
|
|
set OPT3=win64
|
|
set FILTER=./normalize_prefix
|
|
else if ($1 == "Y64") then
|
|
echo "yasm(64bit)"
|
|
set EXE=yasm
|
|
set OPT2="-DUSE_YASM -DXBYAK64"
|
|
set OPT3=win64
|
|
set FILTER=./normalize_prefix
|
|
else if ($1 == "avx512") then
|
|
echo "nasm(64bit) + avx512"
|
|
set EXE=nasm
|
|
set OPT2="-DXBYAK64 -DUSE_AVX512"
|
|
set OPT3=win64
|
|
set FILTER=./normalize_prefix
|
|
else
|
|
echo "nasm(32bit)"
|
|
set EXE=nasm
|
|
set OPT2=-DXBYAK32
|
|
set OPT3=win32
|
|
endif
|
|
|
|
set CFLAGS="-Wall -fno-operator-names -I../ $OPT2"
|
|
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 '{if (index($3, "-")) { conti=substr($3, 0, length($3) - 1) } else { conti = conti $3; print conti; conti = "" }} ' < 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 ok.lst x.lst && echo "ok"
|
|
exit 0
|