Home
last modified time | relevance | path

Searched refs:vreg (Results 1 – 23 of 23) sorted by relevance

/netbsd/src/sys/arch/powerpc/oea/
Dgenassym.cf132 define VREG_V0 offsetof(struct vreg, vreg[0][0])
133 define VREG_V1 offsetof(struct vreg, vreg[1][0])
134 define VREG_V2 offsetof(struct vreg, vreg[2][0])
135 define VREG_V3 offsetof(struct vreg, vreg[3][0])
136 define VREG_V4 offsetof(struct vreg, vreg[4][0])
137 define VREG_V5 offsetof(struct vreg, vreg[5][0])
138 define VREG_V6 offsetof(struct vreg, vreg[6][0])
139 define VREG_V7 offsetof(struct vreg, vreg[7][0])
140 define VREG_V8 offsetof(struct vreg, vreg[8][0])
141 define VREG_V9 offsetof(struct vreg, vreg[9][0])
[all …]
Daltivec.c174 memcpy(pcb->pcb_vr.vreg, &mcp->__vrf.__vrs, in vec_restore_from_mcontext()
175 sizeof (pcb->pcb_vr.vreg)); in vec_restore_from_mcontext()
202 memcpy(mcp->__vrf.__vrs, pcb->pcb_vr.vreg, in vec_save_to_mcontext()
Doea_machdep.c183 curpcb->pcb_vr.vreg[scratch][0] = 0x7FFFDEAD; in oea_init()
184 curpcb->pcb_vr.vreg[scratch][1] = 0x7FFFDEAD; in oea_init()
185 curpcb->pcb_vr.vreg[scratch][2] = 0x7FFFDEAD; in oea_init()
186 curpcb->pcb_vr.vreg[scratch][3] = 0x7FFFDEAD; in oea_init()
/netbsd/src/sys/arch/powerpc/booke/
Dspe.c157 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()
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()
188 vr[0].__vr32[0] = pcb->pcb_vr.vreg[i][0]; in vec_save_to_mcontext()
192 vr[1].__vr32[0] = pcb->pcb_vr.vreg[i][1]; in vec_save_to_mcontext()
196 vr[2].__vr32[0] = pcb->pcb_vr.vreg[i][2]; in vec_save_to_mcontext()
200 vr[3].__vr32[0] = pcb->pcb_vr.vreg[i][3]; in vec_save_to_mcontext()
[all …]
/netbsd/src/sys/arch/powerpc/include/
Daltivec.h43 struct vreg;
74 void vec_load_from_vreg(const struct vreg *);
75 void vec_unload_to_vreg(struct vreg *);
Dreg.h70 struct vreg { /* Vector registers */ struct
71 uint32_t vreg[32][4]; argument
Dpcb.h61 struct vreg pcb_vr __attribute__((aligned(16)));
68 struct vreg vstate;
/netbsd/src/sys/arch/powerpc/powerpc/
Dprocess_machdep.c156 process_machdep_read_vecregs(struct lwp *l, struct vreg *vregs) in process_machdep_read_vecregs()
178 process_machdep_write_vecregs(struct lwp *l, struct vreg *vregs) in process_machdep_write_vecregs()
215 iov.iov_len = sizeof(struct vreg); in ptrace_machdep_dorequest()
219 uio.uio_resid = sizeof(struct vreg); in ptrace_machdep_dorequest()
239 struct vreg r; in process_machdep_dovecregs()
Dprocfs_machdep.c71 vap->va_bytes = vap->va_size = sizeof(struct vreg); in procfs_machdep_getattr()
/netbsd/src/sys/arch/sparc/sparc/
Dcache.c416 sun4_vcache_flush_region(int vreg, int ctx) in sun4_vcache_flush_region() argument
422 p = (char *)VRTOVA(vreg); /* reg..reg+sz rather than 0..sz */ in sun4_vcache_flush_region()
439 sun4_vcache_flush_segment(int vreg, int vseg, int ctx) in sun4_vcache_flush_segment() argument
445 p = (char *)VSTOVA(vreg, vseg); /* seg..seg+sz rather than 0..sz */ in sun4_vcache_flush_segment()
616 srmmu_vcache_flush_region(int vreg, int ctx) in srmmu_vcache_flush_region() argument
622 p = (char *)VRTOVA(vreg); /* reg..reg+sz rather than 0..sz */ in srmmu_vcache_flush_region()
644 srmmu_vcache_flush_segment(int vreg, int vseg, int ctx) in srmmu_vcache_flush_segment() argument
650 p = (char *)VSTOVA(vreg, vseg); /* seg..seg+sz rather than 0..sz */ in srmmu_vcache_flush_segment()
/netbsd/src/external/gpl3/gdb/dist/sim/ppc/
Daltivec_registers.h30 } vreg; typedef
36 vreg vr[32];
Dregisters.c146 description.size = sizeof(vreg); in register_description()
Dpsim.c881 cooked_buf.vreg = cpu_registers(processor)->altivec.vr[description.index]; in psim_read_register()
1075 cpu_registers(processor)->altivec.vr[description.index] = cooked_buf.vreg; in psim_write_register()
Daltivec.igen29 :cache:av::vreg *:vS:VS:(cpu_registers(processor)->altivec.vr + VS)
32 :cache:av::vreg *:vA:VA:(cpu_registers(processor)->altivec.vr + VA)
35 :cache:av::vreg *:vB:VB:(cpu_registers(processor)->altivec.vr + VB)
38 :cache:av::vreg *:vC:VC:(cpu_registers(processor)->altivec.vr + VC)
1641 vreg myvA = (*vA), myvB = (*vB);
/netbsd/src/external/bsd/byacc/dist/test/
Dcalc1.y27 INTERVAL vreg[26]; variable
72 vreg[$1] = $3;
127 $$ = vreg[$1];
Dvarsyntax_calc1.y28 INTERVAL vreg[26]; variable
74 vreg[$1] = $3;
129 $$ = vreg[$1];
Dbtyacc_calc1.y25 INTERVAL vreg[26]; variable
74 vreg[$1] = $3;
125 $$ = vreg[$1];
/netbsd/src/sys/dev/i2c/
Daxp809.c66 #define AXP_CTRL(name, min, max, step, ereg, emask, vreg, vmask) \ argument
71 .c_voltage_reg = AXP_##vreg##_REG, .c_voltage_mask = (vmask) }
73 #define AXP_CTRL2(name, min, max, step1, step1cnt, step2, step2cnt, ereg, emask, vreg, vmask) \ argument
78 .c_voltage_reg = AXP_##vreg##_REG, .c_voltage_mask = (vmask) }
Daxppmic.c136 #define AXP_CTRL(name, min, max, step, ereg, emask, vreg, vmask) \ argument
142 .c_voltage_reg = (vreg), .c_voltage_mask = (vmask) }
144 #define AXP_CTRL2(name, min, max, step1, step1cnt, step2, step2cnt, ereg, emask, vreg, vmask) \ argument
150 .c_voltage_reg = (vreg), .c_voltage_mask = (vmask) }
152 …RL2_RANGE(name, min, max, step1, step1cnt, step2start, step2, step2cnt, ereg, emask, vreg, vmask) \ argument
159 .c_voltage_reg = (vreg), .c_voltage_mask = (vmask) }
161 #define AXP_CTRL_IO(name, min, max, step, ereg, emask, eval, dval, vreg, vmask) \ argument
167 .c_voltage_reg = (vreg), .c_voltage_mask = (vmask) }
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dppc-sysv-tdep.c103 int vreg = 2; in ppc_sysv_abi_push_dummy_call() local
438 if (vreg <= 13) in ppc_sysv_abi_push_dummy_call()
441 regcache->cooked_write (tdep->ppc_vr0_regnum + vreg, in ppc_sysv_abi_push_dummy_call()
443 vreg++; in ppc_sysv_abi_push_dummy_call()
466 if (vreg <= 13) in ppc_sysv_abi_push_dummy_call()
469 regcache->cooked_write (tdep->ppc_vr0_regnum + vreg, val); in ppc_sysv_abi_push_dummy_call()
470 vreg++; in ppc_sysv_abi_push_dummy_call()
1255 int vreg; member
1431 if (argpos->regcache && argpos->vreg <= 13) in ppc64_sysv_abi_push_vreg()
1432 argpos->regcache->cooked_write (tdep->ppc_vr0_regnum + argpos->vreg, val); in ppc64_sysv_abi_push_vreg()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Di386-features.cc731 rtx vreg = *defs_map.get (reg); in make_vector_copies() local
746 emit_insn (gen_rtx_SET (gen_rtx_SUBREG (vmode, vreg, 0), in make_vector_copies()
753 emit_insn (gen_sse2_loadld (gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
756 emit_insn (gen_sse4_1_pinsrd (gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
757 gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
764 emit_insn (gen_sse2_loadld (gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
771 (gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
772 gen_rtx_SUBREG (V4SImode, vreg, 0), in make_vector_copies()
777 emit_insn (gen_rtx_SET (gen_rtx_SUBREG (vmode, vreg, 0), in make_vector_copies()
786 REGNO (reg), REGNO (vreg), INSN_UID (insn)); in make_vector_copies()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/
Dvsx.md6525 rtx vreg = gen_reg_rtx (V16QImode);
6527 emit_insn (gen_xxspltib_v16qi (vreg, GEN_INT (-1)));
6528 emit_insn (gen_xorv16qi3 (operands[3], operands[3], vreg));
/netbsd/src/external/gpl3/gcc/dist/gcc/
DChangeLog-201311375 * asan.c (asan_clear_shadow): Allocate a new vreg for temporary