diff --git a/.pick_status.json b/.pick_status.json index 56be631ac61..a470f0e42fa 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3664,7 +3664,7 @@ "description": "pan/bi: Restore b3210 as a valid swizzle", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "c36326d3afc453c23c8e3bb55d27a7443c89f06c", "notes": null diff --git a/src/panfrost/compiler/bifrost/valhall/ISA.xml b/src/panfrost/compiler/bifrost/valhall/ISA.xml index 84b0e1c3af2..51bc43e3678 100644 --- a/src/panfrost/compiler/bifrost/valhall/ISA.xml +++ b/src/panfrost/compiler/bifrost/valhall/ISA.xml @@ -163,8 +163,7 @@ b0123 - - + b3210 b0101 b2323 b0000 diff --git a/src/panfrost/compiler/bifrost/valhall/va_pack.c b/src/panfrost/compiler/bifrost/valhall/va_pack.c index ad930e28014..d9b94675d54 100644 --- a/src/panfrost/compiler/bifrost/valhall/va_pack.c +++ b/src/panfrost/compiler/bifrost/valhall/va_pack.c @@ -250,6 +250,8 @@ va_pack_widen(const bi_instr *I, enum bi_swizzle swz, enum va_size size) switch (swz) { case BI_SWIZZLE_B0123: return VA_SWIZZLES_8_BIT_B0123; + case BI_SWIZZLE_B3210: + return VA_SWIZZLES_8_BIT_B3210; case BI_SWIZZLE_B0101: return VA_SWIZZLES_8_BIT_B0101; case BI_SWIZZLE_B2323: