From 306ce6416a775d43d35a2204ca3034f5592c57a1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 22 Jan 2019 18:29:53 -0500 Subject: [PATCH] vfp_helper: Remove accidental use of the comma operator in vfp_single_unpack() Makes the line of code slightly easier to read properly. --- src/core/arm/skyeye_common/vfp/vfp_helper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/arm/skyeye_common/vfp/vfp_helper.h b/src/core/arm/skyeye_common/vfp/vfp_helper.h index 737ff1984c..3c1da2407d 100644 --- a/src/core/arm/skyeye_common/vfp/vfp_helper.h +++ b/src/core/arm/skyeye_common/vfp/vfp_helper.h @@ -265,7 +265,8 @@ inline int vfp_single_type(const vfp_single* s) { // aligned to bit 30. inline u32 vfp_single_unpack(vfp_single* s, s32 val, u32 fpscr) { u32 exceptions = 0; - s->sign = vfp_single_packed_sign(val) >> 16, s->exponent = vfp_single_packed_exponent(val); + s->sign = vfp_single_packed_sign(val) >> 16; + s->exponent = vfp_single_packed_exponent(val); u32 significand = ((u32)val << (32 - VFP_SINGLE_MANTISSA_BITS)) >> 2; if (s->exponent && s->exponent != 255)