target-tricore: fix depositing bits from PCXI into ICR
commit5f37fd8e2980818ab71bc4b4e21129e29acd73f7
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Jun 2015 12:01:10 +0000 (24 14:01 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 29 Jun 2015 12:02:58 +0000 (29 14:02 +0200)
tree06ae381ccdd91de0c76e762011d7ee9f09e2bc63
parentdc1e1350f8061021df765b396295329797d66933
target-tricore: fix depositing bits from PCXI into ICR

Spotted by Coverity, because (env->PCXI & MASK_PCXI_PCPN) >> 24
is always zero.  The immediately preceding assignment is also
wrong though.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <1435147270-1040-1-git-send-email-pbonzini@redhat.com>
target-tricore/op_helper.c