]> git.proxmox.com Git - mirror_qemu.git/commit
target-ppc: implement lxsd and lxssp instructions
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Wed, 23 Nov 2016 11:37:15 +0000 (17:07 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:12 +0000 (10:10 +1100)
commit5cb091a4fd434ae29fd329308dc2cb3d78a068e6
tree3b0b260eee046b200802a4d82c70a477fae0ab57
parentbe0a4faf35fa49d22dfd6a11ed858610881affde
target-ppc: implement lxsd and lxssp instructions

lxsd: Load VSX Scalar Dword
lxssp: Load VSX Scalar Single

Moreover, DS-Form instructions shares the same primary opcode, bits
30:31 are used to decode the instruction. Use a common routine to decode
primary opcode(0x39) - ds-form instructions and branch-out depending on
bits 30:31.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c
target/ppc/translate/fp-ops.inc.c
target/ppc/translate/vsx-impl.inc.c