On 05/29/2016 03:59 PM, peer.ad...@c-lab.de wrote:
+uint32_t helper_ftouz(CPUTriCoreState *env, uint32_t arg)
...
+uint32_t result;
...
+return (uint32_t)result;
Don't add pointless casts.
r~
On 05/30/2016 12:59 AM, peer.ad...@c-lab.de wrote:
> From: Peer Adelt
>
> Converts a 32-bit floating point number to an unsigned int. The
> result is rounded towards zero.
>
> Signed-off-by: Peer Adelt
> ---
> target-tricore/fpu_helper.c | 20
> target-tricore/helper.h
From: Peer Adelt
Converts a 32-bit floating point number to an unsigned int. The
result is rounded towards zero.
Signed-off-by: Peer Adelt
---
target-tricore/fpu_helper.c | 20
target-tricore/helper.h | 1 +
target-tricore/translate.c | 3 +++
3 files changed, 24 in