vfp_helper: Normalize tabs to spaces
This commit is contained in:
parent
4154560bd5
commit
d832c48864
|
@ -289,8 +289,7 @@ static inline void vfp_single_unpack(struct vfp_single *s, s32 val)
|
|||
*/
|
||||
static inline s32 vfp_single_pack(struct vfp_single *s)
|
||||
{
|
||||
u32 val;
|
||||
val = (s->sign << 16) +
|
||||
u32 val = (s->sign << 16) +
|
||||
(s->exponent << VFP_SINGLE_MANTISSA_BITS) +
|
||||
(s->significand >> VFP_SINGLE_LOW_BITS);
|
||||
return (s32)val;
|
||||
|
@ -392,8 +391,7 @@ static inline void vfp_double_unpack(struct vfp_double *s, s64 val)
|
|||
*/
|
||||
static inline s64 vfp_double_pack(struct vfp_double *s)
|
||||
{
|
||||
u64 val;
|
||||
val = ((u64)s->sign << 48) +
|
||||
u64 val = ((u64)s->sign << 48) +
|
||||
((u64)s->exponent << VFP_DOUBLE_MANTISSA_BITS) +
|
||||
(s->significand >> VFP_DOUBLE_LOW_BITS);
|
||||
return (s64)val;
|
||||
|
|
Reference in New Issue