diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-08-04 18:00:09 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-08-04 18:00:09 +0900 |
commit | c4550b6a9dc22161d72d999381cbf5d260df351e (patch) | |
tree | a253c2a181fb9efef0bf8361635c1da5b714fde1 | |
parent | 5762819de30da7632db01170bc7451672693ef18 (diff) | |
download | xbyak-c4550b6a9dc22161d72d999381cbf5d260df351e.tar.gz xbyak-c4550b6a9dc22161d72d999381cbf5d260df351e.zip |
sde 9.24.0
-rw-r--r-- | sample/cpuid/arl.txt | 2 | ||||
-rwxr-xr-x | sample/cpuid/cpuid.sh | 19 | ||||
-rw-r--r-- | sample/cpuid/grr.txt | 2 | ||||
-rw-r--r-- | sample/cpuid/lnl.txt | 2 | ||||
-rw-r--r-- | sample/cpuid/srf.txt | 2 | ||||
-rwxr-xr-x | sample/cpuid/update-txt.sh | 10 |
6 files changed, 22 insertions, 15 deletions
diff --git a/sample/cpuid/arl.txt b/sample/cpuid/arl.txt new file mode 100644 index 0000000..1df6f97 --- /dev/null +++ b/sample/cpuid/arl.txt @@ -0,0 +1,2 @@ +vendor intel + mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b uintr serialize avx_vnni_int8 avx_ne_convert avx_ifma cmpccxadd diff --git a/sample/cpuid/cpuid.sh b/sample/cpuid/cpuid.sh index 0a9d78a..c55fd28 100755 --- a/sample/cpuid/cpuid.sh +++ b/sample/cpuid/cpuid.sh @@ -1,12 +1,25 @@ #!/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) +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 - ~/bin/sde -$cpu -- ../test_util64 -cpuid > tmp.txt - diff $cpu.txt tmp.txt + 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 diff --git a/sample/cpuid/grr.txt b/sample/cpuid/grr.txt index 8a5344a..c742e81 100644 --- a/sample/cpuid/grr.txt +++ b/sample/cpuid/grr.txt @@ -1,2 +1,2 @@ vendor intel - mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b serialize avx_vnni_int8 avx_ne_convert avx_ifma rao-int cmpccxadd + mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b uintr serialize avx_vnni_int8 avx_ne_convert avx_ifma rao-int cmpccxadd diff --git a/sample/cpuid/lnl.txt b/sample/cpuid/lnl.txt new file mode 100644 index 0000000..5e2d107 --- /dev/null +++ b/sample/cpuid/lnl.txt @@ -0,0 +1,2 @@ +vendor intel + mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt prefetchw enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b uintr serialize avx_vnni_int8 avx_ne_convert avx_ifma cmpccxadd diff --git a/sample/cpuid/srf.txt b/sample/cpuid/srf.txt index 13ca652..1df6f97 100644 --- a/sample/cpuid/srf.txt +++ b/sample/cpuid/srf.txt @@ -1,2 +1,2 @@ vendor intel - mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b serialize avx_vnni_int8 avx_ne_convert avx_ifma cmpccxadd + mmx mmx2 cmov sse sse2 sse3 ssse3 sse41 sse42 popcnt aesni rdtscp xsave(xgetvb) osxsave pclmulqdq avx fma avx2 bmi1 bmi2 lzcnt enh_rep rdrand adx rdseed smap sha f16c movbe gfni vaes vpclmulqdq avx_vnni waitpkg clflushopt cldemote movdiri movdir64b uintr serialize avx_vnni_int8 avx_ne_convert avx_ifma cmpccxadd diff --git a/sample/cpuid/update-txt.sh b/sample/cpuid/update-txt.sh deleted file mode 100755 index efb22b5..0000000 --- a/sample/cpuid/update-txt.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -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) -for cpu in ${cpus[@]} ; do - echo $cpu - ~/bin/sde -$cpu -- ../test_util64 -cpuid > $cpu.txt -done - |