Lines Matching refs:fpa11
78 FPA11 *fpa11 = GET_FPA11(); in PerformFLT() local
85 fpa11->fType[getFn(opcode)] = typeSingle; in PerformFLT()
86 fpa11->fpreg[getFn(opcode)].fSingle = int32_to_float32(readRegister(getRd(opcode))); in PerformFLT()
92 fpa11->fType[getFn(opcode)] = typeDouble; in PerformFLT()
93 fpa11->fpreg[getFn(opcode)].fDouble = int32_to_float64(readRegister(getRd(opcode))); in PerformFLT()
100 fpa11->fType[getFn(opcode)] = typeExtended; in PerformFLT()
101 fpa11->fpreg[getFn(opcode)].fExtended = int32_to_floatx80(readRegister(getRd(opcode))); in PerformFLT()
115 FPA11 *fpa11 = GET_FPA11(); in PerformFIX() local
120 switch (fpa11->fType[Fn]) { in PerformFIX()
123 writeRegister(getRd(opcode), float32_to_int32(fpa11->fpreg[Fn].fSingle)); in PerformFIX()
129 writeRegister(getRd(opcode), float64_to_int32(fpa11->fpreg[Fn].fDouble)); in PerformFIX()
136 writeRegister(getRd(opcode), floatx80_to_int32(fpa11->fpreg[Fn].fExtended)); in PerformFIX()
151 FPA11 *fpa11 = GET_FPA11(); in PerformComparison() local
165 switch (fpa11->fType[Fn]) { in PerformComparison()
168 if (float32_is_nan(fpa11->fpreg[Fn].fSingle)) in PerformComparison()
170 rFn = float32_to_floatx80(fpa11->fpreg[Fn].fSingle); in PerformComparison()
175 if (float64_is_nan(fpa11->fpreg[Fn].fDouble)) in PerformComparison()
177 rFn = float64_to_floatx80(fpa11->fpreg[Fn].fDouble); in PerformComparison()
182 if (floatx80_is_nan(fpa11->fpreg[Fn].fExtended)) in PerformComparison()
184 rFn = fpa11->fpreg[Fn].fExtended; in PerformComparison()
198 switch (fpa11->fType[Fm]) { in PerformComparison()
201 if (float32_is_nan(fpa11->fpreg[Fm].fSingle)) in PerformComparison()
203 rFm = float32_to_floatx80(fpa11->fpreg[Fm].fSingle); in PerformComparison()
208 if (float64_is_nan(fpa11->fpreg[Fm].fDouble)) in PerformComparison()
210 rFm = float64_to_floatx80(fpa11->fpreg[Fm].fDouble); in PerformComparison()
215 if (floatx80_is_nan(fpa11->fpreg[Fm].fExtended)) in PerformComparison()
217 rFm = fpa11->fpreg[Fm].fExtended; in PerformComparison()
244 if (fpa11->fType[Fn] == typeSingle) { in PerformComparison()
246 float32 rFn = fpa11->fpreg[Fn].fSingle; in PerformComparison()
267 float64 rFn = fpa11->fpreg[Fn].fDouble; in PerformComparison()
289 if (fpa11->fType[Fn] == typeSingle in PerformComparison()
290 && fpa11->fType[Fm] == typeSingle) { in PerformComparison()
291 float32 rFm = fpa11->fpreg[Fm].fSingle; in PerformComparison()
292 float32 rFn = fpa11->fpreg[Fn].fSingle; in PerformComparison()
316 rFm = (fpa11->fType[Fm] == typeSingle) ? in PerformComparison()
317 float32_to_float64(fpa11->fpreg[Fm].fSingle) in PerformComparison()
318 : fpa11->fpreg[Fm].fDouble; in PerformComparison()
320 rFn = (fpa11->fType[Fn] == typeSingle) ? in PerformComparison()
321 float32_to_float64(fpa11->fpreg[Fn].fSingle) in PerformComparison()
322 : fpa11->fpreg[Fn].fDouble; in PerformComparison()