Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
return type_sz(get_exec_type(inst));
}
+static inline bool
+is_send(const fs_inst *inst)
+{
+ return inst->mlen || inst->is_send_from_grf();
+}
+
/**
* Return whether the instruction isn't an ALU instruction and cannot be
* assumed to complete in-order.
static inline bool
is_unordered(const fs_inst *inst)
{
- return inst->mlen || inst->is_send_from_grf() || inst->is_math();
+ return is_send(inst) || inst->is_math();
}
/**