assembler: Gather all predicate data in its own structure

Rather than user a full instruction for that. Also use
set_instruction_predicate() for a case that coud not be done like that
before the refactoring (because everyone now uses the same instruction
structure).

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-01-30 22:32:07 +00:00
parent 9b78f74f23
commit dfe6adacc9
2 changed files with 33 additions and 27 deletions
+7
View File
@@ -85,6 +85,13 @@ struct condition {
int flag_subreg_nr;
};
struct predicate {
unsigned pred_control:4;
unsigned pred_inverse:1;
unsigned flag_reg_nr:1;
unsigned flag_subreg_nr:1;
};
struct region {
int vert_stride, width, horiz_stride;
int is_default;