summaryrefslogtreecommitdiffstats
path: root/iohandler.c
diff options
context:
space:
mode:
authorAlexander Graf2015-11-11 23:49:40 +0100
committerDavid Gibson2015-11-12 03:15:54 +0100
commit488661ee9dd300110a6612d52fe68e2bb3539a5f (patch)
treeb0ef5bce6ec8512399094513e4fe04b33a8e97ce /iohandler.c
parentPPC: Allow Rc bit to be set on mtspr (diff)
downloadqemu-488661ee9dd300110a6612d52fe68e2bb3539a5f.tar.gz
qemu-488661ee9dd300110a6612d52fe68e2bb3539a5f.tar.xz
qemu-488661ee9dd300110a6612d52fe68e2bb3539a5f.zip
PPC: Fix lswx bounds checks
The lswx instruction checks whether the desired string actually fits into all defined registers. Unfortunately it does the calculation wrong, resulting in illegal instruction traps for loads that really should fit. Fix it up, making Mac OS happier. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'iohandler.c')
0 files changed, 0 insertions, 0 deletions