mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
assembler: Isolate all the options in their own structure
Like with the predicate fields before, there's no need to use the full instruction to collect the list of options. This allows us to decouple the list of options from a specific instruction encoding. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -92,6 +92,18 @@ struct predicate {
|
||||
unsigned flag_subreg_nr:1;
|
||||
};
|
||||
|
||||
struct options {
|
||||
unsigned access_mode:1;
|
||||
unsigned compression_control:2; /* gen6: quater control */
|
||||
unsigned thread_control:2;
|
||||
unsigned dependency_control:2;
|
||||
unsigned mask_control:1;
|
||||
unsigned debug_control:1;
|
||||
unsigned acc_wr_control:1;
|
||||
|
||||
unsigned end_of_thread:1;
|
||||
};
|
||||
|
||||
struct region {
|
||||
int vert_stride, width, horiz_stride;
|
||||
int is_default;
|
||||
|
||||
Reference in New Issue
Block a user