target/arm: convert conversion helpers to fpst/ahp_flag
Instead of passing env and leaving it up to the helper to get the right fpstatus we pass it explicitly. There was already a get_fpstatus helper for neon for the 32 bit code. We also add an get_ahp_flag() for passing the state of the alternative FP16 format flag. This leaves scope for later tracking the AHP state in translation flags. Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Alex Bennée <alex.bennee@linaro.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- target/arm/helper.c 8 additions, 48 deletionstarget/arm/helper.c
- target/arm/helper.h 4 additions, 6 deletionstarget/arm/helper.h
- target/arm/translate-a64.c 30 additions, 7 deletionstarget/arm/translate-a64.c
- target/arm/translate.c 58 additions, 16 deletionstarget/arm/translate.c
- target/arm/translate.h 12 additions, 0 deletionstarget/arm/translate.h
Loading
Please register or sign in to comment