Home
last modified time | relevance | path

Searched refs:zSig (Results 1 – 2 of 2) sorted by relevance

/arch/sh/kernel/cpu/sh4/
Dsoftfloat.c77 float64 packFloat64(flag zSign, int16 zExp, bits64 zSig);
79 float32 packFloat32(flag zSign, int16 zExp, bits32 zSig);
99 bits64 zSig);
102 static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig);
104 bits32 zSig);
105 static float64 roundAndPackFloat64(flag zSign, int16 zExp, bits64 zSig);
144 float64 packFloat64(flag zSign, int16 zExp, bits64 zSig) in packFloat64() argument
146 return (((bits64) zSign) << 63) + (((bits64) zExp) << 52) + zSig; in packFloat64()
214 static float64 normalizeRoundAndPackFloat64(flag zSign, int16 zExp, bits64 zSig) in normalizeRoundAndPackFloat64() argument
218 shiftCount = countLeadingZeros64(zSig) - 1; in normalizeRoundAndPackFloat64()
[all …]
/arch/arm/nwfpe/
Dsoftfloat.c177 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() argument
186 : "g" (f), "g" (zSign), "g" (zExp), "g" (zSig) in packFloat32()
190 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
217 … float32 roundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32() argument
241 roundBits = zSig & 0x7F; in roundAndPackFloat32()
245 && ( (sbits32) ( zSig + roundIncrement ) < 0 ) ) in roundAndPackFloat32()
254 || ( zSig + roundIncrement < 0x80000000 ); in roundAndPackFloat32()
255 shift32RightJamming( zSig, - zExp, &zSig ); in roundAndPackFloat32()
257 roundBits = zSig & 0x7F; in roundAndPackFloat32()
262 zSig = ( zSig + roundIncrement )>>7; in roundAndPackFloat32()
[all …]