projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365206a
)
target-ppc: xscvqpdp zero VSR
author
Nikunj A Dadhania
<nikunj@linux.vnet.ibm.com>
Tue, 10 Jan 2017 08:50:33 +0000
(14:20 +0530)
committer
David Gibson
<david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:14 +0000
(10:10 +1100)
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c
patch
|
blob
|
history
diff --git
a/target/ppc/fpu_helper.c
b/target/ppc/fpu_helper.c
index 8c8e3c5b13e6f32895b0065051ffe6a510ab521b..77f68e9dcde30677e2375350e34cdac1f1a94081 100644
(file)
--- 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 */