/Linux-v6.6/arch/arm/nwfpe/ |
D | fpa11_cpdo.c | 14 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 15 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 16 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 23 struct roundingData roundData; in EmulateCPDO() local 31 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO() 32 roundData.precision = SetRoundingPrecision(opcode); in EmulateCPDO() 33 roundData.exception = 0; in EmulateCPDO() 56 nRc = SingleCPDO(&roundData, opcode, rFd); in EmulateCPDO() 59 nRc = DoubleCPDO(&roundData, opcode, rFd); in EmulateCPDO() 63 nRc = ExtendedCPDO(&roundData, opcode, rFd); in EmulateCPDO() [all …]
|
D | softfloat.c | 70 static int32 roundAndPackInt32( struct roundingData *roundData, flag zSign, bits64 absZ ) in roundAndPackInt32() argument 77 roundingMode = roundData->mode; in roundAndPackInt32() 100 roundData->exception |= float_flag_invalid; in roundAndPackInt32() 103 if ( roundBits ) roundData->exception |= float_flag_inexact; in roundAndPackInt32() 217 static float32 roundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 … in roundAndPackFloat32() argument 224 roundingMode = roundData->mode; in roundAndPackFloat32() 247 roundData->exception |= float_flag_overflow | float_flag_inexact; in roundAndPackFloat32() 258 if ( isTiny && roundBits ) roundData->exception |= float_flag_underflow; in roundAndPackFloat32() 261 if ( roundBits ) roundData->exception |= float_flag_inexact; in roundAndPackFloat32() 280 normalizeRoundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32() argument [all …]
|
D | fpa11_cprt.c | 60 struct roundingData roundData; in PerformFLT() local 62 roundData.mode = SetRoundingMode(opcode); in PerformFLT() 63 roundData.precision = SetRoundingPrecision(opcode); in PerformFLT() 64 roundData.exception = 0; in PerformFLT() 70 fpa11->fpreg[getFn(opcode)].fSingle = int32_to_float32(&roundData, readRegister(getRd(opcode))); in PerformFLT() 94 if (roundData.exception) in PerformFLT() 95 float_raise(roundData.exception); in PerformFLT() 104 struct roundingData roundData; in PerformFIX() local 106 roundData.mode = SetRoundingMode(opcode); in PerformFIX() 107 roundData.precision = SetRoundingPrecision(opcode); in PerformFIX() [all …]
|
D | single_cpdo.c | 27 static float32 float32_rsf(struct roundingData *roundData, float32 rFn, float32 rFm) in float32_rsf() argument 29 return float32_sub(roundData, rFm, rFn); in float32_rsf() 32 static float32 float32_rdv(struct roundingData *roundData, float32 rFn, float32 rFm) in float32_rdv() argument 34 return float32_div(roundData, rFm, rFn); in float32_rdv() 51 static float32 float32_mvf(struct roundingData *roundData, float32 rFm) in float32_mvf() argument 56 static float32 float32_mnf(struct roundingData *roundData, float32 rFm) in float32_mnf() argument 61 static float32 float32_abs(struct roundingData *roundData, float32 rFm) in float32_abs() argument 76 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in SingleCPDO() argument 99 rFd->fSingle = dyadic_single[opc_mask_shift](roundData, rFn, rFm); in SingleCPDO() 105 rFd->fSingle = monadic_single[opc_mask_shift](roundData, rFm); in SingleCPDO()
|
D | double_cpdo.c | 31 static float64 float64_rsf(struct roundingData *roundData, float64 rFn, float64 rFm) in float64_rsf() argument 33 return float64_sub(roundData, rFm, rFn); in float64_rsf() 36 static float64 float64_rdv(struct roundingData *roundData, float64 rFn, float64 rFm) in float64_rdv() argument 38 return float64_div(roundData, rFm, rFn); in float64_rdv() 56 static float64 float64_mvf(struct roundingData *roundData,float64 rFm) in float64_mvf() argument 61 static float64 float64_mnf(struct roundingData *roundData,float64 rFm) in float64_mnf() argument 75 static float64 float64_abs(struct roundingData *roundData,float64 rFm) in float64_abs() argument 99 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in DoubleCPDO() argument 142 rFd->fDouble = dyadic_double[opc_mask_shift](roundData, rFn, rFm); in DoubleCPDO() 148 rFd->fDouble = monadic_double[opc_mask_shift](roundData, rFm); in DoubleCPDO()
|
D | extended_cpdo.c | 26 static floatx80 floatx80_rsf(struct roundingData *roundData, floatx80 rFn, floatx80 rFm) in floatx80_rsf() argument 28 return floatx80_sub(roundData, rFm, rFn); in floatx80_rsf() 31 static floatx80 floatx80_rdv(struct roundingData *roundData, floatx80 rFn, floatx80 rFm) in floatx80_rdv() argument 33 return floatx80_div(roundData, rFm, rFn); in floatx80_rdv() 51 static floatx80 floatx80_mvf(struct roundingData *roundData, floatx80 rFm) in floatx80_mvf() argument 56 static floatx80 floatx80_mnf(struct roundingData *roundData, floatx80 rFm) in floatx80_mnf() argument 62 static floatx80 floatx80_abs(struct roundingData *roundData, floatx80 rFm) in floatx80_abs() argument 78 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in ExtendedCPDO() argument 129 rFd->fExtended = dyadic_extended[opc_mask_shift](roundData, rFn, rFm); in ExtendedCPDO() 135 rFd->fExtended = monadic_extended[opc_mask_shift](roundData, rFm); in ExtendedCPDO()
|
D | fpa11_cpdt.c | 91 static inline void storeSingle(struct roundingData *roundData, const unsigned int Fn, unsigned int … in storeSingle() argument 101 val.f = float64_to_float32(roundData, fpa11->fpreg[Fn].fDouble); in storeSingle() 106 val.f = floatx80_to_float32(roundData, fpa11->fpreg[Fn].fExtended); in storeSingle() 117 static inline void storeDouble(struct roundingData *roundData, const unsigned int Fn, unsigned int … in storeDouble() argument 132 val.f = floatx80_to_float64(roundData, fpa11->fpreg[Fn].fExtended); in storeDouble() 259 struct roundingData roundData; in PerformSTF() local 261 roundData.mode = SetRoundingMode(opcode); in PerformSTF() 262 roundData.precision = SetRoundingPrecision(opcode); in PerformSTF() 263 roundData.exception = 0; in PerformSTF() 284 storeSingle(&roundData, getFd(opcode), pAddress); in PerformSTF() [all …]
|
D | fpa11.h | 99 extern unsigned int SingleCPDO(struct roundingData *roundData, 102 extern unsigned int DoubleCPDO(struct roundingData *roundData, 106 extern unsigned int ExtendedCPDO(struct roundingData *roundData,
|
D | softfloat.h | 278 extern int32 float64_to_uint32( struct roundingData *roundData, float64 a );
|