mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-23 08:00:41 +02:00
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)
|
static inline s32 vfp_single_pack(struct vfp_single *s)
|
||||||
{
|
{
|
||||||
u32 val;
|
u32 val = (s->sign << 16) +
|
||||||
val = (s->sign << 16) +
|
|
||||||
(s->exponent << VFP_SINGLE_MANTISSA_BITS) +
|
(s->exponent << VFP_SINGLE_MANTISSA_BITS) +
|
||||||
(s->significand >> VFP_SINGLE_LOW_BITS);
|
(s->significand >> VFP_SINGLE_LOW_BITS);
|
||||||
return (s32)val;
|
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)
|
static inline s64 vfp_double_pack(struct vfp_double *s)
|
||||||
{
|
{
|
||||||
u64 val;
|
u64 val = ((u64)s->sign << 48) +
|
||||||
val = ((u64)s->sign << 48) +
|
|
||||||
((u64)s->exponent << VFP_DOUBLE_MANTISSA_BITS) +
|
((u64)s->exponent << VFP_DOUBLE_MANTISSA_BITS) +
|
||||||
(s->significand >> VFP_DOUBLE_LOW_BITS);
|
(s->significand >> VFP_DOUBLE_LOW_BITS);
|
||||||
return (s64)val;
|
return (s64)val;
|
||||||
|
Loading…
Reference in New Issue
Block a user