[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction
From: |
Konopik, Andreas (EFS-GH2) |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction |
Date: |
Fri, 21 Jun 2019 10:55:55 +0000 |
Hi Bastian,
allright thank you. A fix is already on the way.
Best regards,
Andreas
> -----Ursprüngliche Nachricht-----
> Von: Bastian Koppelmann <address@hidden>
> Gesendet: Mittwoch, 19. Juni 2019 14:25
> An: David Brenken <address@hidden>; address@hidden
> Cc: Biermanski, Lars (EFS-GH3) <address@hidden>; Hofstetter,
> Georg (EFS-GH2) <address@hidden>; Brenken, David (EFS-GH2)
> <address@hidden>; Rasche, Robert (EFS-GH2) <robert.rasche@efs-
> auto.de>; Konopik, Andreas (EFS-GH2) <address@hidden>
> Betreff: Re: [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction
>
>
> On 6/19/19 9:56 AM, David Brenken wrote:
> > +
> > + result = 0;
> > + result = deposit32(result, 31, 1, new_S);
> > + result = deposit32(result, 23, 8, new_E);
> > + result = deposit32(result, 15, 8, new_M);
> > + }
> > +
> > + if (float32_is_any_nan(arg1) || result == float32_sqrt_nan) {
>
>
> You need float32_is_signaling_nan, since only signaling nan raises the invalid
> flag.
>
>
> > + env->FPU_FI = 1;
>
> env->FPU_FI = 1 << 31;
>
> See f_update_psw_flags(). FPU_FI and PSW_V are the same and we defined
> bit 31 as the V bit for optimization purposes.
>
> Cheers,
>
> Bastian
- [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 2/5] tricore: add UTOF instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 1/5] tricore: add FTOIZ instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction, David Brenken, 2019/06/19
- Re: [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, no-reply, 2019/06/19
- Re: [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, no-reply, 2019/06/19