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)
struct gen_enum *gen_spec_find_enum(struct gen_spec *spec, const char *name);
bool gen_field_is_header(struct gen_field *field);
-void gen_field_decode(struct gen_field *field,
- const uint32_t *p, const uint32_t *end,
- union gen_field_value *value);
struct gen_field_iterator {
struct gen_group *group;