HomeSort by: relevance | last modified time | path
    Searched refs:divide (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/arch/hppa/spmath/
divu.S 47 * Implement an integer divide routine for 32-bit operands and 32-bit quotient
77 ds rem,dvr,rem ; 1st divide step, if carry
80 ds rem,dvr,rem ; 2nd divide step
82 ds rem,dvr,rem ; 3rd divide step
84 ds rem,dvr,rem ; 4th divide step
86 ds rem,dvr,rem ; 5th divide step
88 ds rem,dvr,rem ; 6th divide step
90 ds rem,dvr,rem ; 7th divide step
92 ds rem,dvr,rem ; 8th divide step
94 ds rem,dvr,rem ; 9th divide ste
    [all...]
  /src/sys/lib/libkern/arch/m68k/
udivsi3.S 60 | first, we divide the divisor and dividend by two until
69 | now we can do the divide. to avoid overflow, we have to
70 | do the divide in two parts, high and low, and add the
75 divuw %d0, %d1 | do the high divide
76 moveal %d1, %a1 | save high divide result
78 divuw %d0, %d1 | do the low divide
79 movel %a1, %d0 | recover high divide result
81 clrw %d0 | %d0 = finished high divide result
82 andil #0xffff, %d1 | %d1 = finished low divide result
85 | the quotient we have so far is only a guess. the divide we
    [all...]
  /src/sys/lib/libkern/arch/hppa/
milli.S 484 ds r0,arg1,temp ; 1st divide step, if no carry
486 ds temp,arg1,temp ; 2nd divide step
488 ds temp,arg1,temp ; 3rd divide step
490 ds temp,arg1,temp ; 4th divide step
492 ds temp,arg1,temp ; 5th divide step
494 ds temp,arg1,temp ; 6th divide step
496 ds temp,arg1,temp ; 7th divide step
498 ds temp,arg1,temp ; 8th divide step
500 ds temp,arg1,temp ; 9th divide step
502 ds temp,arg1,temp ; 10th divide ste
    [all...]
  /src/lib/libm/arch/vax/
n_sqrt.S 89 subw2 $0x80,%r0 # divide by two
93 subw2 $0x80,%r0 # divide by two
  /src/sys/arch/m68k/060sp/dist/
ilsp.doc 43 module can be used to emulate 64-bit divide and multiply,
104 For a divide:
114 bsr.l _060LISP_TOP+0x08 # branch to divide routine
137 If the instruction being emulated is a divide and the source
139 instruction, executes an implemented divide using a zero
140 source operand so that an "Integer Divide-by-Zero" exception
fskeletn.s 153 # This is the exit point for the 060FPSP when an enabled divide-by-zero exception
155 # for enabled divide-by-zero exceptions. The exception stack frame is a divide-by-zero
ilsp.s 78 # 64-bit divide instruction. #
95 # sign info for later. Separate out special cases like divide-by-zero #
100 # zero, then perform a divide-by-zero using a 16-bit implemented #
101 # divide instruction. This way, the operating system can record that #
151 # separate signed and unsigned divide
153 beq.b ldspecialcases # use positive divide
184 bls.b ld32bitdivide # yes, so use 32 bit divide
187 bra.w ldivfinish # can't divide, we're done.
200 # perform the divide algorithm:
201 bsr.l ldclassical # do int divide
    [all...]
iskeletn.s 116 # integer divide where the source operand is a zero, then the _isp_unimp()
117 # creates a Divide-by-zero exception stack frame from the Unimplemented
isp.doc 50 64-bit divide
isp.s 349 # _div64() - emulate 64-bit divide #
382 # types of exceptions. "div" can produce a divide-by-zero exception, #
502 # div64() may take a divide by zero exception.
510 btst &idbyz_bit,SPCOND_FLG(%a6) # did divide-by-zero occur?
520 # (iii) (a7)+; divide-by-zero
522 btst &idbyz_bit,SPCOND_FLG(%a6) # did divide-by-zero occur?
691 # the divide instruction should take an integer divide by zero trap. so, here
725 # the divide instruction should take an integer divide by zero trap. so, here
    [all...]
pfpsp.s 458 set dz_bit, 2 # divide by zero
493 set adz_mask, 0x00000010 # accrued divide by zero
5610 asr.l &0x1,%d0 # divide scale factor by 2
5618 asr.l &0x1,%d0 # divide scale factor by 2
5631 asr.l &0x1,%d0 # divide scale factor by 2
5638 asr.l &0x1,%d0 # divide scale factor by 2
5790 # Divide : (Zero / Zero) || (Infinity / Infinity) #
7986 # Handle NANs, infinities, and zeroes as special cases. Divide #
8481 # Handle NANs, infinities, and zeroes as special cases. Divide #
8803 # Handle NANs, infinities, and zeroes as special cases. Divide #
    [all...]
  /src/common/lib/libc/arch/mips/string/
ffs.S 103 srl a2, 1 # divide bit count by 2
  /src/lib/libc/arch/sparc/gen/
divrem.m4 134 bge 2f ! no, go do the divide
148 ! Ready to divide. Compute size of quotient; scale comparand.
153 ! Divide by zero trap. If it returns, return 0 (about as
169 ! as our usual N-at-a-shot divide step will cause overflow and havoc.
206 ! do single-bit divide steps
209 ! first divide step without thinking. BUT, the others are conditional,
  /src/sys/arch/hppa/stand/common/
milli_tiny.S 47 subt,= %r0,%r25,%r1 ; trap divide by 0, negate
91 subt,= %r0,%r25,%r1 ; trap divide by 0, negate
  /src/sys/lib/libkern/arch/sparc/
divrem.m4 134 bge 2f ! no, go do the divide
148 ! Ready to divide. Compute size of quotient; scale comparand.
153 ! Divide by zero trap. If it returns, return 0 (about as
169 ! as our usual N-at-a-shot divide step will cause overflow and havoc.
206 ! do single-bit divide steps
209 ! first divide step without thinking. BUT, the others are conditional,
  /src/sys/lib/libkern/arch/sparc64/
divrem.m4 135 bge 2f ! no, go do the divide
149 ! Ready to divide. Compute size of quotient; scale comparand.
154 ! Divide by zero trap. If it returns, return 0 (about as
170 ! as our usual N-at-a-shot divide step will cause overflow and havoc.
207 ! do single-bit divide steps
210 ! first divide step without thinking. BUT, the others are conditional,
  /src/sys/arch/atari/atari/
vectors.s 42 VECTOR(zerodiv) | 5: zero divide
102 ASVECTOR(dz) | 50: FPCP divide by zero
110 VECTOR(fpfault) | 50: FPCP divide by zero
  /src/sys/dev/pci/
esm.c 451 u_int prescale, divide; local in function:wp_settimer
455 divide = (freq != 0) ? (clock / freq) : ~0;
456 RANGE(divide, WPTIMER_MINDIV, WPTIMER_MAXDIV);
458 for (; divide > 32 << 1; divide >>= 1)
460 divide = (divide + 1) >> 1;
462 for (; prescale < 7 && divide > 2 && !(divide & 1); divide >>= 1
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/renesas/
hihope-rev4.dtsi 61 assigned-clock-rates = <24576000>; /* 1/1 divide */
ulcb.dtsi 242 assigned-clock-rates = <24576000>; /* 1/1 divide */
r8a77995-draak.dts 445 assigned-clock-rates = <24576000>; /* 1/1 divide */
r8a77990-ebisu.dts 489 assigned-clock-rates = <24576000>; /* 1/1 divide */
salvator-common.dtsi 506 assigned-clock-rates = <24576000>; /* 1/1 divide */
  /src/sys/arch/m68k/fpsp/
l_fpsp.h 192 dz_bit equ 2 divide by zero
199 adz_bit equ 4 accrued divide by zero
221 adz_mask equ $00000010 accrued divide by zero
  /src/sys/net/
bpfjit.c 1126 divide(sljit_uw x, sljit_uw y) function in typeref:typename:sljit_uw
1200 SLJIT_IMM, xdiv ? SLJIT_FUNC_OFFSET(divide) :

Completed in 27 milliseconds

1 2