summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_pr_papr.c
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2018-05-21 13:24:24 +0800
committerPaul Mackerras <paulus@ozlabs.org>2018-05-22 19:52:28 +1000
commitb01c78c297da45500c18adb99bcc1e08d96768d5 (patch)
tree777c93be77d5352a2a176bfb2a8cdcb0792a8be2 /arch/powerpc/kvm/book3s_pr_papr.c
parent2b33cb585f940180b4c527f0de46ff226a9d25ab (diff)
KVM: PPC: Reimplement LOAD_VSX/STORE_VSX instruction mmio emulation with analyse_instr() input
This patch reimplements LOAD_VSX/STORE_VSX instruction MMIO emulation with analyse_instr() input. It utilizes VSX_FPCONV/VSX_SPLAT/SIGNEXT exported by analyse_instr() and handle accordingly. When emulating VSX store, the VSX reg will need to be flushed so that the right reg val can be retrieved before writing to IO MEM. [paulus@ozlabs.org - mask the register number to 5 bits.] Suggested-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_pr_papr.c')
0 files changed, 0 insertions, 0 deletions