summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Martin <edb@sigluy.net>2020-04-29 03:01:58 +0200
committerMarge Bot <eric+marge@anholt.net>2020-05-29 11:31:40 +0000
commitcde067e83e4b726bf7b4d4f16dc650e938ca0cdc (patch)
tree251534653b9fd37bcf1cbaece0aa294e1d7a72d3
parent1a68b5b680fb3890ac695cee7f7f1515ec4102a9 (diff)
cl: disable an asm call test on kabini
gfx703 GPU family don't support v_lshlrev_b64 asm Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/271>
-rw-r--r--tests/cl/program/execute/calls.cl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/cl/program/execute/calls.cl b/tests/cl/program/execute/calls.cl
index b1c73f7ba..f056cd50d 100644
--- a/tests/cl/program/execute/calls.cl
+++ b/tests/cl/program/execute/calls.cl
@@ -248,6 +248,12 @@ arg_in: 9 buffer int4[10] \
// calls.
#ifdef __AMDGCN__
#define USE_ASM 1
+#define USE_ASM_LS 1
+#endif
+
+// kabini don't have this one
+#ifdef __gfx703__
+#define USE_ASM_LS 0
#endif
#define NOINLINE __attribute__((noinline))
@@ -288,7 +294,7 @@ NOINLINE
long i64_func_void(void)
{
long ret;
-#if USE_ASM
+#if USE_ASM_LS
__asm("v_lshlrev_b64 %0, 44, 1" : "=v"(ret));
#else
ret = 1ul << 44;