Home
last modified time | relevance | path

Searched refs:vr (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/netbsd-src/sys/dev/mvme/
H A Dvme_two.c170 vmetwo_master_range(struct vmetwo_softc *sc, int range, struct mvmebus_range *vr) in vmetwo_master_range() argument
180 vr->vr_am = MVMEBUS_AM_DISABLED; in vmetwo_master_range()
193 vr->vr_datasize = VME_D32 | VME_D16; in vmetwo_master_range()
195 vr->vr_datasize &= ~VME_D32; in vmetwo_master_range()
198 vr->vr_am = (attr & VME_AM_ADRSIZEMASK) | MVMEBUS_AM2CAP(attr); in vmetwo_master_range()
199 switch (vr->vr_am & VME_AM_ADRSIZEMASK) { in vmetwo_master_range()
202 vr->vr_mask = 0xffffffffu; in vmetwo_master_range()
206 vr->vr_mask = 0x00ffffffu; in vmetwo_master_range()
210 vr->vr_mask = 0x0000ffffu; in vmetwo_master_range()
227 vr->vr_locstart = start & ~vr->vr_mask; in vmetwo_master_range()
[all …]
H A Dmvmebus.c170 struct mvmebus_range *vr = &sc->sc_masters[i]; in mvmebus_attach() local
171 if (vr->vr_am == MVMEBUS_AM_DISABLED) { in mvmebus_attach()
178 vr->vr_locstart + (vr->vr_vmestart & vr->vr_mask), in mvmebus_attach()
179 mvmebus_mod_string(vr->vr_vmestart, in mvmebus_attach()
180 (vr->vr_vmeend - vr->vr_vmestart) + 1, in mvmebus_attach()
181 vr->vr_am, vr->vr_datasize)); in mvmebus_attach()
185 struct mvmebus_range *vr = &sc->sc_slaves[i]; in mvmebus_attach() local
186 if (vr->vr_am == MVMEBUS_AM_DISABLED) { in mvmebus_attach()
192 device_xname(sc->sc_dev), i, vr->vr_locstart, in mvmebus_attach()
193 mvmebus_mod_string(vr->vr_vmestart, in mvmebus_attach()
[all …]
/netbsd-src/sys/dev/pci/
H A Dld_virtio.c201 struct virtio_blk_req *vr = &sc->sc_reqs[i]; in ld_virtio_alloc_reqs() local
208 &vr->vr_cmdsts); in ld_virtio_alloc_reqs()
215 r = bus_dmamap_load(virtio_dmat(sc->sc_virtio), vr->vr_cmdsts, in ld_virtio_alloc_reqs()
216 &vr->vr_hdr, in ld_virtio_alloc_reqs()
231 &vr->vr_payload); in ld_virtio_alloc_reqs()
243 struct virtio_blk_req *vr = &sc->sc_reqs[i]; in ld_virtio_alloc_reqs() local
244 if (vr->vr_cmdsts) { in ld_virtio_alloc_reqs()
246 vr->vr_cmdsts); in ld_virtio_alloc_reqs()
247 vr->vr_cmdsts = 0; in ld_virtio_alloc_reqs()
249 if (vr->vr_payload) { in ld_virtio_alloc_reqs()
[all …]
H A Dvioscsi.c272 struct vioscsi_req *vr; in vioscsi_scsipi_request() local
303 vr = vioscsi_req_get(sc); in vioscsi_scsipi_request()
304 if (vr == NULL) { in vioscsi_scsipi_request()
310 req = &vr->vr_req; in vioscsi_scsipi_request()
311 slot = vr - sc->sc_reqs; in vioscsi_scsipi_request()
363 error = bus_dmamap_load(virtio_dmat(vsc), vr->vr_data, in vioscsi_scsipi_request()
388 nsegs += vr->vr_data->dm_nsegs; in vioscsi_scsipi_request()
392 bus_dmamap_unload(virtio_dmat(vsc), vr->vr_data); in vioscsi_scsipi_request()
399 vr->vr_xs = xs; in vioscsi_scsipi_request()
401 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_control, in vioscsi_scsipi_request()
[all …]
/netbsd-src/sys/arch/powerpc/booke/
H A Dspe.c152 const union __vr *vr = mcp->__vrf.__vrs; in vec_restore_from_mcontext() local
157 pcb->pcb_vr.vreg[8][0] = vr->__vr32[2]; in vec_restore_from_mcontext()
158 pcb->pcb_vr.vreg[8][1] = vr->__vr32[3]; in vec_restore_from_mcontext()
163 for (u_int i = 0; i < 8; i++, vr += 4) { in vec_restore_from_mcontext()
164 pcb->pcb_vr.vreg[i][0] = vr[0].__vr32[0]; in vec_restore_from_mcontext()
165 pcb->pcb_vr.vreg[i][1] = vr[1].__vr32[0]; in vec_restore_from_mcontext()
166 pcb->pcb_vr.vreg[i][2] = vr[2].__vr32[0]; in vec_restore_from_mcontext()
167 pcb->pcb_vr.vreg[i][3] = vr[3].__vr32[0]; in vec_restore_from_mcontext()
185 union __vr *vr = mcp->__vrf.__vrs; in vec_save_to_mcontext() local
187 for (u_int i = 0; i < 32; i++, vr += 4, fixreg += 4) { in vec_save_to_mcontext()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvr-values.cc58 set_value_range_to_nonnegative (value_range_equiv *vr, tree type) in set_value_range_to_nonnegative() argument
61 vr->update (zero, vrp_val_max (type)); in set_value_range_to_nonnegative()
67 set_value_range_to_truthvalue (value_range_equiv *vr, tree type) in set_value_range_to_truthvalue() argument
70 vr->set_varying (type); in set_value_range_to_truthvalue()
72 vr->update (build_int_cst (type, 0), build_int_cst (type, 1)); in set_value_range_to_truthvalue()
81 value_range_equiv *vr; in get_lattice_entry() local
91 vr = vr_value[ver]; in get_lattice_entry()
92 if (vr) in get_lattice_entry()
93 return vr; in get_lattice_entry()
96 vr = allocate_value_range_equiv (); in get_lattice_entry()
[all …]
H A Dgimple-ssa-evrp-analyze.cc85 value_range_equiv vr; in try_find_new_range() local
89 extract_range_for_var_from_comparison_expr (name, code, op, limit, &vr); in try_find_new_range()
92 if (!vr.undefined_p () && !vr.varying_p ()) in try_find_new_range()
94 if (old_vr->equal_p (vr, /*ignore_equivs=*/true)) in try_find_new_range()
97 new_vr->move (&vr); in try_find_new_range()
105 evrp_range_analyzer::set_ssa_range_info (tree lhs, value_range_equiv *vr) in set_ssa_range_info() argument
112 if (!vr->varying_p () && vr->constant_p ()) in set_ssa_range_info()
113 set_range_info (lhs, vr->kind (), in set_ssa_range_info()
114 wi::to_wide (vr->min ()), in set_ssa_range_info()
115 wi::to_wide (vr->max ())); in set_ssa_range_info()
[all …]
H A Dvalue-range-equiv.cc306 dump_value_range (FILE *file, const value_range_equiv *vr) in dump_value_range() argument
308 if (!vr) in dump_value_range()
311 vr->dump (file); in dump_value_range()
315 debug (const value_range_equiv *vr) in debug() argument
317 dump_value_range (stderr, vr); in debug()
321 debug (const value_range_equiv &vr) in debug() argument
323 dump_value_range (stderr, &vr); in debug()
H A Dtree-vrp.cc233 range_int_cst_p (const value_range *vr) in range_int_cst_p() argument
235 return (vr->kind () == VR_RANGE && range_has_numeric_bounds_p (vr)); in range_int_cst_p()
709 extract_range_from_pointer_plus_expr (value_range *vr, in extract_range_from_pointer_plus_expr() argument
738 vr->set_nonzero (expr_type); in extract_range_from_pointer_plus_expr()
740 vr->set_zero (expr_type); in extract_range_from_pointer_plus_expr()
742 vr->set_varying (expr_type); in extract_range_from_pointer_plus_expr()
749 extract_range_from_plus_minus_expr (value_range *vr, in extract_range_from_plus_minus_expr() argument
765 extract_range_from_plus_minus_expr (vr, code, expr_type, &vrtem0, vr1_); in extract_range_from_plus_minus_expr()
771 vr->union_ (&vrres); in extract_range_from_plus_minus_expr()
779 extract_range_from_plus_minus_expr (vr, code, expr_type, vr0_, &vrtem0); in extract_range_from_plus_minus_expr()
[all …]
H A Dgimple-array-bounds.cc294 const value_range *vr = NULL; in check_array_ref() local
297 vr = get_value_range (low_sub, stmt); in check_array_ref()
298 if (!vr->undefined_p () && !vr->varying_p ()) in check_array_ref()
300 low_sub = vr->kind () == VR_RANGE ? vr->max () : vr->min (); in check_array_ref()
301 up_sub = vr->kind () == VR_RANGE ? vr->min () : vr->max (); in check_array_ref()
307 else if (vr && vr->kind () == VR_ANTI_RANGE) in check_array_ref()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvr-values.c57 set_value_range_to_nonnegative (value_range_equiv *vr, tree type) in set_value_range_to_nonnegative() argument
60 vr->update (zero, vrp_val_max (type)); in set_value_range_to_nonnegative()
66 set_value_range_to_truthvalue (value_range_equiv *vr, tree type) in set_value_range_to_truthvalue() argument
69 vr->set_varying (type); in set_value_range_to_truthvalue()
71 vr->update (build_int_cst (type, 0), build_int_cst (type, 1)); in set_value_range_to_truthvalue()
80 value_range_equiv *vr; in get_lattice_entry() local
90 vr = vr_value[ver]; in get_lattice_entry()
91 if (vr) in get_lattice_entry()
92 return vr; in get_lattice_entry()
95 vr_value[ver] = vr = vrp_value_range_pool.allocate (); in get_lattice_entry()
[all …]
H A Dgimple-ssa-evrp-analyze.c86 value_range_equiv vr; in try_find_new_range() local
91 limit, &vr); in try_find_new_range()
94 if (!vr.undefined_p () && !vr.varying_p ()) in try_find_new_range()
96 if (old_vr->equal_p (vr, /*ignore_equivs=*/true)) in try_find_new_range()
99 new_vr->move (&vr); in try_find_new_range()
107 evrp_range_analyzer::set_ssa_range_info (tree lhs, value_range_equiv *vr) in set_ssa_range_info() argument
114 if (vr->constant_p ()) in set_ssa_range_info()
115 set_range_info (lhs, vr->kind (), in set_ssa_range_info()
116 wi::to_wide (vr->min ()), in set_ssa_range_info()
117 wi::to_wide (vr->max ())); in set_ssa_range_info()
[all …]
H A Dtree-vrp.c259 dump_value_range (FILE *file, const value_range_equiv *vr) in dump_value_range() argument
261 if (!vr) in dump_value_range()
264 vr->dump (file); in dump_value_range()
268 debug (const value_range_equiv *vr) in debug() argument
270 dump_value_range (stderr, vr); in debug()
274 debug (const value_range_equiv &vr) in debug() argument
276 dump_value_range (stderr, &vr); in debug()
412 range_int_cst_p (const value_range *vr) in range_int_cst_p() argument
414 return (vr->kind () == VR_RANGE && range_has_numeric_bounds_p (vr)); in range_int_cst_p()
890 extract_range_from_pointer_plus_expr (value_range *vr, in extract_range_from_pointer_plus_expr() argument
[all …]
H A Dtree-ssa-sccvn.c221 free_reference (vn_reference_s *vr) in free_reference() argument
223 vr->operands.release (); in free_reference()
1678 vn_reference_lookup_1 (vn_reference_t vr, vn_reference_t *vnresult) in vn_reference_lookup_1() argument
1683 hash = vr->hashcode; in vn_reference_lookup_1()
1684 slot = valid_info->references->find_slot_with_hash (vr, hash, NO_INSERT); in vn_reference_lookup_1()
1717 : vr (vr_), last_vuse_ptr (last_vuse_ptr_), last_vuse (NULL_TREE), in vn_walk_cb_data()
1771 vn_reference_t vr; member
1815 = saved_operands.exists () ? saved_operands : vr->operands; in finish()
1817 vr->type, operands, val); in finish()
2132 tree type = vr->type; in push_partial_def()
[all …]
H A Dvalue-range.h204 range_includes_zero_p (const value_range *vr) in range_includes_zero_p() argument
206 if (vr->undefined_p ()) in range_includes_zero_p()
209 if (vr->varying_p ()) in range_includes_zero_p()
212 return vr->may_contain_p (build_zero_cst (vr->type ())); in range_includes_zero_p()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ryu/
H A Dd2s.c106 uint64_t vr, vp, vm; in d2d() local
120 vr = mulShiftAll64(m2, pow5, i, &vp, &vm, mmShift); in d2d()
122 vr = mulShiftAll64(m2, DOUBLE_POW5_INV_SPLIT[q], i, &vp, &vm, mmShift); in d2d()
126 printf("V+=%" PRIu64 "\nV =%" PRIu64 "\nV-=%" PRIu64 "\n", vp, vr, vm); in d2d()
155 vr = mulShiftAll64(m2, pow5, j, &vp, &vm, mmShift); in d2d()
157 vr = mulShiftAll64(m2, DOUBLE_POW5_SPLIT[i], j, &vp, &vm, mmShift); in d2d()
162 printf("V+=%" PRIu64 "\nV =%" PRIu64 "\nV-=%" PRIu64 "\n", vp, vr, vm); in d2d()
188 printf("V+=%" PRIu64 "\nV =%" PRIu64 "\nV-=%" PRIu64 "\n", vp, vr, vm); in d2d()
207 const uint64_t vrDiv10 = div10(vr); in d2d()
208 const uint32_t vrMod10 = ((uint32_t) vr) - 10 * ((uint32_t) vrDiv10); in d2d()
[all …]
H A Df2s.c66 uint32_t vr, vp, vm; in f2d() local
76 vr = mulPow5InvDivPow2(mv, q, i); in f2d()
81 printf("V+=%u\nV =%u\nV-=%u\n", vp, vr, vm); in f2d()
107 vr = mulPow5divPow2(mv, (uint32_t) i, j); in f2d()
113 printf("V+=%u\nV =%u\nV-=%u\n", vp, vr, vm); in f2d()
139 printf("V+=%u\nV =%u\nV-=%u\n", vp, vr, vm); in f2d()
158 lastRemovedDigit = (uint8_t) (vr % 10); in f2d()
159 vr /= 10; in f2d()
165 printf("V+=%u\nV =%u\nV-=%u\n", vp, vr, vm); in f2d()
171 lastRemovedDigit = (uint8_t) (vr % 10); in f2d()
[all …]
H A Dgeneric_128.c103 uint128_t vr, vp, vm; in generic_binary_to_decimal() local
116 vr = mulShift(4 * m2, pow5, i); in generic_binary_to_decimal()
121 printf("V+=%s\nV =%s\nV-=%s\n", s(vp), s(vr), s(vm)); in generic_binary_to_decimal()
147 vr = mulShift(4 * m2, pow5, j); in generic_binary_to_decimal()
153 printf("V+=%s\nV =%s\nV-=%s\n", s(vp), s(vr), s(vm)); in generic_binary_to_decimal()
180 printf("V+=%s\nV =%s\nV-=%s\n", s(vp), s(vr), s(vm)); in generic_binary_to_decimal()
193 lastRemovedDigit = (uint8_t) (vr % 10); in generic_binary_to_decimal()
194 vr /= 10; in generic_binary_to_decimal()
200 printf("V+=%s\nV =%s\nV-=%s\n", s(vp), s(vr), s(vm)); in generic_binary_to_decimal()
206 lastRemovedDigit = (uint8_t) (vr % 10); in generic_binary_to_decimal()
[all …]
/netbsd-src/bin/ksh/
H A Dexpr.c288 struct tbl *vl, UNINITIALIZED(*vr), *vasn;
341 vr = intvar(es, evalexpr(es, P_ASSIGN));
343 vr = intvar(es, evalexpr(es, ((int) prec) - 1));
345 || op == O_MODASN) && vr->val.i == 0)
348 vr->val.i = 1;
355 res = vl->val.i * vr->val.i;
359 res = vl->val.i / vr->val.i;
363 res = vl->val.i % vr->val.i;
367 res = vl->val.i + vr->val.i;
371 res = vl->val.i - vr->val.i;
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-lucm.c34 mpz_t m, vr, qr, vm, qm, vt; in testmain() local
40 mpz_init (vr); in testmain()
48 mini_random_lucm_op (MAXBITS, vr, qr, m, &Q, &b0, &resr); in testmain()
70 mpz_abs (vr, vr); in testmain()
71 mpz_sub (vt, m, vr); in testmain()
77 (mpz_cmp (vm, vr) != 0 && mpz_cmp (vm, vt) != 0)) in testmain()
83 dump ("vr", vr); in testmain()
93 mpz_clear (vr); in testmain()
/netbsd-src/sys/arch/sparc/sparc/
H A Dpmap.c981 #define GAP_WIDEN(pm,vr) do if (CPU_HAS_SUNMMU) { \ argument
982 if (vr + 1 == pm->pm_gap_start) \
983 pm->pm_gap_start = vr; \
984 if (vr == pm->pm_gap_end) \
985 pm->pm_gap_end = vr + 1; \
988 #define GAP_SHRINK(pm,vr) do if (CPU_HAS_SUNMMU) { \ argument
991 if (vr > x) { \
992 if (vr < pm->pm_gap_end) \
993 pm->pm_gap_end = vr; \
995 if (vr >= pm->pm_gap_start && x != pm->pm_gap_start) \
[all …]
/netbsd-src/sys/arch/hpcmips/conf/
H A Dfiles.hpcmips56 file arch/hpcmips/vr/vr.c vr41xx # NEC VR4000 series
57 file arch/hpcmips/vr/vr_idle.S vr41xx
111 file arch/hpcmips/vr/vrip.c vrip_common needs-flag
112 file arch/hpcmips/vr/vrip_spl.S vrip_common
117 file arch/hpcmips/vr/vr4102ip.c vr4102ip
120 file arch/hpcmips/vr/vr4122ip.c vr4122ip
123 file arch/hpcmips/vr/vr4181ip.c vr4181ip
127 file arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag
131 file arch/hpcmips/vr/rtc.c vrrtc needs-flag
135 file arch/hpcmips/vr/cmu.c vrcmu needs-flag
[all …]
/netbsd-src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/brcm/
H A Dbcm63268-comtrend-vr-3032u.dts7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
42 label = "vr-3032u:red:inet";
47 label = "vr-3032u:green:dsl";
52 label = "vr-3032u:green:usb";
57 label = "vr-3032u:green:wps";
62 label = "vr-3032u:green:inet";
102 label = "vr-3032u:green:power";
/netbsd-src/sys/arch/evbppc/wii/dev/
H A Dwiifb.c356 struct vi_regs *vr; in wiifb_ioctl()
402 vr = data; in wiifb_ioctl()
403 switch (vr->bits) {
405 if ((vr->reg & 1) != 0) { in wiifb_mmap()
409 vr->val16 = RD2(sc, vr->reg); in wiifb_mmap()
411 WR2(sc, vr->reg, vr->val16); in wiifb_mmap()
415 if ((vr->reg & 3) != 0) { in wiifb_mmap()
419 vr in wiifb_mmap()
327 struct vi_regs *vr; wiifb_ioctl() local
[all...]
/netbsd-src/sys/arch/sparc/include/
H A Dpte.h235 #define VRTOVA(vr) ((CPU_HAS_SRMMU || HASSUN4_MMU3L) \ argument
236 ? ((int)(vr) << RGSHIFT) \
237 : (((int)(vr) << (RGSHIFT+2)) >> 2))
238 #define VSTOVA(vr,vs) ((CPU_HAS_SRMMU || HASSUN4_MMU3L) \ argument
239 ? (((int)(vr) << RGSHIFT) + ((int)(vs) << SGSHIFT)) \
240 : ((((int)(vr) << (RGSHIFT+2)) >> 2) + ((int)(vs) << SGSHIFT)))

12345678910>>...15