regression (assert) when running system tests on aarch64 host: "tcg-target.c.inc:1250: tcg_out_mov: Assertion `ret >= 32 && arg >= 32' failed"

Around the June 30, a changed was merged upstream that broke three system tests on aarch64 hosts.

configure --enable-debug-tcg

Those tests now fail with:

/home/runner/work/qemu-ci/qemu-ci/tcg/aarch64/tcg-target.c.inc:1250: tcg_out_mov: Assertion `ret >= 32 && arg >= 32' failed.
...
 32/232 qemu:func-thorough+func-aarch64-thorough+thorough / func-aarch64-aarch64_imx8mp_evk                TIMEOUT         480.08s   (exit status 143 or signal 15 SIGTERM)
 34/232 qemu:func-thorough+func-arm-thorough+thorough / func-arm-arm_replay                                TIMEOUT         480.08s   (exit status 143 or signal 15 SIGTERM)
232/232 qemu:func-thorough+func-s390x-thorough+thorough / func-s390x-s390x_tuxrun                          TIMEOUT         180.06s   (exit status 143 or signal 15 SIGTERM)

Full log: https://github.com/pbo-linaro/qemu-ci/actions/runs/16251428721/job/45881642977

I didn't have opportunity to bisect this.

Edited by Pierrick Bouvier