On 08/09/2016 09:25 PM, Alex Bennée wrote:
- ia64|ppc|ppc64|s390|s390x|sparc64|x32)
+ ppc|s390|x32)
cpu="$cpu"
+ cpu_width=32
+ ;;
+ ia64|ppc64|s390x|sparc64)
+ cpu="$cpu"
+ cpu_width=64
;;
i386|i486|i586|i686|i86pc|BePC)
cpu="i386"
+ cpu_width=32
;;
x86_64|amd64)
cpu="x86_64"
+ cpu_width=64
;;
armv*b|armv*l|arm)
cpu="arm"
+ cpu_width=32
;;
aarch64)
cpu="aarch64"
+ cpu_width=32
;;
mips*)
cpu="mips"
;;
sparc|sun4[cdmuv])
cpu="sparc"
+ cpu_width=32
Note that x32 and sparc are both 64-bit hosts with 32-bit pointers (we don't
support sparcv8 as a host anymore, just sparcv8+, aka sparcv9 in a 32-bit context).
Not that I believe these to be interesting hosts, since VMA space is half the
battle when it comes to emulation.
r~