target/arm: Fix typo in helper_sve_movz_d

Backports commit 054e7adf4e64e4acb3b033348ebf7cc871baa34f from qemu
This commit is contained in:
Richard Henderson 2018-08-16 07:12:15 -04:00 committed by Lioncash
parent 9a2581aff6
commit e2e7bb0e21
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1039,7 +1039,7 @@ void HELPER(sve_movz_d)(void *vd, void *vn, void *vg, uint32_t desc)
uint64_t *d = vd, *n = vn;
uint8_t *pg = vg;
for (i = 0; i < opr_sz; i += 1) {
d[i] = n[1] & -(uint64_t)(pg[H1(i)] & 1);
d[i] = n[i] & -(uint64_t)(pg[H1(i)] & 1);
}
}