diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-10-13 09:45:33 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-10-13 09:45:33 +0900 |
commit | 873c93a5169c56edc393ef285160c9f03bdf663d (patch) | |
tree | 01255b93cbecd158e99e8941c1f5cd1d8f90c104 | |
parent | e25b1cd62782e5d8257526279bd22c81f17603ba (diff) | |
download | xbyak-873c93a5169c56edc393ef285160c9f03bdf663d.tar.gz xbyak-873c93a5169c56edc393ef285160c9f03bdf663d.zip |
add test of regs of apx
-rw-r--r-- | test/Makefile | 5 | ||||
-rw-r--r-- | test/test_all.bat | 6 | ||||
-rw-r--r-- | test/test_misc.bat | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile index 28d8e6f..fc6cf47 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception misc32 detect_x32 +TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception misc32 detect_x32 apx XBYAK_INC=../xbyak/xbyak.h UNAME_S=$(shell uname -s) ifeq ($(shell ./detect_x32),x32) @@ -55,6 +55,8 @@ cvt_test32: cvt_test.cpp ../xbyak/xbyak.h $(CXX) $(CFLAGS) $< -o $@ -DXBYAK32 noexception: noexception.cpp ../xbyak/xbyak.h $(CXX) $(CFLAGS) $< -o $@ -fno-exceptions +apx: apx.cpp ../xbyak/xbyak.h + $(CXX) $(CFLAGS) apx.cpp -o $@ test_nm: normalize_prefix $(TARGET) $(MAKE) -C ../gen @@ -71,6 +73,7 @@ endif ./misc ./misc32 ./cvt_test + ./apx ifeq ($(BIT),64) CXX=$(CXX) ./test_address.sh 64 ifneq ($(X32),1) diff --git a/test/test_all.bat b/test/test_all.bat index d6c244d..0bcb787 100644 --- a/test/test_all.bat +++ b/test/test_all.bat @@ -5,4 +5,10 @@ call test_address call test_address 64 echo *** test jmp address *** call test_jmp +echo *** test misc *** +set FILE=misc +call test_misc +echo *** test APX *** +set FILE=apx +call test_misc echo *** all test end *** diff --git a/test/test_misc.bat b/test/test_misc.bat index cdb81d3..38cc97b 100644 --- a/test/test_misc.bat +++ b/test/test_misc.bat @@ -1,4 +1,4 @@ call set_opt bmake -f Makefile.win all -cl -I../ -I./ -DXBYAK_TEST misc.cpp %OPT% /Od /Zi -misc +cl -I../ -I./ -DXBYAK_TEST %FILE%.cpp %OPT% /Od /Zi +%FILE% |