diff --git a/src/intel/compiler/jay/jay_from_nir.c b/src/intel/compiler/jay/jay_from_nir.c index d1e88435d3c..9c6d773f98b 100644 --- a/src/intel/compiler/jay/jay_from_nir.c +++ b/src/intel/compiler/jay/jay_from_nir.c @@ -117,7 +117,7 @@ payload_u1(struct nir_to_jay_state *nj, unsigned idx, unsigned len) static jay_def emit_active_lane_mask(struct nir_to_jay_state *nj) { - /* TODO: We don't use jay_exec_mask yet due to hardware issues */ + /* Note that we don't use mask0 since it needs fixups. Just ballot(true). */ if (jay_is_null(nj->active_lane_mask)) { nj->active_lane_mask = jay_alloc_def(&nj->bld, FLAG, 1); jay_MOV(&nj->bld, nj->active_lane_mask, 1); diff --git a/src/intel/compiler/jay/jay_ir.h b/src/intel/compiler/jay/jay_ir.h index 8307044ef8a..48daee3ccfb 100644 --- a/src/intel/compiler/jay/jay_ir.h +++ b/src/intel/compiler/jay/jay_ir.h @@ -413,15 +413,6 @@ jay_regs_equal(jay_def a, jay_def b) a.reg == b.reg; } -/** - * Return a reference to the execution mask (mask0) architecture register. - */ -static inline jay_def -jay_exec_mask(void) -{ - return jay_scalar(J_ARF, JAY_ARF_MASK); -} - /** * Return a reference to the control (cr0) architecture register. */