Home
last modified time | relevance | path

Searched refs:zExp (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() argument
181 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
208 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument
233 if ( 0xFD <= (bits16) zExp ) { in roundAndPackFloat32()
234 if ( ( 0xFD < zExp ) in roundAndPackFloat32()
235 || ( ( zExp == 0xFD ) in roundAndPackFloat32()
241 if ( zExp < 0 ) { in roundAndPackFloat32()
244 || ( zExp < -1 ) in roundAndPackFloat32()
246 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32()
247 zExp = 0; in roundAndPackFloat32()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/
Dsoftfloat.c179 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() argument
182 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
209 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument
234 if ( 0xFD <= (bits16) zExp ) { in roundAndPackFloat32()
235 if ( ( 0xFD < zExp ) in roundAndPackFloat32()
236 || ( ( zExp == 0xFD ) in roundAndPackFloat32()
242 if ( zExp < 0 ) { in roundAndPackFloat32()
245 || ( zExp < -1 ) in roundAndPackFloat32()
247 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32()
248 zExp = 0; in roundAndPackFloat32()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/
Dsoftfloat.c282 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() argument
285 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
312 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument
337 if ( 0xFD <= (bits16) zExp ) { in roundAndPackFloat32()
338 if ( ( 0xFD < zExp ) in roundAndPackFloat32()
339 || ( ( zExp == 0xFD ) in roundAndPackFloat32()
345 if ( zExp < 0 ) { in roundAndPackFloat32()
348 || ( zExp < -1 ) in roundAndPackFloat32()
350 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32()
351 zExp = 0; in roundAndPackFloat32()
[all …]