]> git.proxmox.com Git - mirror_qemu.git/commit
PPC: SPE: Fix high-bits bitmask
authorAlexander Graf <agraf@suse.de>
Wed, 4 Jun 2014 00:01:10 +0000 (02:01 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:41 +0000 (13:24 +0200)
commitada82b537e6fa947666a7cda1530529769a9324c
treef06fc3459ac3265ccf63fbef13b1358f10b655f4
parentdeb6ed13ebfcd6c73548225347c5f63225bb471f
PPC: SPE: Fix high-bits bitmask

The SPE emulation code wants to access the highest 32bits of a 64bit register
and uses the andi TCG instruction for that. Unfortunately it masked with the
wrong mask. Fix the mask to actually cover the upper 32 bits.

This fixes simple multiplication tests with SPE guests for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c