Re: [Qemu-devel] [PATCH v3] scripts: Add decodetree.py

2018-02-13 Thread Richard Henderson
On 02/13/2018 02:05 AM, Peter Maydell wrote: > Trivial-but-important nit: all these new files are missing > copyright-and-license comment headers. Oops, fixed. I also added a one-line comment describing what each of the tests are attempting. r~

Re: [Qemu-devel] [PATCH v3] scripts: Add decodetree.py

2018-02-13 Thread Peter Maydell
On 13 February 2018 at 07:21, Richard Henderson wrote: > To be used to decode ARM SVE, but could be used for any fixed-width ISA. > > Signed-off-by: Richard Henderson > create mode 100755 scripts/decodetree.py > create mode 100755 tests/decode/check.sh > create mode 100644 tests/decode/err_ar

[Qemu-devel] [PATCH v3] scripts: Add decodetree.py

2018-02-12 Thread Richard Henderson
To be used to decode ARM SVE, but could be used for any fixed-width ISA. Signed-off-by: Richard Henderson --- Changes since v2: * Fix tests/decode/err_init3.def. * Mark main decoder static by default. * Properly diagnose unspecified bits. * Remove output file on error. - I had been