From 0a6ca187614a066f9c0b5ed8cf3bbb1c45f2e11a Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sat, 19 Oct 2024 09:43:44 +0900 Subject: add test_by_xed for win --- test/test_by_xed.bat | 6 ++++++ test/test_by_xed_all.bat | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 test/test_by_xed.bat create mode 100644 test/test_by_xed_all.bat 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 -- cgit v1.2.3