From 2d981da77d7fb0c3ec83286bc617c4fc64765ac2 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Thu, 10 Feb 2011 11:29:01 +0000 Subject: target-arm: Use standard FPSCR for Neon half-precision operations The Neon half-precision conversion operations (VCVT.F16.F32 and VCVT.F32.F16) use ARM standard floating-point arithmetic, unlike the VFP versions (VCVTB and VCVTT). Signed-off-by: Peter Maydell Signed-off-by: Aurelien Jarno --- target-arm/helpers.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-arm/helpers.h') diff --git a/target-arm/helpers.h b/target-arm/helpers.h index 4d0de00..77f1635 100644 --- a/target-arm/helpers.h +++ b/target-arm/helpers.h @@ -129,6 +129,8 @@ DEF_HELPER_3(vfp_ultod, f64, f64, i32, env) DEF_HELPER_2(vfp_fcvt_f16_to_f32, f32, i32, env) DEF_HELPER_2(vfp_fcvt_f32_to_f16, i32, f32, env) +DEF_HELPER_2(neon_fcvt_f16_to_f32, f32, i32, env) +DEF_HELPER_2(neon_fcvt_f32_to_f16, i32, f32, env) DEF_HELPER_3(recps_f32, f32, f32, f32, env) DEF_HELPER_3(rsqrts_f32, f32, f32, f32, env) -- cgit v1.1