dynarmic/externals/xbyak/sample/cpuid/cpuid.sh
Merry 213fe7a452 externals: Update xbyak to v7.05
Merge commit 'fdf626b74f35deedce0e6196c36b8c9f846c038a'
2024-01-30 00:39:19 +00:00

25 lines
490 B
Bash
Executable file

#!/bin/bash
UPDATE=0
if [ $# -eq 1 ]; then
UPDATE=1
fi
if [ $UPDATE == 1 ]; then
echo "UPDATE"
fi
make -C ../ test_util64
cpus=(p4p mrm pnr nhm wsm snb ivb hsw bdw slt slm glm glp tnt skl cnl icl skx clx cpx icx knl knm tgl adl mtl rpl spr gnr srf grr arl lnl)
for cpu in ${cpus[@]} ; do
echo $cpu
if [ $UPDATE == 1 ]; then
~/bin/sde -$cpu -- ../test_util64 -cpuid > $cpu.txt
else
~/bin/sde -$cpu -- ../test_util64 -cpuid > tmp.txt
diff $cpu.txt tmp.txt
fi
done