From 46cd0ddcb67536245a64e1fdc5d92cb031b25b75 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 29 Jan 2022 10:51:06 -0500 Subject: [PATCH] pan/va: Fix MKVEC.v2i16 lane select The lanes are at bit 28 and bit 26 respectively. This matches the 16-bit "swizzle" encoding. In general the handling of widens/swizzles/lane/lanes on Valhall is rather confused but... one problem at a time. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/valhall/ISA.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml index 35cd9f5d470..01eab12ffc9 100644 --- a/src/panfrost/bifrost/valhall/ISA.xml +++ b/src/panfrost/bifrost/valhall/ISA.xml @@ -1456,8 +1456,8 @@ Calculates $A | (B \ll 16)$. Used to implement `(ushort2)(A, B)` - A - B + A + B