diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-02-10 11:29:01 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-10 18:28:30 +0100 |
commit | 2d981da77d7fb0c3ec83286bc617c4fc64765ac2 (patch) | |
tree | a3ba282a0e87aaff3bb7aa64b19f6e70c5f840dd /target-arm/helpers.h | |
parent | fb91678d2c9562484d16b5d7be9119784730c47e (diff) |
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 <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm/helpers.h')
-rw-r--r-- | target-arm/helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/helpers.h b/target-arm/helpers.h index 4d0de00eab..77f1635728 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) |