It only exists on Gen6+, and the next patches will add compaction
support for the (unused) field in the same location on earlier
platforms.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
if (!set_subreg_index(devinfo, &temp, src, is_immediate))
return false;
- compact(acc_wr_control);
+ if (devinfo->gen >= 6) {
+ compact(acc_wr_control);
+ }
+
compact(cond_modifier);
if (devinfo->gen <= 6)
set_uncompacted_subreg(devinfo, dst, src);
- uncompact(acc_wr_control);
+ if (devinfo->gen >= 6) {
+ uncompact(acc_wr_control);
+ }
+
uncompact(cond_modifier);
if (devinfo->gen <= 6)