diff --git a/src/intel/compiler/jay/jay_to_binary.c b/src/intel/compiler/jay/jay_to_binary.c index 2953867eaab..da216e50366 100644 --- a/src/intel/compiler/jay/jay_to_binary.c +++ b/src/intel/compiler/jay/jay_to_binary.c @@ -94,7 +94,7 @@ to_brw_reg(jay_function *f, R = brw_imm_ud(jay_as_uint(d)); } else if (jay_is_null(d)) { R = brw_null_reg(); - } else if (d.file == UGPR) { + } else if (d.file == UGPR || d.file == UACCUM) { unsigned grf = (reg >> 1) / 8; offset_B = ((reg >> 1) % 8) * 4; diff --git a/src/intel/compiler/jay/jay_validate_ra.c b/src/intel/compiler/jay/jay_validate_ra.c index 0a44733cd75..c432d385236 100644 --- a/src/intel/compiler/jay/jay_validate_ra.c +++ b/src/intel/compiler/jay/jay_validate_ra.c @@ -11,7 +11,7 @@ /* Validatation doesn't make sense in release builds */ #ifndef NDEBUG -#define NUM_VALIDATE_FILES (ACCUM + 1) +#define NUM_VALIDATE_FILES (UACCUM + 1) struct regfile { /* For each register in each file, records the SSA index currently stored