From 538b5c411eab0c03c298412f74594d33a0396a9a Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Mar 2026 20:59:46 -0400 Subject: [PATCH] pan/bi: Delete a few instruction encodings The non-trivial non-replicate swizzles on IADD.v4x8 and ISUB.v4x8 are either documented wrong or broken in hardware. Instead of swizzling b0101 and b2323, they swizzle b0011 and b2233 on G52. This is either a hardware bug or an issue with documentation. In either case, it's probably best not to trust it. Those swizzles aren't all that useful anyway. We also weren't using any of them before (or they'd have broken) so this isn't a performance regression. Cc: mesa-stable Reviewed-by: Lorenzo Rossi Part-of: --- src/panfrost/compiler/bifrost/bifrost/ISA.xml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/panfrost/compiler/bifrost/bifrost/ISA.xml b/src/panfrost/compiler/bifrost/bifrost/ISA.xml index 160ce598f72..3fee2362448 100644 --- a/src/panfrost/compiler/bifrost/bifrost/ISA.xml +++ b/src/panfrost/compiler/bifrost/bifrost/ISA.xml @@ -5350,8 +5350,15 @@ b1111 b2222 b3333 + @@ -5376,6 +5383,7 @@ + @@ -5404,8 +5413,15 @@ b1111 b2222 b3333 + @@ -5438,6 +5454,7 @@ + @@ -6075,8 +6093,15 @@ b1111 b2222 b3333 + @@ -6101,6 +6126,7 @@ + @@ -6129,8 +6156,15 @@ b1111 b2222 b3333 + @@ -6163,6 +6197,7 @@ +