Home
last modified time | relevance | path

Searched refs:fpa11 (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/arch/arm/nwfpe/
Dfpa11_cprt.c78 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()
[all …]
Dfpa11_cpdt.c33 FPA11 *fpa11 = GET_FPA11(); in loadSingle() local
34 fpa11->fType[Fn] = typeSingle; in loadSingle()
35 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
40 FPA11 *fpa11 = GET_FPA11(); in loadDouble() local
42 p = (unsigned int *) &fpa11->fpreg[Fn].fDouble; in loadDouble()
43 fpa11->fType[Fn] = typeDouble; in loadDouble()
51 FPA11 *fpa11 = GET_FPA11(); in loadExtended() local
53 p = (unsigned int *) &fpa11->fpreg[Fn].fExtended; in loadExtended()
54 fpa11->fType[Fn] = typeExtended; in loadExtended()
63 FPA11 *fpa11 = GET_FPA11(); in loadMultiple() local
[all …]
Dfpa11.inl22 #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 */
Dextended_cpdo.c92 FPA11 *fpa11 = GET_FPA11(); in ExtendedCPDO() local
100 switch (fpa11->fType[Fm]) { in ExtendedCPDO()
102 rFm = float32_to_floatx80(fpa11->fpreg[Fm].fSingle); in ExtendedCPDO()
106 rFm = float64_to_floatx80(fpa11->fpreg[Fm].fDouble); in ExtendedCPDO()
110 rFm = fpa11->fpreg[Fm].fExtended; in ExtendedCPDO()
123 switch (fpa11->fType[Fn]) { in ExtendedCPDO()
125 rFn = float32_to_floatx80(fpa11->fpreg[Fn].fSingle); in ExtendedCPDO()
129 rFn = float64_to_floatx80(fpa11->fpreg[Fn].fDouble); in ExtendedCPDO()
133 rFn = fpa11->fpreg[Fn].fExtended; in ExtendedCPDO()
Dfpa11_cpdo.c32 FPA11 *fpa11 = GET_FPA11(); in EmulateCPDO() local
52 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO()
56 if (nType < fpa11->fType[Fm]) { in EmulateCPDO()
57 nType = fpa11->fType[Fm]; in EmulateCPDO()
61 rFd = &fpa11->fpreg[getFd(opcode)]; in EmulateCPDO()
87 fpa11->fType[getFd(opcode)] = nDest; in EmulateCPDO()
Dfpa11.c40 FPA11 *fpa11 = GET_FPA11(); in resetFPA11() local
44 fpa11->fType[i] = typeNone; in resetFPA11()
48 fpa11->fpsr = FP_EMULATOR | BIT_AC; in resetFPA11()
97 FPA11 *fpa11 = GET_FPA11(); in nwfpe_init_fpa() local
104 fpa11->initflag = 1; in nwfpe_init_fpa()
Ddouble_cpdo.c105 FPA11 *fpa11 = GET_FPA11(); in DoubleCPDO() local
113 switch (fpa11->fType[Fm]) { in DoubleCPDO()
115 rFm = float32_to_float64(fpa11->fpreg[Fm].fSingle); in DoubleCPDO()
119 rFm = fpa11->fpreg[Fm].fDouble; in DoubleCPDO()
132 switch (fpa11->fType[Fn]) { in DoubleCPDO()
134 rFn = float32_to_float64(fpa11->fpreg[Fn].fSingle); in DoubleCPDO()
138 rFn = fpa11->fpreg[Fn].fDouble; in DoubleCPDO()
Dsingle_cpdo.c90 FPA11 *fpa11 = GET_FPA11(); in SingleCPDO() local
97 } else if (fpa11->fType[Fm] == typeSingle) { in SingleCPDO()
98 rFm = fpa11->fpreg[Fm].fSingle; in SingleCPDO()
108 if (fpa11->fType[Fn] == typeSingle && in SingleCPDO()
110 rFn = fpa11->fpreg[Fn].fSingle; in SingleCPDO()
DChangeLog11 * 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
DMakefile19 nwfpe-objs := fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o \