ppc: compute mask from BI using right shift
commit8f9fb7ac4915dc12c23f9ebbd65808afb780abff
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Aug 2014 17:15:09 +0000 (28 19:15 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:10 +0000 (4 23:26 +0100)
tree4ff67eec67edda4d2e85426ac4d0b1ab577ba8c4
parente57d02022c4ba748fa6c0916319f9108c4502cb9
ppc: compute mask from BI using right shift

This will match the code we use in fpu_helper.c when we flip
CRF_* bit-endianness.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Tested-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c