unicorn/qemu/tcg/sparc
Peter Maydell 008a235b5e
tcg/sparc: Zero extend address argument to ld/st helpers
The C store helper functions take the address argument as a
target_ulong type; if this is 32 bit but the host is 64 bit
then the SPARC calling convention requires that the caller
must zero extend the value. We weren't doing this, which
meant we could pass values to the caller with high bits set
and QEMU would crash if it was compiled with optimizations.
In particular, the i386 BIOS would not start.

Backports commit 5c32be5baf41aec4f4675d2bf24f9948756abf3c from qemu
2018-03-02 14:25:17 -05:00
..
tcg-target.h tcg: Add opcode for ctpop 2018-03-01 18:26:41 -05:00
tcg-target.inc.c tcg/sparc: Zero extend address argument to ld/st helpers 2018-03-02 14:25:17 -05:00