Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/nwfpe/
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 …]
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 ) {
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/
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 …]