aco/wave32: Use lane mask regclass for exec/vcc.

Currently all usages of exec and vcc are hardcoded to use s2 regclass.
This commit makes it possible to use s1 in wave32 mode and
s2 in wave64 mode.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
This commit is contained in:
Timur Kristóf
2019-11-27 11:04:47 +01:00
committed by Daniel Schürmann
parent b4efe179ed
commit e0bcefc3a0
12 changed files with 250 additions and 209 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ void setup_reduce_temp(Program* program)
clobber_vcc = true;
if (clobber_vcc)
instr->definitions[4] = Definition(vcc, s2);
instr->definitions[4] = Definition(vcc, bld.lm);
}
}
}