/netbsd-current/external/lgpl3/gmp/dist/mpn/power/ |
H A D | sub_n.asm | 43 andil. 10,6,1 C odd or even number of limbs? 48 sf 7,0,8 C subtract least significant limbs, set cy 50 beq 0,Leven C branch if even # of limbs (# of limbs >= 2) 52 C We have an odd # of limbs. Add the first limbs separately. 60 C We added least significant limbs. Now reload the next limbs to enter loop. 64 sfe 7,0,8 C subtract limbs, set cy 71 sfe 11,10,9 C subtract previous limbs wit [all...] |
H A D | add_n.asm | 42 andil. 10,6,1 C odd or even number of limbs? 47 a 7,0,8 C add least significant limbs, set cy 49 beq 0,Leven C branch if even # of limbs (# of limbs >= 2) 51 C We have an odd # of limbs. Add the first limbs separately. 58 C We added least significant limbs. Now reload the next limbs to enter loop. 62 ae 7,0,8 C add limbs, set cy 69 ae 11,10,9 C add previous limbs wit [all...] |
/netbsd-current/external/lgpl3/gmp/dist/tests/mpf/ |
H A D | t-set.c | 31 mp_size_t limbs = 20; local 32 unsigned long bits = limbs * GMP_NUMB_BITS; 34 refmpf_fill (f, limbs, GMP_NUMB_MAX);
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/arm/neon/ |
H A D | hamdist.asm | 58 C (8*2^16-1)/32 = 0x3fff limbs. We use a chunksize close to that, but which 87 vld1.32 {d0}, [ap]! C load 2 limbs 88 vld1.32 {d20}, [bp]! C load 2 limbs 96 vld1.32 {q0}, [ap]! C load 4 limbs 97 vld1.32 {q10}, [bp]! C load 4 limbs 106 vld1.32 {q0,q1}, [ap]! C load 8 limbs 107 vld1.32 {q10,q11}, [bp]! C load 8 limbs 110 L(gt8): vld1.32 {q2,q3}, [ap]! C load 8 limbs 111 vld1.32 {q14,q15}, [bp]! C load 8 limbs 122 vld1.32 {q2,q3}, [ap]! C load 8 limbs [all...] |
H A D | popcount.asm | 57 C (8*2^16-1)/32 = 0x3fff limbs. We use a chunksize close to that, but which 83 vld1.32 {d0}, [ap]! C load 2 limbs 90 vld1.32 {q0}, [ap]! C load 4 limbs 98 vld1.32 {q0,q1}, [ap]! C load 8 limbs 101 L(gt8): vld1.32 {q2,q3}, [ap]! C load 8 limbs 110 vld1.32 {q2,q3}, [ap]! C load 8 limbs 111 vld1.32 {q0,q1}, [ap]! C load 8 limbs 117 L(top): vld1.32 {q2,q3}, [ap]! C load 8 limbs 122 L(mid): vld1.32 {q0,q1}, [ap]! C load 8 limbs
|
/netbsd-current/external/lgpl3/gmp/dist/ |
H A D | primesieve.c | 184 fill_bitpattern (mp_ptr bit_array, mp_size_t limbs, mp_limb_t offset) argument 201 /* THINK: Consider handling odd values of 'limbs' outside the loop, 205 if (--limbs == 0) 212 } while (--limbs != 0); 226 /* THINK: Consider handling odd values of 'limbs' outside the loop, 230 if (--limbs == 0) 235 } while (--limbs != 0); 238 MPN_FILL (bit_array, limbs, CNST_LIMB(0)); 247 mp_size_t bits, limbs; local 253 limbs 312 block_resieve(mp_ptr bit_array, mp_size_t limbs, mp_limb_t offset, mp_srcptr sieve) argument [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mpn/m88k/ |
H A D | add_n.s | 78 Lzero: subu r10,r10,1 ; add 0 + 8r limbs (adj loop cnt) 83 ld r6,r3,8 ; add 7 + 8r limbs 87 ld r8,r3,12 ; add 6 + 8r limbs 91 ld r6,r3,16 ; add 5 + 8r limbs 95 ld r8,r3,20 ; add 4 + 8r limbs 99 ld r6,r3,24 ; add 3 + 8r limbs 103 ld r8,r3,28 ; add 2 + 8r limbs 107 bcnd.n ne0,r10,Loop ; add 1 + 8r limbs
|
H A D | sub_n.s | 79 Lzero: subu r10,r10,1 ; subtract 0 + 8r limbs (adj loop cnt) 84 ld r6,r3,8 ; subtract 7 + 8r limbs 88 ld r8,r3,12 ; subtract 6 + 8r limbs 92 ld r6,r3,16 ; subtract 5 + 8r limbs 96 ld r8,r3,20 ; subtract 4 + 8r limbs 100 ld r6,r3,24 ; subtract 3 + 8r limbs 104 ld r8,r3,28 ; subtract 2 + 8r limbs 108 bcnd.n ne0,r10,Loop ; subtract 1 + 8r limbs
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/arm64/ |
H A D | hamdist.asm | 55 C (8*2^16-1)/64 = 0x1fff limbs. We use a chunksize close to that, but which 82 ld1 {v0.2d}, [ap], #16 C load 2 limbs 83 ld1 {v16.2d}, [bp], #16 C load 2 limbs 90 ld1 {v0.2d,v1.2d}, [ap], #32 C load 4 limbs 91 ld1 {v16.2d,v17.2d}, [bp], #32 C load 4 limbs 94 L(gt4): ld1 {v2.2d,v3.2d}, [ap], #32 C load 4 limbs 95 ld1 {v18.2d,v19.2d}, [bp], #32 C load 4 limbs 106 L(chu): ld1 {v2.2d,v3.2d}, [ap], #32 C load 4 limbs 107 ld1 {v0.2d,v1.2d}, [ap], #32 C load 4 limbs 108 ld1 {v18.2d,v19.2d}, [bp], #32 C load 4 limbs [all...] |
H A D | popcount.asm | 54 C (8*2^16-1)/64 = 0x1fff limbs. We use a chunksize close to that, but which 79 ld1 {v0.2d}, [ap], #16 C load 2 limbs 85 ld1 {v0.2d,v1.2d}, [ap], #32 C load 4 limbs 88 L(gt4): ld1 {v2.2d,v3.2d}, [ap], #32 C load 4 limbs 97 L(chu): ld1 {v2.2d,v3.2d}, [ap], #32 C load 4 limbs 98 ld1 {v0.2d,v1.2d}, [ap], #32 C load 4 limbs 104 L(top): ld1 {v2.2d,v3.2d}, [ap], #32 C load 4 limbs 109 L(mid): ld1 {v0.2d,v1.2d}, [ap], #32 C load 4 limbs
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/mips64/ |
H A D | sub_n.asm | 46 and $9,$7,4-1 C number of limbs in first loop 47 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop 57 and $9,$7,4-1 C number of limbs in first loop 58 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | add_n.asm | 46 and $9,$7,4-1 C number of limbs in first loop 47 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop 57 and $9,$7,4-1 C number of limbs in first loop 58 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | lshift.asm | 47 and $9,$6,4-1 C number of limbs in first loop 48 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | rshift.asm | 44 and $9,$6,4-1 C number of limbs in first loop 45 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/arm/ |
H A D | com.asm | 55 ldmia up!, { r3, r12 } C load 2 limbs 58 stmia rp!, { r3, r12 } C store 2 limbs 64 L(top): ldmia up!, { r3, r8, r9, r12 } C load 4 limbs 70 stmia rp!, { r3, r8, r9, r12 } C store 4 limbs
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/x86/p6/ |
H A D | mod_34lsub1.asm | 42 C Groups of three limbs are handled, with carry bits from 0mod3 into 1mod3 115 C ecx counter, limbs 132 C ecx is -2, -1 or 0 representing 0, 1 or 2 more limbs respectively 134 jl L(done_0) C if -2, meaning 0 more limbs 136 C 1 or 2 more limbs
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/sparc32/ |
H A D | sub_n.asm | 71 C Add blocks of 8 limbs until less than 8 limbs remain 109 C Add blocks of 2 limbs until less than 2 limbs remain 171 C Add blocks of 8 limbs until less than 8 limbs remain 209 C Add blocks of 2 limbs until less than 2 limbs remain 269 C Add blocks of 8 limbs until less than 8 limbs remai [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mpn/powerpc64/mode64/ |
H A D | aorsorrlshC_n.asm | 96 ADDSUBE(s1, s1, u0) C add limbs with cy, set cy 103 ADDSUBE(s0, s0, u0) C add limbs with cy, set cy 133 ADDSUBC(s1, s1, u0) C add limbs without cy, set cy 151 ADDSUBC(s0, s0, u0) C add limbs without cy, set cy 169 ADDSUBE(s1, s1, u0) C add limbs with cy, set cy 175 ADDSUBE(s0, s0, u0) C add limbs with cy, set cy 182 ADDSUBE(s1, s1, u0) C add limbs with cy, set cy
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/powerpc64/mode32/ |
H A D | add_n.asm | 55 adde r7, r0, r8 C add limbs with cy, set cy 63 adde r7, r10, r9 C add limbs with cy, set cy 73 adde r6, r6, r11 C add limbs with cy, set cy 81 adde r6, r6, r11 C add limbs with cy, set cy
|
/netbsd-current/external/lgpl3/gmp/dist/tests/mpz/ |
H A D | Makefile.am | 33 t-io_raw t-import t-export t-pprime_p t-nextprime t-remove t-limbs
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/x86/k7/mmx/ |
H A D | rshift.asm | 34 C K7: 1.21 cycles/limb (at 16 limbs/loop). 56 C two limbs at a time, for a theoretical 1.0 cycles/limb. Plain integer 133 C eax loop counter, limbs, negative 206 movq (%edx), %mm0 C src low two limbs 220 movq (%edx), %mm1 C src low two limbs 221 decl %eax C size-2, two last limbs handled at end 255 movq %mm1, %mm2 C copy of src low two limbs 463 C limbs should be written.
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/mips32/ |
H A D | add_n.asm | 47 and $9,$7,4-1 C number of limbs in first loop 48 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | sub_n.asm | 46 and $9,$7,4-1 C number of limbs in first loop 47 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | lshift.asm | 47 and $9,$6,4-1 C number of limbs in first loop 48 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|
H A D | rshift.asm | 44 and $9,$6,4-1 C number of limbs in first loop 45 beq $9,$0,.L0 C if multiple of 4 limbs, skip first loop
|