diff options
author | Lionel Landwerlin <[email protected]> | 2018-05-01 22:14:12 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-05-02 17:10:37 +0100 |
commit | 4f128f7850e64829b8b1399ef0bdfd1eec7f4504 (patch) | |
tree | 2d2dbda4bcf300bedbe18112fdebbe12c1e26408 /scons | |
parent | 3c416a50d8d203115012363b13a4083f1c6de069 (diff) |
intel: decoder: identify groups with fixed length
<register> & <struct> elements always have fixed length. The
get_length() method implies that we're dealing with an instruction in
which the length is encoded into the variable data but the field
iterator uses it without checking what kind of gen_group it is dealing
with.
Let's make get_length() report the correct length regardless of the
gen_group (register, struct or instruction).
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions