summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-03-23 11:55:16 +1100
committerPaul Mackerras <paulus@ozlabs.org>2017-04-20 11:37:44 +1000
commit9b5ab0051306033b0b1e83dd72e1f84a0c8dd4bf (patch)
tree25c1372aceaf78913fc506cc064e8bf33020710a /arch/powerpc/include/asm
parentceba57df43a25ede55a96a795703c46022b1d1d0 (diff)
downloadlinux-9b5ab0051306033b0b1e83dd72e1f84a0c8dd4bf.tar.gz
linux-9b5ab0051306033b0b1e83dd72e1f84a0c8dd4bf.tar.bz2
linux-9b5ab0051306033b0b1e83dd72e1f84a0c8dd4bf.zip
KVM: PPC: Add MMIO emulation for remaining floating-point instructions
For completeness, this adds emulation of the lfiwax and lfiwzx instructions. With this, all floating-point load and store instructions as of Power ISA V2.07 are emulated. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/ppc-opcode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h
index 738bac164f8b..73f06f4dddc7 100644
--- a/arch/powerpc/include/asm/ppc-opcode.h
+++ b/arch/powerpc/include/asm/ppc-opcode.h
@@ -122,6 +122,8 @@
#define OP_31_XOP_STFDX 727
#define OP_31_XOP_STFDUX 759
#define OP_31_XOP_LHBRX 790
+#define OP_31_XOP_LFIWAX 855
+#define OP_31_XOP_LFIWZX 887
#define OP_31_XOP_STHBRX 918
#define OP_31_XOP_STFIWX 983