Home
last modified time | relevance | path

Searched refs:roundData (Results 1 – 9 of 9) sorted by relevance

/linux/arch/arm/nwfpe/
A Dfpa11_cpdo.c23 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()
86 rFd->fSingle = float64_to_float32(&roundData, rFd->fDouble); in EmulateCPDO()
114 rFd->fSingle = float64_to_float32(&roundData, rFd->fDouble); in EmulateCPDO()
121 if (roundData.exception) in EmulateCPDO()
[all …]
A Dsoftfloat.c77 roundingMode = roundData->mode; in roundAndPackInt32()
100 roundData->exception |= float_flag_invalid; in roundAndPackInt32()
224 roundingMode = roundData->mode; in roundAndPackFloat32()
395 roundingMode = roundData->mode; in roundAndPackFloat64()
573 roundingMode = roundData->mode; in roundAndPackFloatx80()
574 roundingPrecision = roundData->precision; in roundAndPackFloatx80()
983 roundingMode = roundData->mode; in float32_round_to_int()
1882 switch ( roundData->mode ) { in float64_round_to_int()
1900 roundingMode = roundData->mode; in float64_round_to_int()
2692 switch ( roundData->mode ) { in floatx80_round_to_int()
[all …]
A Dfpa11_cprt.c60 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()
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()
108 roundData.exception = 0; in PerformFIX()
135 if (roundData.exception) in PerformFIX()
[all …]
A Dsingle_cpdo.c27 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()
A Ddouble_cpdo.c31 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()
A Dextended_cpdo.c26 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()
A Dfpa11_cpdt.c101 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()
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()
287 storeDouble(&roundData, getFd(opcode), pAddress); in PerformSTF()
298 if (roundData.exception) in PerformSTF()
[all …]
A Dfpa11.h99 extern unsigned int SingleCPDO(struct roundingData *roundData,
102 extern unsigned int DoubleCPDO(struct roundingData *roundData,
106 extern unsigned int ExtendedCPDO(struct roundingData *roundData,
A Dsoftfloat.h278 extern int32 float64_to_uint32( struct roundingData *roundData, float64 a );

Completed in 15 milliseconds