Searched refs:zSign (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 77 float64 packFloat64(flag zSign, int16 zExp, bits64 zSig); 79 float32 packFloat32(flag zSign, int16 zExp, bits32 zSig); 98 static float64 normalizeRoundAndPackFloat64(flag zSign, int16 zExp, 100 static float64 subFloat64Sigs(float64 a, float64 b, flag zSign); 101 static float64 addFloat64Sigs(float64 a, float64 b, flag zSign); 102 static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig); 103 static float32 normalizeRoundAndPackFloat32(flag zSign, int16 zExp, 105 static float64 roundAndPackFloat64(flag zSign, int16 zExp, bits64 zSig); 106 static float32 subFloat32Sigs(float32 a, float32 b, flag zSign); 107 static float32 addFloat32Sigs(float32 a, float32 b, flag zSign); [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | softfloat.c | 70 static int32 roundAndPackInt32( struct roundingData *roundData, flag zSign, bits64 absZ ) in roundAndPackInt32() argument 86 if ( zSign ) { in roundAndPackInt32() 98 if ( zSign ) z = - z; in roundAndPackInt32() 99 if ( ( absZ>>32 ) || ( z && ( ( z < 0 ) ^ zSign ) ) ) { in roundAndPackInt32() 101 return zSign ? 0x80000000 : 0x7FFFFFFF; in roundAndPackInt32() 177 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 static float32 roundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 … in roundAndPackFloat32() argument 233 if ( zSign ) { in roundAndPackFloat32() [all …]
|
/openbmc/qemu/include/fpu/ |
H A D | softfloat.h | 739 static inline float32 packFloat32(bool zSign, int zExp, uint32_t zSig) in packFloat32() argument 742 (((uint32_t)zSign) << 31) + (((uint32_t)zExp) << 23) + zSig); in packFloat32() 1142 static inline floatx80 packFloatx80(bool zSign, int32_t zExp, uint64_t zSig) in packFloatx80() argument 1147 z.high = (((uint16_t)zSign) << 15) + zExp; in packFloatx80() 1193 floatx80 roundAndPackFloatx80(FloatX80RoundPrec roundingPrecision, bool zSign, 1207 bool zSign, int32_t zExp,
|
/openbmc/qemu/fpu/ |
H A D | softfloat.c | 4947 floatx80 roundAndPackFloatx80(FloatX80RoundPrec roundingPrecision, bool zSign, in roundAndPackFloatx80() argument 4980 roundIncrement = zSign ? 0 : roundMask; in roundAndPackFloatx80() 4983 roundIncrement = zSign ? roundMask : 0; in roundAndPackFloatx80() 4998 return packFloatx80(zSign, 0, 0); in roundAndPackFloatx80() 5019 return packFloatx80( zSign, zExp, zSig0 ); in roundAndPackFloatx80() 5036 return packFloatx80( zSign, zExp, zSig0 ); in roundAndPackFloatx80() 5047 increment = !zSign && zSig1; in roundAndPackFloatx80() 5050 increment = zSign && zSig1; in roundAndPackFloatx80() 5066 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80() 5067 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80() [all …]
|