summary refs log tree commit diff stats
path: root/hw/intc/apic_common.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-09-13 23:03:45 +0200
committerAlexander Graf <agraf@suse.de>2015-09-20 22:48:39 +0200
commit8f60f8e2e574f341709128ff7637e685fd640254 (patch)
tree733b14777790da56e378facdfa1fc396d6e55657 /hw/intc/apic_common.c
parent65cf1f65be0fc4883edbd66feeab3ddaceb11c00 (diff)
downloadfocaccia-qemu-8f60f8e2e574f341709128ff7637e685fd640254.tar.gz
focaccia-qemu-8f60f8e2e574f341709128ff7637e685fd640254.zip
target-ppc: fix xscmpodp and xscmpudp decoding
The xscmpodp and xscmpudp instructions only have the AX, BX bits in
there encoding, the lowest bit (usually TX) is marked as an invalid
bit. We therefore can't decode them with GEN_XX2FORM, which decodes
the two lowest bit.

Introduce a new form GEN_XX2FORM, which decodes AX and BX and mark
the lowest bit as invalid.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/intc/apic_common.c')
0 files changed, 0 insertions, 0 deletions