From 583a4d9a2719714ccd384931fb181aa2532ee316 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 16 Apr 2019 12:37:12 -0500 Subject: [PATCH] intel/mi_builder: Disable mem_mem tests on IVB Tested-by: Clayton Craft --- src/intel/common/tests/gen_mi_builder_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/common/tests/gen_mi_builder_test.cpp b/src/intel/common/tests/gen_mi_builder_test.cpp index b1e210ba450..961fb215679 100644 --- a/src/intel/common/tests/gen_mi_builder_test.cpp +++ b/src/intel/common/tests/gen_mi_builder_test.cpp @@ -335,6 +335,8 @@ TEST_F(gen_mi_builder_test, imm_mem) EXPECT_EQ(*(uint32_t *)(output + 12), (uint32_t)canary); } +/* mem -> mem copies are only supported on HSW+ */ +#if GEN_GEN >= 8 || GEN_IS_HASWELL TEST_F(gen_mi_builder_test, mem_mem) { const uint64_t value = 0x0123456789abcdef; @@ -361,6 +363,7 @@ TEST_F(gen_mi_builder_test, mem_mem) // 32 -> 64 EXPECT_EQ(*(uint64_t *)(output + 24), (uint64_t)(uint32_t)value); } +#endif TEST_F(gen_mi_builder_test, imm_reg) { -- 2.30.2