Home
last modified time | relevance | path

Searched refs:fp0 (Results 1 – 25 of 55) sorted by relevance

123

/linux-5.19.10/arch/m68k/fpsp040/
Dsto_res.S5 | Library functions return result in fp0. If fp0 is not the
6 | users destination register then fp0 is moved to the
7 | correct floating-point destination register. fp0 and fp1
10 | Input: result in fp0,fp1
35 cmpib #3,%d0 |check for fp0/fp1 cases
68 cmpib #3,%d0 |check for fp0/fp1 cases
70 fmovemx %fp0-%fp0,-(%a7)
85 fmovemx %fp0-%fp0,USER_FP3(%a6)
88 fmovemx %fp0-%fp0,USER_FP2(%a6)
91 fmovemx %fp0-%fp0,USER_FP1(%a6)
[all …]
Dsetox.S16 | exp(X) or exp(X)-1 returned in floating-point register fp0.
481 fmovex (%a0),%fp0 | ...load input from (a0)
483 fmovex %fp0,%fp1
484 fmuls #0x42B8AA3B,%fp0 | ...64/log2 * X
487 fmovel %fp0,%d0 | ...N = int( X * 64/log2 )
489 fmovel %d0,%fp0 | ...convert to floating-format
502 |--fp1,fp2 saved on the stack. fp0 is N, fp1 is X,
504 fmovex %fp0,%fp2
505 fmuls #0xBC317218,%fp0 | ...N * L1, L1 = lead(-log2/64)
507 faddx %fp1,%fp0 | ...X + N*L1
[all …]
Dscosh.S72 fmoves #0x3F800000,%fp0
75 fadds #0x00800000,%fp0
80 fmovex (%a0),%fp0 | ...LOAD INPUT
91 fabsx %fp0 | ...|X|
95 fmovemx %fp0-%fp0,(%a0) |pass parameter to setox
97 fmuls #0x3F000000,%fp0 | ...(1/2)EXP(|X|)
101 fdivx %fp0,%fp1 | ...1/(2 EXP(|X|))
104 faddx %fp1,%fp0
112 fabsx %fp0
113 fsubd T1(%pc),%fp0 | ...(|X|-16381LOG2_LEAD)
[all …]
Dssin.S160 fmoves #0x3F800000,%fp0
182 fmovex (%a0),%fp0 | ...LOAD INPUT
186 fmovex %fp0,X(%a6)
201 fmovex %fp0,%fp1
216 fsubx (%a1)+,%fp0 | ...X-Y1
218 fsubs (%a1),%fp0 | ...FP0 IS R = (X-Y1)-Y2
268 fmulx %fp0,%fp2 | ...S(A2+T(A4+TA6))
270 fmulx X(%a6),%fp0 | ...R'*S
296 fmulx %fp0,%fp0 | ...FP0 IS S
301 fmovex %fp0,%fp1
[all …]
Dssinh.S76 fmovex (%a0),%fp0 | ...LOAD INPUT
88 fabsx %fp0 | ...Y = |X|
91 fmovemx %fp0-%fp0,(%a0)
97 fmovex %fp0,%fp1
99 fmovex %fp0,-(%sp)
100 fdivx %fp1,%fp0 | ...Z/(1+Z)
104 faddx (%sp)+,%fp0
108 fmuls (%sp)+,%fp0 |last fp inst - possible exceptions set
115 fabsx %fp0
116 fsubd T1(%pc),%fp0 | ...(|X|-16381LOG2_LEAD)
[all …]
Dstan.S171 fmovex (%a0),%fp0 | ...LOAD INPUT
189 fmovex %fp0,%fp1
201 fsubx (%a1)+,%fp0 | ...X-Y1
204 fsubs (%a1),%fp0 | ...FP0 IS R = (X-Y1)-Y2
214 fmovex %fp0,%fp1
236 fmulx %fp0,%fp2 | ...RS(P1+S(P2+SP3))
241 faddx %fp2,%fp0 | ...R+RS(P1+S(P2+SP3))
247 fdivx %fp1,%fp0 |last inst - possible exception set
252 fmovex %fp0,%fp1
253 fmulx %fp0,%fp0 | ...S = R*R
[all …]
Dstanh.S84 fmovex (%a0),%fp0 | ...LOAD INPUT
86 fmovex %fp0,X(%a6)
103 fmovex X(%a6),%fp0 | ...FP0 IS Y = 2|X|
107 fmovemx %fp0-%fp0,(%a0)
111 fmovex %fp0,%fp1
118 fdivx V(%a6),%fp0
139 fmovex X(%a6),%fp0 | ...Y = 2|X|
143 fmovemx %fp0-%fp0,(%a0)
147 fadds #0x3F800000,%fp0 | ...EXP(Y)+1
151 fdivx %fp0,%fp1 | ...-SIGN(X)2 / [EXP(Y)+1 ]
[all …]
Dsasin.S63 fmovex (%a0),%fp0 | ...LOAD INPUT
75 fsubx %fp0,%fp1 | ...1-X
78 faddx %fp0,%fp2 | ...1+X
82 fdivx %fp1,%fp0 | ...X/SQRT([1-X][1+X])
83 fmovemx %fp0-%fp0,(%a0)
88 fabsx %fp0 | ...|X|
89 fcmps #0x3F800000,%fp0
94 fmovex PIBY2,%fp0
100 fmuls (%sp)+,%fp0
Dsatanh.S78 fabsx (%a0),%fp0 | ...Y = |X|
79 fmovex %fp0,%fp1
81 faddx %fp0,%fp0 | ...2Y
83 fdivx %fp1,%fp0 | ...2Y/(1-Y)
89 fmovemx %fp0-%fp0,(%a0) | ...overwrite input
94 fmuls (%sp)+,%fp0
98 fabsx (%a0),%fp0 | ...|X|
99 fcmps #0x3F800000,%fp0
Dsatan.S285 fmovex %fp0,%fp1 | ...FP1 IS X
287 fsubx X(%a6),%fp0 | ...FP0 IS X-F
289 fdivx %fp1,%fp0 | ...FP0 IS U = (X-F)/(1+X*F)
325 fmovex %fp0,%fp1
330 fmulx %fp0,%fp1 | ...U*V
335 faddx %fp1,%fp0 | ...ATAN(U), FP1 RELEASED
337 faddx ATANF(%a6),%fp0 | ...ATAN(X)
356 fmulx %fp0,%fp0 | ...FP0 IS Y = X*X
361 fmovex %fp0,%fp1
379 fmulx %fp0,%fp2 | ...Y*(B2+Z*(B4+Z*B6))
[all …]
Ddo_func.S18 | Called functions return their result in fp0. Sincos returns
19 | sin(x) in fp0 and cos(x) in fp1.
98 | These routines load forced values into fp0. They are called
101 | Load a signed zero to fp0 and set inex2/ainex
113 | Load a signed zero to fp0; do not set inex2/ainex
121 | Load a signed infinity to fp0; do not set inex2/ainex
129 | Load a signed one to fp0; do not set inex2/ainex
137 | Load a signed pi/2 to fp0; do not set inex2/ainex
166 fmovemx (%a0),%fp0-%fp0
167 fcmpb #-1,%fp0
[all …]
Dslogn.S320 fmovex (%a0),%fp0 | ...LOAD INPUT
371 fmovex X(%a6),%fp0
374 fsubx F(%a6),%fp0 | ...Y-F
381 fmulx (%a0),%fp0 | ...FP0 IS U = (Y-F)/F
383 fmovex %fp0,%fp2
410 fmulx %fp0,%fp1 | ...U*V*(A2+V*(A4+V*A6))
411 faddx %fp2,%fp0 | ...U+V*(A1+V*(A3+V*A5)), FP2 RELEASED
415 faddx %fp1,%fp0 | ...FP0 IS LOG(F) + LOG(1+U)
418 faddx KLOG2(%a6),%fp0 | ...FINAL ADD
424 fmovex %fp0,%fp1
[all …]
Dsgetem.S7 | precision number in fp0. sGETEXPD handles denormalized
12 | extended precision number and returned in fp0. The
19 | Output: The functions return exp(X) or man(X) in fp0.
21 | Modified: fp0.
52 fmovew %d0,%fp0 |move the exp to fp0
61 fmovew %d0,%fp0 |move the exp to fp0
85 fmovex (%a0),%fp0 |put new value back in fp0
Dscale.S15 | Output: The function returns scale(X,Y) to fp0.
17 | Modifies: fp0.
77 fmovex FPTEMP(%a6),%fp0 |simply return dest
86 fmovex ETEMP(%a6),%fp0 |move in src for int
88 fmovel %fp0,%d0 |int src to d0
110 fmovex FPTEMP(%a6),%fp0 |write result to fp0
138 fmovex FPTEMP(%a6),%fp0 |write result to fp0
157 fmovex FPTEMP(%a6),%fp0 |write result to fp0
227 fmovex FPTEMP(%a6),%fp0 |use fmove to set cc's
Dkernel_ex.S50 | store properly signed inf (use sign of etemp) into fp0
83 fmovemx mns_inf,%fp0-%fp0 |load -inf
87 fmovemx pls_inf,%fp0-%fp0 |load +inf
107 | nan bit; Store default NAN into fp0
121 fmovemx nan,%fp0-%fp0 |load default nan
320 fmovex FPTEMP(%a6),%fp0 |load non-sign. nan
339 fmovex ETEMP(%a6),%fp0 |return the non-signalling nan
Dstwotox.S200 fmoves #0x3F800000,%fp0 | ...RETURN 1 + X
203 fadds %d0,%fp0
213 fmovex %fp0,X(%a6)
229 fmovex %fp0,%fp1
304 fmoves #0x3F800000,%fp0 | ...RETURN 1 + X
307 fadds %d0,%fp0
317 fmovex %fp0,X(%a6)
332 fmovex %fp0,%fp1
Dbindec.S83 | is in fp0.
123 | fp0: scratch
166 fmovemx %fp0-%fp2,-(%a7)
234 | fp0: x/float(ILOG)
249 fmovex FP_SCR2(%a6),%fp0 |now fp0 has 1.f
251 faddw %d0,%fp0 |add in exp
252 fsubs FONE,%fp0 |subtract off 1.0
254 fmulx LOG2UP1,%fp0 |if neg, mul by LOG2UP1
255 fmovel %fp0,%d6 |put ILOG in d6 as a lword
258 fmulx LOG2,%fp0 |if pos, mul by LOG2
[all …]
Dsint.S21 | Output: The function returns int(X) or intrz(X) in fp0.
23 | Modifies: fp0.
37 | 4. Normalize the rounded result; store in fp0.
201 fmovex LOCAL_EX(%a0),%fp0 |if exp > 63
229 | normalize the rounded result and store value in fp0
242 fmovex LOCAL_EX(%a0),%fp0 |move result to fp0
Dget_op.S535 fmovemx %fp0-%fp1,-(%a7) |save fp0 - decbin returns in it
537 fmovex %fp0,ETEMP(%a6) |put the unpacked sop in the fsave stack
538 fmovemx (%a7)+,%fp0-%fp1
604 fmovemx %fp0-%fp1,-(%a7) |save fp0 ,fp1 - decbin returns in fp0
606 fmovex %fp0,ETEMP(%a6)
608 fmovemx (%a7)+,%fp0-%fp1
Dslog2.S14 | register fp0.
124 fmulx INV_L10,%fp0
137 fmulx INV_L10,%fp0
151 fmulx INV_L2,%fp0
173 fmovel %d0,%fp0
181 fmulx INV_L2,%fp0
Ddecbin.S471 | Check the sign of the adjusted exp and make the value in fp0 the
472 | same sign. If the exp was pos then multiply fp1*fp0;
473 | else divide fp0/fp1.
478 | (*) fp0: mantissa accumulator
485 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
488 fmulx %fp1,%fp0 |exp is positive, so multiply by exp
491 | Clean up and return with result in fp0.
/linux-5.19.10/drivers/tty/vt/
Dconmakehash.c83 int fp0, fp1, un0, un1; in main() local
139 fp0 = strtol(p, &p1, 0); in main()
163 if ( fp0 < 0 || fp0 >= fontlen ) in main()
167 tblname, fp0); in main()
170 if ( fp1 && (fp1 < fp0 || fp1 >= fontlen) ) in main()
186 for (i=fp0; i<=fp1; i++) in main()
208 tblname, fp0, fp1); in main()
211 if (un1 - un0 != fp1 - fp0) in main()
215 tblname, un0, un1, fp0, fp1); in main()
218 for(i=fp0; i<=fp1; i++) in main()
[all …]
/linux-5.19.10/arch/m68k/ifpsp060/src/
Dfplsp.S307 set EXC_FP0, EXC_FPREGS+(0*12) # offset of saved fp0
567 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
574 fmov.s 0x8(%a6),%fp0 # load sgl input
575 fmov.x %fp0,FP_SRC(%a6)
624 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
631 fmov.d 0x8(%a6),%fp0 # load dbl input
632 fmov.x %fp0,FP_SRC(%a6)
682 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
744 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
751 fmov.s 0x8(%a6),%fp0 # load sgl input
[all …]
Dfpsp.S981 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0-fp1
1338 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1405 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1570 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1587 # the extended precision result is still in fp0. but, we need to save it
1677 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1692 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1709 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1762 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1790 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
[all …]
Dftest.S254 fsin.x DATA(%a6),%fp0
294 ftan.x DATA(%a6),%fp0
331 fmovcr.x &0x31,%fp0
482 fmov.b &0x2,%fp0
486 fmul.x &0xc00000008000000000000000,%fp0
522 fabs.p &0xc12300012345678912345678,%fp0
673 fmov.b &0x1,%fp0
727 fmov.b &0x1,%fp0
739 fmov.x %fp0,-(%sp)
746 fmov.s &0x7f800000,%fp0
[all …]

123