target/ppc fp cleanups
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 30 lines
Hi,
qemu-system-ppc has an issue after building from the 3.1 branch. Mac OS 9 hangs at the grey boot screen, OSX 10.3 hangs after verbose boot, just before entering the graphical desktop.
Command line to reproduce:
qemu-system-ppc -L pc-bios -boot c -M mac99,via=pmu -m 512 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS9.2.img,format=raw,media=disk -netdev user,id=network01 -device sungem,netdev=network01
I bisected to this commit:
cdee6bed3e2ed60f039fb84f63c5dc5f4af4619cis the first bad commit commitcdee6bed3e2ed60f039fb84f63c5dc5f4af4619cAuthor: Richard Henderson <[email protected]> Date: Tue Jul 3 08:17:32 2018 -0700target/ppc: Use non-arithmetic conversions for fp load/store
Memory operations have no side effects on fp state. The use of a "real" conversions between float64 and float32 would raise exceptions for SNaN and out-of-range inputs.
Signed-off-by Richard Henderson <[email protected]>Signed-off-by David Gibson <[email protected]>
Quoted 7 lines
:040000 040000
d61b35b777c3ac2f28980a98fc83b8dfdce11bbaec7c15afcef93cc469c5ee0a2bfda293ba745dc3M targetThanks for looking into it.
Best regards,
Howard
I also noticed that my Mac OS 10.4.3 VM stopped booting. When I reversed the above patch the VM started booting again. I am CC'ing Richard Henderson on this issue.