/openbmc/qemu/target/ppc/ |
H A D | cpu.c | 55 void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) in ppc_store_vscr() argument 57 env->vscr = vscr & ~(1u << VSCR_SAT); in ppc_store_vscr() 59 env->vscr_sat.u64[0] = vscr & (1u << VSCR_SAT); in ppc_store_vscr() 61 set_flush_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); in ppc_store_vscr() 62 set_flush_inputs_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); in ppc_store_vscr() 68 return env->vscr | (sat << VSCR_SAT); in ppc_get_vscr()
|
H A D | arch_dump.c | 69 ppc_avr_t vscr; member 184 vmxregset->vscr.u32[3] = cpu_to_dump32(s, ppc_get_vscr(&cpu->env)); in ppc_write_elf_vmxregset()
|
H A D | cpu.h | 1290 uint32_t vscr; member 3016 void ppc_store_vscr(CPUPPCState *env, uint32_t vscr);
|
H A D | kvm.c | 668 reg.addr = (uintptr_t)&env->vscr; in kvm_put_fp() 741 reg.addr = (uintptr_t)&env->vscr; in kvm_get_fp()
|
H A D | int_helper.c | 480 void helper_mtvscr(CPUPPCState *env, uint32_t vscr) in SATCVT() 482 ppc_store_vscr(env, vscr); in SATCVT()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-altivec.c | 53 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_get() 87 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_set()
|
H A D | ptrace-tm.c | 349 BUILD_BUG_ON(TVSO(vscr) != TVSO(vr[32])); in tm_cvmx_get() 399 BUILD_BUG_ON(TVSO(vscr) != TVSO(vr[32])); in tm_cvmx_set()
|
/openbmc/qemu/hw/arm/ |
H A D | nseries.c | 441 int vscr; member 462 s->vscr = 0; in mipid_reset() 525 s->resp[2] = (s->vscr << 7) | (s->invert << 5) | in mipid_txrx() 545 s->resp[0] = (s->invert << 5) | (s->vscr << 7) | s->gamma; in mipid_txrx() 567 s->vscr = 0; in mipid_txrx() 572 s->vscr = 0; in mipid_txrx() 636 s->vscr = 1; in mipid_txrx()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | vecemu.c | 329 ¤t->thread.vr_state.vscr.u[3]); in emulate_altivec() 334 ¤t->thread.vr_state.vscr.u[3]); in emulate_altivec()
|
H A D | asm-offsets.c | 117 OFFSET(VRSTATE_VSCR, thread_vr_state, vscr); in main()
|
H A D | traps.c | 2128 current->thread.vr_state.vscr.u[3] |= 0x10000; in DEFINE_INTERRUPT_HANDLER()
|
H A D | process.c | 1980 current->thread.vr_state.vscr.u[3] = 0x00010000; /* Java mode disabled */ in start_thread()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | processor.h | 91 vector128 vscr __attribute__((aligned(16))); member
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr_nested.h | 485 uint32_t vscr; member
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 213 save->vscr = ppc_get_vscr(env); in nested_save_state() 312 ppc_store_vscr(env, load->vscr); in nested_load_state() 1001 GUEST_STATE_ELEMENT_ENV_WW(GSB_VCPU_SPR_VSCR, vscr),
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | processor.h | 1267 vector128 vscr; /* AltiVec status */ member
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_pr.c | 1616 *val = get_reg_val(id, vcpu->arch.vr_tm.vscr.u[3]); in kvmppc_get_one_reg_pr() 1715 vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
|
H A D | powerpc.c | 1729 val = get_reg_val(reg->id, vcpu->arch.vr.vscr.u[3]); in kvm_vcpu_ioctl_get_one_reg() 1780 vcpu->arch.vr.vscr.u[3] = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
|
H A D | book3s_hv.c | 2405 *val = get_reg_val(id, vcpu->arch.vr_tm.vscr.u[3]); in kvmppc_get_one_reg_hv() 2677 vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
|