diff options
author | Rafael Antognolli <[email protected]> | 2019-07-11 16:02:46 -0700 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-07-23 17:45:19 +0000 |
commit | 21bdd51942433b757720865f69c847fa42cee449 (patch) | |
tree | 4d6aedc08071adadc6254e27df136be65be89132 /src/intel/common/gen_decoder.h | |
parent | 69506cbb7434578eddc08a653fa41a0666abaf0c (diff) |
intel/gen_decoder: Rename internally "group" to "array".
A gen_group (group in most of the code) can be of several types:
- instruction
- struct
- register
- group (?!?)
The <group> tag actually represents an array of elements. So at least
in our code, lets call it an array to avoid confusion with gen_group.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.h')
-rw-r--r-- | src/intel/common/gen_decoder.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index 2dba6f1898a..9ef253c50ce 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -84,7 +84,7 @@ struct gen_field_iterator { int start_bit; /**< current field starts at this bit offset into p */ int end_bit; /**< current field ends at this bit offset into p */ - int group_iter; + int array_iter; struct gen_field *field; bool print_colors; @@ -112,8 +112,9 @@ struct gen_group { uint32_t dw_length; uint32_t engine_mask; /* <instruction> specific */ uint32_t bias; /* <instruction> specific */ - uint32_t group_offset, group_count; - uint32_t group_size; + uint32_t array_offset; /* <group> specific */ + uint32_t array_count; /* number of elements, <group> specific */ + uint32_t array_item_size; /* <group> specific */ bool variable; /* <group> specific */ bool fixed_length; /* True for <struct> & <register> */ |