Skip to content

Commit

Permalink
add test_by_xed for win
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Oct 19, 2024
1 parent ab9653f commit 0a6ca18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_by_xed.bat
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions test/test_by_xed_all.bat
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 0a6ca18

Please sign in to comment.