v2 fixes the clang build failure. I've addressed this by changing the names of two of the insns.decode argument sets. This could probably use an additional error from decodetree.py itself...
Only reposting the changed patch, 12/24. r~ The following changes since commit 0b5e750bea635b167eb03d86c3d9a09bbd43bc06: Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-02-12 10:53:37 +0000) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-hppa-20190212 for you to fetch changes up to cb82c5728c3402248068002c0d13f55f9adcb073: hw/hppa: forward requests to CPU HPA (2019-02-12 08:59:21 -0800) ---------------------------------------------------------------- Convert to decodetree. Fix signed overflow conditions. Fix dcor. Add CPU MIE to PCI address space. ---------------------------------------------------------------- Richard Henderson (20): target/hppa: Use DisasContextBase.is_jmp target/hppa: Begin using scripts/decodetree.py target/hppa: Convert move to/from system registers target/hppa: Convert remainder of system insns target/hppa: Unify specializations of OR target/hppa: Convert memory management insns target/hppa: Convert arithmetic/logical insns target/hppa: Convert indexed memory insns target/hppa: Convert fp multiply-add target/hppa: Convert conditional branches target/hppa: Convert shift, extract, deposit insns target/hppa: Convert direct and indirect branches target/hppa: Convert arithmetic immediate insns target/hppa: Convert offset memory insns target/hppa: Convert fp indexed memory insns target/hppa: Convert halt/reset insns target/hppa: Convert fp fused multiply-add insns target/hppa: Convert fp operate insns target/hppa: Merge translate_one into hppa_tr_translate_insn target/hppa: Rearrange log conditions Sven Schnelle (4): target/hppa: move GETPC to HELPER() functions target/hppa: Fix addition '</<=' conditions target/hppa: fix dcor instruction hw/hppa: forward requests to CPU HPA hw/hppa/dino.c | 8 +- target/hppa/op_helper.c | 16 +- target/hppa/translate.c | 3355 ++++++++++++++++++--------------------------- target/hppa/Makefile.objs | 8 + target/hppa/insns.decode | 527 +++++++ 5 files changed, 1915 insertions(+), 1999 deletions(-) create mode 100644 target/hppa/insns.decode