Home
last modified time | relevance | path

Searched refs:cbit (Results 1 – 25 of 33) sorted by relevance

12

/netbsd/src/external/lgpl3/gmp/dist/mpf/
Dmul_ui.c96 mp_limb_t cy_limb, vl, cbit, cin; in mpf_mul_ui() local
152 ADDC_LIMB (cbit, sum, hi, lo); in mpf_mul_ui()
153 cin += cbit; in mpf_mul_ui()
173 __GMPN_ADD_1 (cbit, rp, rp, size, cin); in mpf_mul_ui()
174 cy_limb += cbit; in mpf_mul_ui()
/netbsd/src/external/lgpl3/gmp/dist/mpn/alpha/
Dmode1o.asm108 clr r0 C initial cbit=0
177 subq r1, r0, r2 C x = s - cbit
178 cmpult r1, r0, r0 C new cbit = s < cbit
185 addq r5, r0, r0 C cbit += cbit2
189 addq r19, r0, r0 C return climb + cbit
195 C with high<divisor, the final step can be just (cbit+climb)-s and
198 addq r19, r0, r19 C c = climb + cbit
/netbsd/src/external/gpl3/binutils/dist/cpu/
Dip2k.cpu273 (dsh h-cbit "carry bit" () (register BI))
298 (dnop cbit "carry bit" () h-cbit f-nil)
430 (set cbit (add-cflag w lit8 0))
442 (set cbit (not (sub-cflag lit8 w 0)))
454 (set cbit (not (sub-cflag lit8 w 0)))
570 (set newcbit (add-cflag w fr cbit))
571 (set dcbit (add-dcflag w fr cbit))
582 (set 16bval (addc HI 16bval w cbit))
588 (set result (addc w fr cbit)) ;; else part
592 (set cbit newcbit)
[all …]
Dfr30.cpu366 (dsh h-cbit "carry bit" () (register BI))
519 (dnop cbit "carry bit" (SEM-ONLY) h-cbit f-nil)
562 (set cbit ((.sym op -cflag) arg2 arg1 (const 0)))
591 (set tmp ((.sym op c) arg2 arg1 cbit))
592 (set vbit ((.sym op -oflag) arg2 arg1 cbit))
593 (set cbit ((.sym op -cflag) arg2 arg1 cbit))
622 (set cbit (sub-cflag arg2 arg1 (const 0)))
866 (set cbit (add-cflag (reg h-dr 4) Ri (const 0))))
869 (set cbit (sub-cflag (reg h-dr 4) Ri (const 0)))))
870 (if (not (xor (xor d0bit d1bit) cbit))
[all …]
Dcris.cpu520 (define-pmacro cc-condition (not cbit))
521 (define-pmacro cs-condition cbit)
528 (define-pmacro ls-condition (or cbit zbit))
529 (define-pmacro hi-condition (not (or cbit zbit)))
903 (zext SI (reg BI h-cbit))
929 (set (reg BI h-cbit) (if BI (ne SI (and val (sll 1 0)) 0) 1 0))
967 (zext SI (reg BI h-cbit))
1008 (set (reg BI h-cbit) (if BI (ne SI (and val (sll 1 0)) 0) 1 0))
1216 (dnop cbit "" (SEM-ONLY) h-cbit f-nil)
1217 (dnop cbit-move
[all …]
Dm32c.cpu1336 (name h-cbit)
2168 (dnop cbit "carry bit" (SEM-ONLY all-isas) h-cbit f-nil)
7249 (set result (addc mode dst 0 cbit))
7250 (set obit (add-oflag mode dst 0 cbit))
7251 (set cbit (add-cflag mode dst 0 cbit))
7265 (set cbit (add-cflag mode src1 dst 0))
7310 (set result (addc mode src dst cbit))
7311 (set obit (add-oflag mode src dst cbit))
7312 (set cbit (add-cflag mode src dst cbit))
7336 (set result (subc mode dst src (not cbit)))
[all …]
Depiphany.cpu410 (psw-h-bit h-cbit "integer carry bit")
487 (psw-bit cbit h-cbit "integer carry bit")
679 ;; [6]=integer carry cbit
729 (sll USI cbit (const 6)))
835 (set cbit (and (const 1) (srl newval (const 6))))
1145 (br-insn "gtu" GTU (.pmacro () (and BI cbit (not BI zbit))))
1146 (br-insn "gteu" GTEU (.pmacro () (eq cbit #x1)))
1147 (br-insn "lteu" LTEU (.pmacro () (or BI (not BI cbit) zbit)))
1148 (br-insn "ltu" LTU (.pmacro () (eq cbit #x0)))
1816 (move-insns "gtu" GTU (.pmacro () (and BI cbit (not BI zbit))))
[all …]
/netbsd/src/external/gpl3/gdb/dist/cpu/
Dip2k.cpu273 (dsh h-cbit "carry bit" () (register BI))
298 (dnop cbit "carry bit" () h-cbit f-nil)
430 (set cbit (add-cflag w lit8 0))
442 (set cbit (not (sub-cflag lit8 w 0)))
454 (set cbit (not (sub-cflag lit8 w 0)))
570 (set newcbit (add-cflag w fr cbit))
571 (set dcbit (add-dcflag w fr cbit))
582 (set 16bval (addc HI 16bval w cbit))
588 (set result (addc w fr cbit)) ;; else part
592 (set cbit newcbit)
[all …]
Dfr30.cpu366 (dsh h-cbit "carry bit" () (register BI))
519 (dnop cbit "carry bit" (SEM-ONLY) h-cbit f-nil)
562 (set cbit ((.sym op -cflag) arg2 arg1 (const 0)))
591 (set tmp ((.sym op c) arg2 arg1 cbit))
592 (set vbit ((.sym op -oflag) arg2 arg1 cbit))
593 (set cbit ((.sym op -cflag) arg2 arg1 cbit))
622 (set cbit (sub-cflag arg2 arg1 (const 0)))
866 (set cbit (add-cflag (reg h-dr 4) Ri (const 0))))
869 (set cbit (sub-cflag (reg h-dr 4) Ri (const 0)))))
870 (if (not (xor (xor d0bit d1bit) cbit))
[all …]
Dcris.cpu520 (define-pmacro cc-condition (not cbit))
521 (define-pmacro cs-condition cbit)
528 (define-pmacro ls-condition (or cbit zbit))
529 (define-pmacro hi-condition (not (or cbit zbit)))
903 (zext SI (reg BI h-cbit))
929 (set (reg BI h-cbit) (if BI (ne SI (and val (sll 1 0)) 0) 1 0))
967 (zext SI (reg BI h-cbit))
1008 (set (reg BI h-cbit) (if BI (ne SI (and val (sll 1 0)) 0) 1 0))
1216 (dnop cbit "" (SEM-ONLY) h-cbit f-nil)
1217 (dnop cbit-move
[all …]
Dm32c.cpu1336 (name h-cbit)
2168 (dnop cbit "carry bit" (SEM-ONLY all-isas) h-cbit f-nil)
7249 (set result (addc mode dst 0 cbit))
7250 (set obit (add-oflag mode dst 0 cbit))
7251 (set cbit (add-cflag mode dst 0 cbit))
7265 (set cbit (add-cflag mode src1 dst 0))
7310 (set result (addc mode src dst cbit))
7311 (set obit (add-oflag mode src dst cbit))
7312 (set cbit (add-cflag mode src dst cbit))
7336 (set result (subc mode dst src (not cbit)))
[all …]
Depiphany.cpu410 (psw-h-bit h-cbit "integer carry bit")
487 (psw-bit cbit h-cbit "integer carry bit")
679 ;; [6]=integer carry cbit
729 (sll USI cbit (const 6)))
835 (set cbit (and (const 1) (srl newval (const 6))))
1145 (br-insn "gtu" GTU (.pmacro () (and BI cbit (not BI zbit))))
1146 (br-insn "gteu" GTEU (.pmacro () (eq cbit #x1)))
1147 (br-insn "lteu" LTEU (.pmacro () (or BI (not BI cbit) zbit)))
1148 (br-insn "ltu" LTU (.pmacro () (eq cbit #x0)))
1816 (move-insns "gtu" GTU (.pmacro () (and BI cbit (not BI zbit))))
[all …]
/netbsd/src/external/lgpl3/gmp/dist/mpn/x86/pentium4/sse2/
Dbdiv_q_1.asm118 psubq %mm0, %mm2 C src - cbit
120 psubq %mm1, %mm2 C src - cbit - climb
122 psrlq $63, %mm0 C new cbit
139 psubq %mm0, %mm2 C src - cbit
141 psubq %mm1, %mm2 C src - cbit - climb
Ddive_1.asm184 psubq %mm0, %mm2 C src - cbit
186 psubq %mm1, %mm2 C src - cbit - climb
188 psrlq $63, %mm0 C new cbit
205 psubq %mm0, %mm2 C src - cbit
207 psubq %mm1, %mm2 C src - cbit - climb
Dmode1o.asm152 psubq %mm0, %mm2 C src - cbit
154 psubq %mm1, %mm2 C src - cbit - climb
156 psrlq $63, %mm0 C new cbit
/netbsd/src/external/bsd/pcc/dist/pcc/mip/
Dmkext.c253 long cbit = 0; in main() local
258 cbit |= ((long)1 << i); in main()
260 fprintf(fc, "\t0x%lx,\n", cbit); in main()
264 int cbit = 0; in main() local
269 cbit |= (1 << i); in main()
271 fprintf(fc, "\t0x%08x,\n", cbit); in main()
/netbsd/src/sbin/ping6/
Dping6.c1741 struct cbit { in pr_suptypes() struct
1744 } cbit; in pr_suptypes() local
1772 if (clen < sizeof(cbit) || clen % sizeof(v)) in pr_suptypes()
1774 memcpy(&cbit, cp, sizeof(cbit)); in pr_suptypes()
1775 if (sizeof(cbit) + ntohs(cbit.words) * sizeof(v) > in pr_suptypes()
1778 cp += sizeof(cbit); in pr_suptypes()
1779 clen = ntohs(cbit.words) * sizeof(v); in pr_suptypes()
1780 skip = (size_t)ntohs(cbit.skip) * 32; in pr_suptypes()
/netbsd/src/external/lgpl3/gmp/dist/mpn/x86_64/
Dmode1o.asm57 C The l=src[i]-cbit step is rotated back too, since that allows us to avoid it
113 xor R32(%rcx), R32(%rcx) C initial cbit
/netbsd/src/sys/arch/sparc64/dev/
Diommu.c1228 int cbit; in iommu_dvmamem_map() local
1249 cbit = 0; in iommu_dvmamem_map()
1251 cbit |= PMAP_NVC; in iommu_dvmamem_map()
1253 cbit |= PMAP_NC; in iommu_dvmamem_map()
1266 "mapping va %lx at %llx\n", va, (unsigned long long)addr | cbit)); in iommu_dvmamem_map()
1267 pmap_kenter_pa(va, addr | cbit, in iommu_dvmamem_map()
/netbsd/src/external/gpl3/gdb/dist/opcodes/
Dhppa-dis.c1190 int cbit; in print_insn_hppa() local
1192 cbit = GET_FIELD (insn, 16, 18); in print_insn_hppa()
1194 if (cbit > 0) in print_insn_hppa()
1195 (*info->fprintf_func) (info->stream, ",%d", cbit - 1); in print_insn_hppa()
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Dhppa-dis.c1190 int cbit; in print_insn_hppa() local
1192 cbit = GET_FIELD (insn, 16, 18); in print_insn_hppa()
1194 if (cbit > 0) in print_insn_hppa()
1195 (*info->fprintf_func) (info->stream, ",%d", cbit - 1); in print_insn_hppa()
Dbfin-dis.c1227 int cbit = ((iw0 >> CC2stat_cbit_bits) & CC2stat_cbit_mask); in decode_CC2stat_0() local
1229 const char *bitname = statbits (cbit); in decode_CC2stat_0()
1235 if (decode_statbits[cbit] == REG_LASTREG) in decode_CC2stat_0()
1240 if (cbit != 5) in decode_CC2stat_0()
1241 sprintf (bitnames, "ASTAT[%i /* unused bit */]", cbit); in decode_CC2stat_0()
/netbsd/src/sys/arch/sparc/sparc/
Diommu.c759 int cbit; in iommu_dmamem_map() local
766 cbit = sc->sc_cachecoherent ? 0 : PMAP_NC; in iommu_dmamem_map()
795 pmap_kenter_pa(va, addr | cbit, in iommu_dmamem_map()
/netbsd/src/external/gpl3/gdb/dist/sim/mcore/
Dinterp.c1020 int32_t cbit; in step_once() variable
1021 cbit = C_VALUE(); in step_once()
1023 gr[RD] = (cbit << 31) | (tmp >> 1); in step_once()
/netbsd/src/external/gpl3/gdb/dist/sim/bfin/
Dbfin-sim.c2389 int cbit = ((iw0 >> CC2stat_cbit_bits) & CC2stat_cbit_mask); in decode_CC2stat_0() local
2395 TRACE_EXTRACT (cpu, "%s: D:%i op:%i cbit:%i", __func__, D, op, cbit); in decode_CC2stat_0()
2397 TRACE_INSN (cpu, "%s %s= %s;", D ? astat_names[cbit] : "CC", in decode_CC2stat_0()
2398 op_names[op], D ? "CC" : astat_names[cbit]); in decode_CC2stat_0()
2404 if (cbit == 5) in decode_CC2stat_0()
2407 pval = !!(ASTAT & (1 << cbit)); in decode_CC2stat_0()
2425 TRACE_REGISTER (cpu, "wrote ASTAT[%s] = %i", astat_names[cbit], pval); in decode_CC2stat_0()
2426 SET_ASTAT ((ASTAT & ~(1 << cbit)) | (pval << cbit)); in decode_CC2stat_0()

12