diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2017-01-10 14:20:33 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-01-31 10:10:14 +1100 |
commit | c3e4293ac9fcd62d2720b10bb7d1a96805d94fed (patch) | |
tree | 908fd22eba13ecfa70d7155198cc0d9a03439013 /target | |
parent | 365206aeb3d0bb72043d157088a0ebcfaad851f7 (diff) | |
download | qemu-c3e4293ac9fcd62d2720b10bb7d1a96805d94fed.zip qemu-c3e4293ac9fcd62d2720b10bb7d1a96805d94fed.tar.gz qemu-c3e4293ac9fcd62d2720b10bb7d1a96805d94fed.tar.bz2 |
target-ppc: xscvqpdp zero VSR
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target')
-rw-r--r-- | target/ppc/fpu_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/fpu_helper.c b/target/ppc/fpu_helper.c index 8c8e3c5..77f68e9 100644 --- a/target/ppc/fpu_helper.c +++ b/target/ppc/fpu_helper.c @@ -2787,7 +2787,7 @@ void helper_xscvqpdp(CPUPPCState *env, uint32_t opcode) ppc_vsr_t xt, xb; getVSR(rB(opcode) + 32, &xb, env); - getVSR(rD(opcode) + 32, &xt, env); + memset(&xt, 0, sizeof(xt)); if (unlikely(Rc(opcode) != 0)) { /* TODO: Support xscvqpdpo after round-to-odd is implemented */ |