Re: [PATCH] target/hppa: Generate illegal instruction exception for 64-bit instructions

2022-09-28 Thread Helge Deller
On 9/28/22 17:55, Richard Henderson wrote: On 9/24/22 15:13, Helge Deller wrote: Qemu currently emulates a 32-bit CPU only, and crashes with this error when it faces a 64-bit load (e.g.  "ldd 0(r26),r0") or 64-bit store (e.g. "std r26,0(r26)") instruction in the guest: ERROR:../qemu/tcg/tcg-op.

Re: [PATCH] target/hppa: Generate illegal instruction exception for 64-bit instructions

2022-09-28 Thread Richard Henderson
On 9/24/22 15:13, Helge Deller wrote: Qemu currently emulates a 32-bit CPU only, and crashes with this error when it faces a 64-bit load (e.g. "ldd 0(r26),r0") or 64-bit store (e.g. "std r26,0(r26)") instruction in the guest: ERROR:../qemu/tcg/tcg-op.c:2822:tcg_canonicalize_memop: code should n

[PATCH] target/hppa: Generate illegal instruction exception for 64-bit instructions

2022-09-24 Thread Helge Deller
Qemu currently emulates a 32-bit CPU only, and crashes with this error when it faces a 64-bit load (e.g. "ldd 0(r26),r0") or 64-bit store (e.g. "std r26,0(r26)") instruction in the guest: ERROR:../qemu/tcg/tcg-op.c:2822:tcg_canonicalize_memop: code should not be reached Fix this by adding check