mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 12:35:36 +00:00
target/arm: Use fp_status_fp16 for do_fmpa_zpzzz_h
This makes float16_muladd correctly use FZ16 not FZ. Fixes: 6ceabaad110 Backports commit 52a339b11d1719a6589de40606859939875fda9a from qemu
This commit is contained in:
parent
15a68a354c
commit
118495f4b1
|
@ -2883,7 +2883,7 @@ static void do_fmla_zpzzz_h(CPUARMState *env, void *vg, uint32_t desc,
|
|||
e1 = *(uint16_t *)(vn + H1_2(i)) ^ neg1;
|
||||
e2 = *(uint16_t *)(vm + H1_2(i));
|
||||
e3 = *(uint16_t *)(va + H1_2(i)) ^ neg3;
|
||||
r = float16_muladd(e1, e2, e3, 0, &env->vfp.fp_status);
|
||||
r = float16_muladd(e1, e2, e3, 0, &env->vfp.fp_status_f16);
|
||||
*(uint16_t *)(vd + H1_2(i)) = r;
|
||||
}
|
||||
} while (i & 63);
|
||||
|
|
Loading…
Reference in a new issue