]> git.proxmox.com Git - mirror_qemu.git/commit
decodetree: Properly diagnose fields overflowing an insn
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Mar 2019 23:34:41 +0000 (15:34 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Mar 2019 16:46:58 +0000 (09:46 -0700)
commit2decfc95583dc28add69810eaca6ada7b4b44d3a
tree718b5b36ee3787742d9c30f344922f2bc802ae44
parent71ecf79bf40db20237a3cfc01cc407cc4cad8817
decodetree: Properly diagnose fields overflowing an insn

Previously this would result in an exception for shifting
the field mask by a negative number.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
scripts/decodetree.py
tests/decode/err_width1.decode [new file with mode: 0644]
tests/decode/err_width2.decode [new file with mode: 0644]
tests/decode/err_width3.decode [new file with mode: 0644]
tests/decode/err_width4.decode [new file with mode: 0644]