Searched refs:fpa11 (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/nwfpe/ |
D | fpa11_cprt.c | 59 FPA11 *fpa11 = GET_FPA11(); in PerformFLT() local 69 fpa11->fType[getFn(opcode)] = typeSingle; in PerformFLT() 70 fpa11->fpreg[getFn(opcode)].fSingle = int32_to_float32(&roundData, readRegister(getRd(opcode))); in PerformFLT() 76 fpa11->fType[getFn(opcode)] = typeDouble; in PerformFLT() 77 fpa11->fpreg[getFn(opcode)].fDouble = int32_to_float64(readRegister(getRd(opcode))); in PerformFLT() 84 fpa11->fType[getFn(opcode)] = typeExtended; in PerformFLT() 85 fpa11->fpreg[getFn(opcode)].fExtended = int32_to_floatx80(readRegister(getRd(opcode))); in PerformFLT() 102 FPA11 *fpa11 = GET_FPA11(); in PerformFIX() local 110 switch (fpa11->fType[Fn]) { in PerformFIX() 113 writeRegister(getRd(opcode), float32_to_int32(&roundData, fpa11->fpreg[Fn].fSingle)); in PerformFIX() [all …]
|
D | fpa11_cpdt.c | 21 FPA11 *fpa11 = GET_FPA11(); in loadSingle() local 22 fpa11->fType[Fn] = typeSingle; in loadSingle() 23 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle() 28 FPA11 *fpa11 = GET_FPA11(); in loadDouble() local 30 p = (unsigned int *) &fpa11->fpreg[Fn].fDouble; in loadDouble() 31 fpa11->fType[Fn] = typeDouble; in loadDouble() 44 FPA11 *fpa11 = GET_FPA11(); in loadExtended() local 46 p = (unsigned int *) &fpa11->fpreg[Fn].fExtended; in loadExtended() 47 fpa11->fType[Fn] = typeExtended; in loadExtended() 61 FPA11 *fpa11 = GET_FPA11(); in loadMultiple() local [all …]
|
D | fpa11.inl | 22 #include "fpa11.h" 27 FPA11 *fpa11 = GET_FPA11(); local 28 return (fpa11->fpsr); 33 FPA11 *fpa11 = GET_FPA11(); local 35 fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID); 41 FPA11 *fpa11 = GET_FPA11(); local 43 return (fpa11->fpcr & ~MASK_RFC); 48 FPA11 *fpa11 = GET_FPA11(); local 49 fpa11->fpcr &= ~MASK_WFC; /* clear SB, AB and DA bits */ 50 fpa11->fpcr |= (reg & MASK_WFC); /* write SB, AB and DA bits */
|
D | fpa11.c | 24 FPA11 *fpa11 = GET_FPA11(); in resetFPA11() local 28 fpa11->fType[i] = typeNone; in resetFPA11() 32 fpa11->fpsr = FP_EMULATOR | BIT_AC; in resetFPA11() 75 FPA11 *fpa11 = (FPA11 *)fp; in nwfpe_init_fpa() local 79 memset(fpa11, 0, sizeof(FPA11)); in nwfpe_init_fpa() 81 fpa11->initflag = 1; in nwfpe_init_fpa()
|
D | extended_cpdo.c | 80 FPA11 *fpa11 = GET_FPA11(); in ExtendedCPDO() local 88 switch (fpa11->fType[Fm]) { in ExtendedCPDO() 90 rFm = float32_to_floatx80(fpa11->fpreg[Fm].fSingle); in ExtendedCPDO() 94 rFm = float64_to_floatx80(fpa11->fpreg[Fm].fDouble); in ExtendedCPDO() 98 rFm = fpa11->fpreg[Fm].fExtended; in ExtendedCPDO() 111 switch (fpa11->fType[Fn]) { in ExtendedCPDO() 113 rFn = float32_to_floatx80(fpa11->fpreg[Fn].fSingle); in ExtendedCPDO() 117 rFn = float64_to_floatx80(fpa11->fpreg[Fn].fDouble); in ExtendedCPDO() 121 rFn = fpa11->fpreg[Fn].fExtended; in ExtendedCPDO()
|
D | fpa11_cpdo.c | 20 FPA11 *fpa11 = GET_FPA11(); in EmulateCPDO() local 43 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO() 47 if (nType < fpa11->fType[Fm]) { in EmulateCPDO() 48 nType = fpa11->fType[Fm]; in EmulateCPDO() 52 rFd = &fpa11->fpreg[getFd(opcode)]; in EmulateCPDO() 78 fpa11->fType[getFd(opcode)] = nDest; in EmulateCPDO()
|
D | double_cpdo.c | 101 FPA11 *fpa11 = GET_FPA11(); in DoubleCPDO() local 109 switch (fpa11->fType[Fm]) { in DoubleCPDO() 111 rFm = float32_to_float64(fpa11->fpreg[Fm].fSingle); in DoubleCPDO() 115 rFm = fpa11->fpreg[Fm].fDouble; in DoubleCPDO() 128 switch (fpa11->fType[Fn]) { in DoubleCPDO() 130 rFn = float32_to_float64(fpa11->fpreg[Fn].fSingle); in DoubleCPDO() 134 rFn = fpa11->fpreg[Fn].fDouble; in DoubleCPDO()
|
D | single_cpdo.c | 78 FPA11 *fpa11 = GET_FPA11(); in SingleCPDO() local 85 } else if (fpa11->fType[Fm] == typeSingle) { in SingleCPDO() 86 rFm = fpa11->fpreg[Fm].fSingle; in SingleCPDO() 96 if (fpa11->fType[Fn] == typeSingle && in SingleCPDO() 98 rFn = fpa11->fpreg[Fn].fSingle; in SingleCPDO()
|
D | ChangeLog | 11 * fpa11.h - Add documentation 35 * fpa11.h - modified FPA11, FPREG structures 36 * fpa11.c - Changes due to FPA11, FPREG structure alterations. 89 * fpa11.c - added code to initialize register types to typeNone
|
D | Makefile | 8 nwfpe-y += fpa11.o fpa11_cpdo.o fpa11_cpdt.o \
|