summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_decoder.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-09-23 21:30:56 +0100
committerLionel Landwerlin <[email protected]>2017-11-01 13:19:20 +0000
commitde213b4af818e203680e2cf127bee0b0bf2482d6 (patch)
treee556fc09192b456c2a434daac572c4d472a03e65 /src/intel/common/gen_decoder.h
parent68e1853ea3a6feabf14cbe42e8e003647fdc82f3 (diff)
intel: decoder: expose helper to test header fields
These fields are of little importance as they're used to recognize instructions. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.h')
-rw-r--r--src/intel/common/gen_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 88375c8223d..da12c01addc 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -50,6 +50,7 @@ int gen_group_get_length(struct gen_group *group, const uint32_t *p);
const char *gen_group_get_name(struct gen_group *group);
uint32_t gen_group_get_opcode(struct gen_group *group);
struct gen_enum *gen_spec_find_enum(struct gen_spec *spec, const char *name);
+bool gen_group_header_is_header(struct gen_group *group, struct gen_field *field);
struct gen_field_iterator {
struct gen_group *group;