aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-19 09:43:44 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-19 09:43:44 +0900
commit0a6ca187614a066f9c0b5ed8cf3bbb1c45f2e11a (patch)
tree6e1992ef2cee7ac5a5d72b43e9e780ed91be98f3
parentab9653f483bd9b985524a0e2bb30cdb7d3b79e9d (diff)
downloadxbyak-0a6ca187614a066f9c0b5ed8cf3bbb1c45f2e11a.tar.gz
xbyak-0a6ca187614a066f9c0b5ed8cf3bbb1c45f2e11a.zip
add test_by_xed for win
-rw-r--r--test/test_by_xed.bat6
-rw-r--r--test/test_by_xed_all.bat5
2 files changed, 11 insertions, 0 deletions
diff --git a/test/test_by_xed.bat b/test/test_by_xed.bat
new file mode 100644
index 0000000..bf6ee5e
--- /dev/null
+++ b/test/test_by_xed.bat
@@ -0,0 +1,6 @@
+@echo off
+set CFLAGS=-I ../ /EHsc /nologo
+copy %1% tmp.cpp
+cl %CFLAGS% test_by_xed.cpp && test_by_xed.exe
+%XED% -64 -ir bin > out.txt
+python3 test_by_xed.py %1% out.txt
diff --git a/test/test_by_xed_all.bat b/test/test_by_xed_all.bat
new file mode 100644
index 0000000..bb57cb4
--- /dev/null
+++ b/test/test_by_xed_all.bat
@@ -0,0 +1,5 @@
+set TARGETS=old.txt new-ymm.txt bf16.txt misc.txt convert.txt minmax.txt saturation.txt
+for %%f in (%TARGETS%) do (
+ echo %%f
+ call test_by_xed.bat avx10\%%f
+) \ No newline at end of file