brw: lower 16-bit mulh

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40877>
This commit is contained in:
Alyssa Rosenzweig 2026-01-09 15:53:05 -05:00 committed by Marge Bot
parent 8cb8c710fb
commit 9d82888383

View file

@ -1721,6 +1721,9 @@ lower_bit_size_callback(const nir_instr *instr, void *data)
switch (alu->op) {
case nir_op_bitfield_reverse:
return alu->def.bit_size != 32 ? 32 : 0;
case nir_op_umul_high:
case nir_op_imul_high:
return alu->def.bit_size < 32 ? 32 : 0;
case nir_op_idiv:
case nir_op_imod:
case nir_op_irem: