Home
last modified time | relevance | path

Searched full:divide (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/Linux-v5.10/include/linux/
Dmath64.h15 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder
23 * divide.
32 * div_s64_rem - signed 64bit divide with 32bit divisor with remainder
46 * div64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder
60 * div64_u64 - unsigned 64bit divide with 64bit divisor
72 * div64_s64 - signed 64bit divide with 64bit divisor
115 * div_u64 - unsigned 64bit divide with 32bit divisor
119 * This is the most common 64bit divide and should be used if possible,
121 * divide.
132 * div_s64 - signed 64bit divide with 32bit divisor
[all …]
Dreciprocal_div.h47 * ceil(log2(d)) result will be 32 which then requires u128 divide on host. The
54 * It makes no sense to use this advanced version for host divide emulation,
58 * However, it makes sense to use it for JIT divide code generation for which
/Linux-v5.10/drivers/acpi/acpica/
Dutmath.c14 /* Structures used only for 64-bit divide */
229 * Optional support for 64-bit double-precision integer divide. This code
233 * Support for a more normal 64-bit divide/modulo (with check for a divide-
247 * RETURN: Status (Checks for divide-by-zero)
250 * divide and modulo. The result is a 64-bit quotient and a
268 ACPI_ERROR((AE_INFO, "Divide by zero")); in acpi_ut_short_divide()
276 * and is generated by the second divide. in acpi_ut_short_divide()
305 * RETURN: Status (Checks for divide-by-zero)
307 * DESCRIPTION: Perform a divide and modulo.
330 ACPI_ERROR((AE_INFO, "Divide by zero")); in acpi_ut_divide()
[all …]
/Linux-v5.10/arch/m68k/ifpsp060/
Dilsp.doc34 module can be used to emulate 64-bit divide and multiply,
95 For a divide:
105 bsr.l _060LISP_TOP+0x08 # branch to divide routine
128 If the instruction being emulated is a divide and the source
130 instruction, executes an implemented divide using a zero
131 source operand so that an "Integer Divide-by-Zero" exception
/Linux-v5.10/arch/arm/mach-pxa/include/mach/
Dsmemc.h57 #define MDREFR_K0DB4 (1 << 29) /* SDCLK0 Divide by 4 Control/Status */
63 #define MDREFR_K2DB2 (1 << 19) /* SDCLK2 Divide by 2 Control/Status */
65 #define MDREFR_K1DB2 (1 << 17) /* SDCLK1 Divide by 2 Control/Status */
68 #define MDREFR_K0DB2 (1 << 14) /* SDCLK0 Divide by 2 Control/Status */
/Linux-v5.10/arch/x86/math-emu/
Ddiv_Xsig.S16 | Divide the 96 bit quantity pointed to by a, by that pointed to by b, and |
99 | Divide: Return arg1/arg2 to arg3. |
114 /* Divide by 2 to prevent overflow */
136 /* We will divide by a number which is too large */
141 /* here we need to divide by 100000000h,
147 divl %ecx /* Divide the numerator by the augmented
222 divl %ecx /* Divide the numerator by the denom ms dw */
Dreg_u_div.S6 | Divide one FPU_REG by another and put the result in a destination FPU_REG.|
118 jnz L_Full_Division /* Can't do a quick divide */
132 /* Divide the 64 bit number by the 32 bit denominator */
163 | Divide: Return arg1/arg2 to arg3. |
218 /* We will divide by a number which is too large */
223 /* here we need to divide by 100000000h,
229 divl %ecx /* Divide the numerator by the augmented
304 divl %ecx /* Divide the numerator by the denom ms dw */
/Linux-v5.10/drivers/clk/pxa/
Dclk-pxa.c21 #define MDREFR_K0DB4 (1 << 29) /* SDCLK0 Divide by 4 Control/Status */
27 #define MDREFR_K2DB2 (1 << 19) /* SDCLK2 Divide by 2 Control/Status */
29 #define MDREFR_K1DB2 (1 << 17) /* SDCLK1 Divide by 2 Control/Status */
32 #define MDREFR_K0DB2 (1 << 14) /* SDCLK0 Divide by 2 Control/Status */
176 * must be set prior to the change. Clearing the divide must be done in pxa2xx_cpll_change()
/Linux-v5.10/arch/mips/cavium-octeon/
Docteon-usb.c62 /* Divide the reference clock by 2 before entering the
89 * 0x0 = divide by 1
90 * 0x1 = divide by 2
91 * 0x2 = divide by 4
92 * 0x3 = divide by 6
93 * 0x4 = divide by 8
94 * 0x5 = divide by 16
95 * 0x6 = divide by 24
96 * 0x7 = divide by 32
/Linux-v5.10/tools/perf/pmu-events/arch/x86/goldmont/
Dpipeline.json157 "PublicDescription": "Counts the number of floating point divide uops retired.",
163 "BriefDescription": "Floating point divide uops retired. (Precise Event Capable)"
168 "PublicDescription": "Counts the number of integer divide uops retired.",
174 "BriefDescription": "Integer divide uops retired. (Precise Event Capable)"
394 "PublicDescription": "Counts core cycles if either divide unit is busy.",
404 "PublicDescription": "Counts core cycles the integer divide unit is busy.",
410 "BriefDescription": "Cycles the integer divide unit is busy"
414 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
420 "BriefDescription": "Cycles the FP divide unit is busy"
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h218 * Thus, we need to divide by 12K. But division is slow! Instead,
222 * To divide by 12K, we first divide by 4K, then divide by 3:
223 * To divide by 4K, shift right by 12 bits
224 * To divide by 3, multiply by 85, then divide by 256
225 * (Divide by 256 is done by shifting right by 8 bits)
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h216 * Thus, we need to divide by 12K. But division is slow! Instead,
220 * To divide by 12K, we first divide by 4K, then divide by 3:
221 * To divide by 4K, shift right by 12 bits
222 * To divide by 3, multiply by 85, then divide by 256
223 * (Divide by 256 is done by shifting right by 8 bits)
/Linux-v5.10/lib/math/
Ddiv64.c65 * div_s64_rem - signed 64bit divide with 64bit divisor and remainder
91 * div64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder
131 * div64_u64 - unsigned 64bit divide with 64bit divisor
165 * div64_s64 - signed 64bit divide with 64bit divisor
/Linux-v5.10/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json87 "BriefDescription": "Divide and square root Ops.",
88 …ave retired. The number of events logged per cycle can vary from 0 to 8. Divide and square root Op…
122 "BriefDescription": "Double precision divide/square root FLOPS.",
123 …e can vary from 0 to 64. This event can count above 15. Double precision divide/square root FLOPS.…
150 "BriefDescription": "Single-precision divide/square root FLOPS.",
151 …e can vary from 0 to 64. This event can count above 15. Single-precision divide/square root FLOPS.…
/Linux-v5.10/drivers/clk/ingenic/
Dcgu.h77 * @shift: number of bits to left shift the divide value by (ie. the index of
78 * the lowest bit of the divide value within its control register)
79 * @div: number to divide the divider value by (i.e. if the
82 * @bits: the size of the divide value in bits
/Linux-v5.10/include/linux/can/platform/
Dcc770.h10 #define CPUIF_DMC 0x20 /* Divide Memory Clock */
11 #define CPUIF_DSC 0x40 /* Divide System Clock */
/Linux-v5.10/tools/perf/pmu-events/arch/x86/goldmontplus/
Dpipeline.json196 "PublicDescription": "Counts the number of floating point divide uops retired.",
203 "BriefDescription": "Floating point divide uops retired (Precise Event Capable)"
208 "PublicDescription": "Counts the number of integer divide uops retired.",
215 "BriefDescription": "Integer divide uops retired (Precise Event Capable)"
471 "PublicDescription": "Counts core cycles if either divide unit is busy.",
483 "PublicDescription": "Counts core cycles the integer divide unit is busy.",
491 "BriefDescription": "Cycles the integer divide unit is busy"
495 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
503 "BriefDescription": "Cycles the FP divide unit is busy"
/Linux-v5.10/drivers/clk/h8300/
Dclk-div.c3 * H8/300 divide clock driver
34 pr_err("%s: failed to map divide register\n", clk_name); in h8300_div_clk_setup()
/Linux-v5.10/arch/microblaze/kernel/
Dexceptions.c112 pr_debug("Divide by zero exception in user mode\n"); in full_exception()
116 pr_warn("Divide by zero exception in kernel mode.\n"); in full_exception()
117 die("Divide by zero exception", regs, SIGBUS); in full_exception()
/Linux-v5.10/arch/arc/include/asm/
Ddelay.h43 * -Mathematically if we multiply and divide a number by same value the
49 * -Divide by 2^32 is very simply right shift by 32
/Linux-v5.10/arch/parisc/math-emu/
Dsfdiv.c15 * Single Precision Floating-point Divide
33 * Single Precision Floating-point Divide
203 /* Divide the source mantissas */ in sgl_fdiv()
206 * A non_restoring divide algorithm is used. in sgl_fdiv()
Ddfdiv.c15 * Double Precision Floating-point Divide
33 * Double Precision Floating-point Divide
205 /* Divide the source mantissas */ in dbl_fdiv()
208 * A non-restoring divide algorithm is used. in dbl_fdiv()
/Linux-v5.10/arch/powerpc/lib/
Ddiv64.S3 * Divide a 64-bit unsigned number by a 32-bit unsigned number.
39 divwu r11,r11,r9 # then we divide the shifted quantities
/Linux-v5.10/drivers/pcmcia/
Dsa11xx_base.h41 * divide the command width time (the greater of twIOWR and twIORD,
42 * or the greater of twWE and twOE) by processor cycle time; divide
43 * by 2; divide again by 3 (number of BCLK's per command assertion);
/Linux-v5.10/Documentation/arm/nwfpe/
Dnetwinder-fpe.rst84 DVF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - divide
85 RDV{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse divide
90 FDV{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - fast divide
91 FRD{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - fast reverse divide

12345678910>>...29