The conditional mode field doesn't exist for instructions with a
64-bit immediate, so this would currently print garbage.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20543>
err |= control(file, "function", sync_function,
brw_inst_cond_modifier(devinfo, inst), NULL);
err |= control(file, "function", sync_function,
brw_inst_cond_modifier(devinfo, inst), NULL);
- } else if (!is_send(opcode)) {
+ } else if (!is_send(opcode) &&
+ (devinfo->ver < 12 ||
+ brw_inst_src0_reg_file(devinfo, inst) != BRW_IMMEDIATE_VALUE ||
+ type_sz(brw_inst_src0_type(devinfo, inst)) < 8)) {
err |= control(file, "conditional modifier", conditional_modifier,
brw_inst_cond_modifier(devinfo, inst), NULL);
err |= control(file, "conditional modifier", conditional_modifier,
brw_inst_cond_modifier(devinfo, inst), NULL);