summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_decoder.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-12-12 16:12:16 -0800
committerJason Ekstrand <[email protected]>2017-12-14 13:26:44 -0800
commitada705b67138a35f71525b66c225d136b2a2bc01 (patch)
treeb3517eb5a9ce7840abaf7cac89ed7842ee3179a1 /src/intel/common/gen_decoder.c
parent225b19880204024a805cc54b1001d09ef3b58054 (diff)
intel/decoder: Drop gen_field_decode helper
It's unused Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.c')
-rw-r--r--src/intel/common/gen_decoder.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index b3501aec912..9f4f5039394 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -1011,14 +1011,6 @@ gen_field_is_header(struct gen_field *field)
return (field->parent->opcode_mask & bits) != 0;
}
-void gen_field_decode(struct gen_field *field,
- const uint32_t *p, const uint32_t *end,
- union gen_field_value *value)
-{
- uint32_t dword = field->start / 32;
- value->u64 = iter_decode_field_raw(field, &p[dword], end);
-}
-
void
gen_print_group(FILE *outfile, struct gen_group *group,
uint64_t offset, const uint32_t *p, bool color)