summaryrefslogtreecommitdiffstats
path: root/src/intel/common/tests
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-04-16 12:37:12 -0500
committerJason Ekstrand <[email protected]>2019-04-16 12:59:12 -0500
commit583a4d9a2719714ccd384931fb181aa2532ee316 (patch)
tree8c886b26660c92f83147a1810419ecd4d1f77eb4 /src/intel/common/tests
parent33314cf410f5f16af31a7d076fe89c3768bc4edb (diff)
intel/mi_builder: Disable mem_mem tests on IVB
Tested-by: Clayton Craft <[email protected]>
Diffstat (limited to 'src/intel/common/tests')
-rw-r--r--src/intel/common/tests/gen_mi_builder_test.cpp3
1 files changed, 3 insertions, 0 deletions
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)
{