On 1/16/21 4:38 AM, BALATON Zoltan wrote:
Commit 8fe35e0444be (tcg/optimize: Use tcg_constant_internal with constant
folding) seems to break PPC emulation for me:
Thread 3 "qemu-system-ppc" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff51e7700 (LWP 22636)]
0x0000555555afd4ee in ts_are_copies (ts2=0x7fff8c008f90, ts1=0x7fff8c001510) at
../tcg/optimize.c:68
68 return ts_info(ts)->next_copy != ts;
I don't replicate this assertion.
Interestingly, I replicate a different assertion:
qemu-system-ppc: ../qemu/tcg/tcg.c:1210: tcg_temp_alloc: Assertion `n < 512'
failed.
Aborted (core dumped)
What compiler version(s) are you guys using?