Merge pull request #4594 from lioncash/comma

vfp_helper: Remove odd use of the comma operator in vfp_single_unpack()
This commit is contained in:
Pengfei Zhu 2019-01-23 21:36:07 +08:00 committed by GitHub
commit a17a31a934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)