mirror of https://gitlab.freedesktop.org/mesa/mesa
intel/brw/xe2+: Don't use SEL peephole on 64-bit moves.
64-bit SEL isn't supported by the INT pipeline on this platform. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28283>
This commit is contained in:
parent
b18e68fc25
commit
1bf93ee4ec
|
@ -71,7 +71,8 @@ count_movs_from_if(const intel_device_info *devinfo,
|
|||
int then_movs = 0;
|
||||
foreach_inst_in_block(fs_inst, inst, then_block) {
|
||||
if (then_movs == MAX_MOVS || inst->opcode != BRW_OPCODE_MOV ||
|
||||
inst->flags_written(devinfo))
|
||||
inst->flags_written(devinfo) ||
|
||||
(devinfo->ver >= 20 && get_exec_type_size(inst) > 4))
|
||||
break;
|
||||
|
||||
then_mov[then_movs] = inst;
|
||||
|
@ -81,7 +82,8 @@ count_movs_from_if(const intel_device_info *devinfo,
|
|||
int else_movs = 0;
|
||||
foreach_inst_in_block(fs_inst, inst, else_block) {
|
||||
if (else_movs == MAX_MOVS || inst->opcode != BRW_OPCODE_MOV ||
|
||||
inst->flags_written(devinfo))
|
||||
inst->flags_written(devinfo) ||
|
||||
(devinfo->ver >= 20 && get_exec_type_size(inst) > 4))
|
||||
break;
|
||||
|
||||
else_mov[else_movs] = inst;
|
||||
|
|
Loading…
Reference in New Issue