Message ID | 20190604190115.8053-5-mark.cave-ayland@ilande.co.uk |
---|---|
State | New |
Headers | show |
Series | target/ppc: VSX/xvxsigdp fixes for 4.0 stable | expand |
diff --git a/target/ppc/int_helper.c b/target/ppc/int_helper.c index 162add561e..6bd1d32b1d 100644 --- a/target/ppc/int_helper.c +++ b/target/ppc/int_helper.c @@ -2030,7 +2030,7 @@ void helper_vsum2sws(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) for (i = 0; i < ARRAY_SIZE(r->u64); i++) { int64_t t = (int64_t)b->VsrSW(upper + i * 2); - result.VsrW(i) = 0; + result.VsrD(i) = 0; for (j = 0; j < ARRAY_SIZE(r->u64); j++) { t += a->VsrSW(2 * i + j); }