Home
last modified time | relevance | path

Searched refs:packFloat32 (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/
Dsoftfloat.c178 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() function
239 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 ); in roundAndPackFloat32()
256 return packFloat32( zSign, zExp, zSig ); in roundAndPackFloat32()
541 if ( a == (sbits32) 0x80000000 ) return packFloat32( 1, 0x9E, 0 ); in int32_to_float32()
753 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
763 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
825 return packFloat32( zSign, 0xFF, 0 ); in addFloat32Sigs()
841 if ( aExp == 0 ) return packFloat32( zSign, 0, ( aSig + bSig )>>6 ); in addFloat32Sigs()
893 return packFloat32( float_rounding_mode == float_round_down, 0, 0 ); in subFloat32Sigs()
897 return packFloat32( zSign ^ 1, 0xFF, 0 ); in subFloat32Sigs()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/
Dsoftfloat.c179 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() function
240 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 ); in roundAndPackFloat32()
257 return packFloat32( zSign, zExp, zSig ); in roundAndPackFloat32()
542 if ( a == (sbits32) 0x80000000 ) return packFloat32( 1, 0x9E, 0 ); in int32_to_float32()
754 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
764 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
826 return packFloat32( zSign, 0xFF, 0 ); in addFloat32Sigs()
842 if ( aExp == 0 ) return packFloat32( zSign, 0, ( aSig + bSig )>>6 ); in addFloat32Sigs()
894 return packFloat32( float_rounding_mode == float_round_down, 0, 0 ); in subFloat32Sigs()
898 return packFloat32( zSign ^ 1, 0xFF, 0 ); in subFloat32Sigs()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/
Dsoftfloat.c282 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() function
343 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 ); in roundAndPackFloat32()
360 return packFloat32( zSign, zExp, zSig ); in roundAndPackFloat32()
1131 if ( a == (sbits32) 0x80000000 ) return packFloat32( 1, 0x9E, 0 ); in int32_to_float32()
1276 return packFloat32( zSign, 0x95 - shiftCount, absA<<shiftCount ); in int64_to_float32()
1668 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
1678 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
1740 return packFloat32( zSign, 0xFF, 0 ); in addFloat32Sigs()
1756 if ( aExp == 0 ) return packFloat32( zSign, 0, ( aSig + bSig )>>6 ); in addFloat32Sigs()
1808 return packFloat32( float_rounding_mode == float_round_down, 0, 0 ); in subFloat32Sigs()
[all …]