OSDN Git Service

target-ppc: Move To/From VSR Instructions
authorTom Musta <tommusta@gmail.com>
Wed, 15 Jan 2014 14:10:42 +0000 (08:10 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:37 +0000 (03:06 +0100)
commitf5c0f7f981333da59cc35c3210d05ec1775c97c1
tree271ce6946e7cc8dbe6a99bb1c8ae756bf88cdd79
parent67a33f37277e29355239c7cb80af14f914f201f3
target-ppc: Move To/From VSR Instructions

This patch adds the Move To VSR instructions (mfvsrd, mfvsrwz)
and Move From VSR instructions (mtvsrd, mtvsrwa, mtvsrwz).  These
instructions are unusual in that they are considered a floating
point instruction if the indexed VSR is in the first half of the
array (0-31) but they are considered vector instructions if the
indexed VSR is in the second half of the array (32-63).

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c