276d77de | 23-May-2023 |
Peter Maydell <peter.maydell@linaro.org> |
tests/decode: Add tests for various named-field cases
Add some tests for various cases of named-field use, both ones that should work and ones that should be diagnosed as errors.
Signed-off-by: Pet
tests/decode: Add tests for various named-field cases
Add some tests for various cases of named-field use, both ones that should work and ones that should be diagnosed as errors.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230523120447.728365-7-peter.maydell@linaro.org>
show more ...
|
fe079aa1 | 08-Jun-2020 |
Richard Henderson <richard.henderson@linaro.org> |
decodetree: Drop check for less than 2 patterns in a group
While it makes little sense for the end product to have a group containing only a single pattern, avoiding this case within an incremental
decodetree: Drop check for less than 2 patterns in a group
While it makes little sense for the end product to have a group containing only a single pattern, avoiding this case within an incremental patch set is troublesome.
Because this is expected to be a transient condition, do not bother "optimizing" this case, e.g. by folding away the group.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
show more ...
|