Searched refs:absZ (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/ |
D | softfloat.c | 1418 bits32 aSig0, aSig1, absZ, aSigExtra; in float64_to_int32() local 1433 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32() 1434 if ( 0x80000000 < absZ ) goto invalid; in float64_to_int32() 1440 absZ = 0; in float64_to_int32() 1445 absZ = aSig0>>( - shiftCount ); in float64_to_int32() 1451 ++absZ; in float64_to_int32() 1452 if ( (bits32) ( aSigExtra<<1 ) == 0 ) absZ &= ~1; in float64_to_int32() 1454 z = aSign ? - absZ : absZ; in float64_to_int32() 1459 z = - ( absZ in float64_to_int32() 1463 z = absZ + ( ( roundingMode == float_round_up ) & aSigExtra ); in float64_to_int32() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/ |
D | softfloat.c | 1419 bits32 aSig0, aSig1, absZ, aSigExtra; in float64_to_int32() local 1434 aSig0 | 0x00100000, aSig1, shiftCount, &absZ, &aSigExtra ); in float64_to_int32() 1435 if ( 0x80000000 < absZ ) goto invalid; in float64_to_int32() 1441 absZ = 0; in float64_to_int32() 1446 absZ = aSig0>>( - shiftCount ); in float64_to_int32() 1452 ++absZ; in float64_to_int32() 1453 if ( (bits32) ( aSigExtra<<1 ) == 0 ) absZ &= ~1; in float64_to_int32() 1455 z = aSign ? - absZ : absZ; in float64_to_int32() 1460 z = - ( absZ in float64_to_int32() 1464 z = absZ + ( ( roundingMode == float_round_up ) & aSigExtra ); in float64_to_int32() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/ |
D | softfloat.c | 122 static int32 roundAndPackInt32( flag zSign, bits64 absZ ) in roundAndPackInt32() argument 146 roundBits = (int8)(absZ & 0x7F); in roundAndPackInt32() 147 absZ = ( absZ + roundIncrement )>>7; in roundAndPackInt32() 148 absZ &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven ); in roundAndPackInt32() 149 z = (int32)absZ; in roundAndPackInt32() 151 if ( ( absZ>>32 ) || ( z && ( ( z < 0 ) ^ zSign ) ) ) { in roundAndPackInt32()
|