From c0be0a845d3ba3dc41ed4abbfe091efee59d74d1 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Sat, 15 Feb 2025 15:38:50 -0800 Subject: [PATCH] panfrost/va: remove dead code for packing BRANCHZI.i16 lane mod As of 839f15259afeb85ac9647e8f161c777d3ff74d03, we no longer use 'lane' for BRANCHZI. Signed-off-by: Benjamin Lee Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/compiler/valhall/va_pack.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/panfrost/compiler/valhall/va_pack.c b/src/panfrost/compiler/valhall/va_pack.c index 265c24622b6..4bdf9acc3a4 100644 --- a/src/panfrost/compiler/valhall/va_pack.c +++ b/src/panfrost/compiler/valhall/va_pack.c @@ -614,8 +614,6 @@ va_pack_alu(const bi_instr *I, unsigned arch) if (src_info.size == VA_SIZE_16) { hex |= (src.swizzle == BI_SWIZZLE_H11 ? 1 : 0) << offs; - } else if (I->op == BI_OPCODE_BRANCHZ_I16) { - hex |= ((uint64_t)va_pack_combine(I, src.swizzle) << 37); } else { pack_assert(I, src_info.size == VA_SIZE_8); unsigned comp = src.swizzle - BI_SWIZZLE_B0000;