Home
last modified time | relevance | path

Searched refs:aExp (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm/nwfpe/
H A Dsoftfloat.c838 int16 aExp, shiftCount; in float32_to_int32() local
843 aExp = extractFloat32Exp( a ); in float32_to_int32()
845 if ( ( aExp == 0x7FF ) && aSig ) aSign = 0; in float32_to_int32()
846 if ( aExp ) aSig |= 0x00800000; in float32_to_int32()
847 shiftCount = 0xAF - aExp; in float32_to_int32()
869 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
874 aExp = extractFloat32Exp( a ); in float32_to_int32_round_to_zero()
876 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
880 if ( ! aSign || ( ( aExp == 0xFF ) && aSig ) ) return 0x7FFFFFFF; in float32_to_int32_round_to_zero()
883 else if ( aExp <= 0x7E ) { in float32_to_int32_round_to_zero()
[all …]
H A Dsoftfloat-macros596 `aExp' (the least significant bit) is 1, the integer returned approximates
597 2^31*sqrt(`a'/2^31), where `a' is considered an integer. If bit 0 of `aExp'
603 static bits32 estimateSqrt32( int16 aExp, bits32 a )
618 if ( aExp & 1 ) {
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dsoftfloat.c226 int16 aExp, bExp, zExp; in subFloat64Sigs() local
231 aExp = extractFloat64Exp(a); in subFloat64Sigs()
234 expDiff = aExp - bExp; in subFloat64Sigs()
241 if (aExp == 0) { in subFloat64Sigs()
242 aExp = 1; in subFloat64Sigs()
254 if (aExp == 0) { in subFloat64Sigs()
267 if (aExp == 0x7FF) { in subFloat64Sigs()
279 zExp = aExp; in subFloat64Sigs()
287 int16 aExp, bExp, zExp; in addFloat64Sigs() local
292 aExp = extractFloat64Exp(a); in addFloat64Sigs()
[all …]
/openbmc/qemu/target/m68k/
H A Dsoftfloat.c53 int32_t aExp; in floatx80_getman() local
57 aExp = extractFloatx80Exp(a); in floatx80_getman()
60 if (aExp == 0x7FFF) { in floatx80_getman()
68 if (aExp == 0) { in floatx80_getman()
72 normalizeFloatx80Subnormal(aSig, &aExp, &aSig); in floatx80_getman()
87 int32_t aExp; in floatx80_getexp() local
91 aExp = extractFloatx80Exp(a); in floatx80_getexp()
94 if (aExp == 0x7FFF) { in floatx80_getexp()
102 if (aExp == 0) { in floatx80_getexp()
106 normalizeFloatx80Subnormal(aSig, &aExp, &aSig); in floatx80_getexp()
[all …]
/openbmc/qemu/target/tricore/
H A Dfpu_helper.c56 uint32_t aExp, bExp, cExp; in f_maddsub_nan_result() local
70 aExp = (arg1 >> 23) & 0xff; in f_maddsub_nan_result()
77 if (((aExp == 0xff) || (bExp == 0xff)) && (cExp == 0xff)) { in f_maddsub_nan_result()
/openbmc/qemu/include/fpu/
H A Dsoftfloat-macros.h593 static inline uint32_t estimateSqrt32(int aExp, uint32_t a) in estimateSqrt32() argument
607 if ( aExp & 1 ) { in estimateSqrt32()