On 19 July 2017 at 05:57, Richard Henderson <r...@twiddle.net> wrote: > This edition is a real mix: > * Code gen improvement for mips64 host (Jiang) > * Build fix for ppc-linux (Philippe) > * Runtime fix for tci (Philippe) > * Fix atomic helper names in debugging dumps (rth) > > * Cross-target tcg code gen improvements (Philippe) > This one had no obvious tree through which it should go, > so I went ahead and took them all. > > * Cherry-picked the first patch from Lluis' generic translate loop, > wherein the interface to gen_intermediate_code changes trivially. > It's the only patch from that series that touches all targets, > and I see little point carrying it around further. > > > r~ > > > The following changes since commit 6887dc6700ccb7820d8a9d370f421ee361c748e8: > > Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20170718' into > staging (2017-07-18 21:13:48 +0100) > > are available in the git repository at: > > git://github.com/rth7680/qemu.git tags/pull-tcg-20170718 > > for you to fetch changes up to 3d48caee9e2c18385be60bb0467fa1f61d325c64: > > tcg: Pass generic CPUState to gen_intermediate_code() (2017-07-18 14:26:13 > -1000) > > ---------------------------------------------------------------- > Queued tcg and tcg code gen related cleanups >
The sparc-linux-user test fails: /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc -L ./gnemul/qemu-sparc sparc/ls -l dummyfile Inconsistency detected by ld.so: rtld.c: 858: dl_main: Assertion `_dl_rtld_map.l_prev->l_next == _dl_rtld_map.l_next' failed! Makefile:6: recipe for target 'test' failed A valgrind run produces a lot of noise, but this bit looks suspicious: ==14436== ==14436== Conditional jump or move depends on uninitialised value(s) ==14436== at 0x60003F7C: tcg_out_qemu_st_direct (tcg-target.inc.c:1733) ==14436== by 0x60004295: tcg_out_qemu_st (tcg-target.inc.c:1856) ==14436== by 0x60004F0C: tcg_out_op (tcg-target.inc.c:2140) ==14436== by 0x6000B0FF: tcg_reg_alloc_op (tcg.c:2360) ==14436== by 0x6000BCED: tcg_gen_code (tcg.c:2679) ==14436== by 0x600387B7: tb_gen_code (translate-all.c:1311) ==14436== by 0x6003637B: tb_find (cpu-exec.c:367) ==14436== by 0x60036A7C: cpu_exec (cpu-exec.c:675) ==14436== by 0x60039DA1: cpu_loop (main.c:1088) ==14436== by 0x6003B7AF: main (main.c:4860) ==14436== ==14436== Invalid write of size 4 ==14436== at 0x605114FA: ??? ==14436== by 0x6011ADDF: ??? (in /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc) ==14436== by 0x6253464F: ??? ==14436== by 0x6022852F: ??? (in /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc) ==14436== by 0x6022818C: ??? (in /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc) ==14436== by 0x6022852F: ??? (in /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc) ==14436== by 0x416FFFFFFFF: ??? ==14436== by 0x60227F1F: ??? (in /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc) ==14436== Address 0x59d1c7d0 is not stack'd, malloc'd or (recently) free'd ==14436== Reverting "target/sparc: optimize gen_op_mulscc() using deposit op" fixed this, so I think that's probably the culprit. thanks -- PMM