]> git.proxmox.com Git - qemu.git/commit
PPC: Only set lower 32bits with mtmsr
authorAlexander Graf <agraf@suse.de>
Thu, 16 Jun 2011 08:44:23 +0000 (10:44 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 17 Jun 2011 00:58:31 +0000 (02:58 +0200)
commit8018dc63aab936f1a5cff6e707289116ea97c423
tree6bc935e716e6eec6ac5fe500053c9f9ee02e01bc
parenta59106cbbb53917352b3e76c5551b65432878e19
PPC: Only set lower 32bits with mtmsr

As Nathan pointed out correctly, the mtmsr instruction does not modify
the high 32 bits of MSR. It also doesn't matter if SF is set or not,
the instruction always behaves the same.

This patch moves it a bit closer to the spec.

Reported-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c