From 2bc8fcbd38a736727732489693d097f6c7fa56b8 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 8 Mar 2022 11:59:31 +0900 Subject: [PATCH] add tests to badSSE --- test/misc.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/misc.cpp b/test/misc.cpp index f53c1c5..140072e 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -28,7 +28,11 @@ CYBOZU_TEST_AUTO(badSSE) struct Code : Xbyak::CodeGenerator { Code() { - CYBOZU_TEST_EXCEPTION(paddd(xm16, xm3), Xbyak::Error); + CYBOZU_TEST_EXCEPTION(paddd(xm16, xm1), Xbyak::Error); + CYBOZU_TEST_EXCEPTION(pslld(xm16, 1), Xbyak::Error); + CYBOZU_TEST_EXCEPTION(movapd(xm16, xm1), Xbyak::Error); + CYBOZU_TEST_EXCEPTION(movhpd(xm16, ptr[eax]), Xbyak::Error); + CYBOZU_TEST_EXCEPTION(pextrb(eax, xm16, 1), Xbyak::Error); } } code; }