diff options
author | MITSUNARI Shigeo <[email protected]> | 2022-03-13 14:57:56 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2022-03-13 14:57:56 +0900 |
commit | 360f4b673dc41a0c5a20818621490e2eb74cce60 (patch) | |
tree | 24acbd2d9a8ced89e5f40e2d60b974a83d14e562 /test | |
parent | a9fddc4544cfc4a0085a54b9af9a2d06ae67dbc7 (diff) | |
download | xbyak-360f4b673dc41a0c5a20818621490e2eb74cce60.tar.gz xbyak-360f4b673dc41a0c5a20818621490e2eb74cce60.zip |
test badSSE only for 32-bit mode
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 5 | ||||
-rw-r--r-- | test/misc.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index b9dd413..0e7b889 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception +TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception misc32 XBYAK_INC=../xbyak/xbyak.h UNAME_S=$(shell uname -s) BIT=32 @@ -41,6 +41,8 @@ bad_address: bad_address.cpp ../xbyak/xbyak.h $(CXX) $(CFLAGS) bad_address.cpp -o $@ misc: misc.cpp ../xbyak/xbyak.h $(CXX) $(CFLAGS) misc.cpp -o $@ +misc32: misc.cpp ../xbyak/xbyak.h + $(CXX) $(CFLAGS) misc.cpp -o $@ -DXBYAK32 cvt_test: cvt_test.cpp ../xbyak/xbyak.h $(CXX) $(CFLAGS) $< -o $@ cvt_test32: cvt_test.cpp ../xbyak/xbyak.h @@ -62,6 +64,7 @@ ifneq ($(ONLY_64BIT),1) endif ./bad_address ./misc + ./misc32 ./cvt_test ifeq ($(BIT),64) ./test_address.sh 64 diff --git a/test/misc.cpp b/test/misc.cpp index 140072e..92227cd 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -23,6 +23,7 @@ CYBOZU_TEST_AUTO(setSize) } code; } +#ifdef XBYAK64 CYBOZU_TEST_AUTO(badSSE) { struct Code : Xbyak::CodeGenerator { @@ -36,6 +37,7 @@ CYBOZU_TEST_AUTO(badSSE) } } code; } +#endif CYBOZU_TEST_AUTO(compOperand) { |