From 791d5458e58b6580b591c42528bb690d774c45af Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 6 Dec 2014 17:02:58 +0100 Subject: [PATCH] UnitTests: add tests for bitwise AVX instructions --- Source/UnitTests/Common/x64EmitterTest.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index d0b2932e65..83a3741e7f 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -972,6 +972,19 @@ VEX_RMI_TEST(RORX) } \ } +AVX_RRM_TEST(VANDPS, "dqword") +AVX_RRM_TEST(VANDPD, "dqword") +AVX_RRM_TEST(VANDNPS, "dqword") +AVX_RRM_TEST(VANDNPD, "dqword") +AVX_RRM_TEST(VORPS, "dqword") +AVX_RRM_TEST(VORPD, "dqword") +AVX_RRM_TEST(VXORPS, "dqword") +AVX_RRM_TEST(VXORPD, "dqword") +AVX_RRM_TEST(VPAND, "dqword") +AVX_RRM_TEST(VPANDN, "dqword") +AVX_RRM_TEST(VPOR, "dqword") +AVX_RRM_TEST(VPXOR, "dqword") + #define FMA_TEST(Name, P, packed) \ AVX_RRM_TEST(Name ## 132 ## P ## S, packed ? "dqword" : "dword") \ AVX_RRM_TEST(Name ## 213 ## P ## S, packed ? "dqword" : "dword") \