diff options
| author | Richard Henderson | 2020-05-17 19:14:11 +0200 |
|---|---|---|
| committer | Richard Henderson | 2020-06-08 19:36:47 +0200 |
| commit | 08561fc1283568d9892033f98651010a18d8f108 (patch) | |
| tree | 67431768a032b0ccf22d2f82728855c4e6bd9866 /include/exec | |
| parent | decodetree: Allow group covering the entire insn space (diff) | |
| download | qemu-08561fc1283568d9892033f98651010a18d8f108.tar.gz qemu-08561fc1283568d9892033f98651010a18d8f108.tar.xz qemu-08561fc1283568d9892033f98651010a18d8f108.zip | |
decodetree: Move semantic propagation into classes
Create ExcMultiPattern to hold an set of non-overlapping patterns.
The body of build_tree, prop_format become member functions on this
class. Add minimal member functions to Pattern and MultiPattern
to allow recusion through the tree.
Move the bulk of build_incmulti_pattern to prop_masks and prop_width
in MultiPattern, since we will need this for both kinds of containers.
Only perform prop_width for variablewidth.
Remove global patterns variable, and pass down container object into
parse_file from main.
No functional change in all of this.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
