target-ppc: VSX Stage 4: Refactor lxsdx
commite072fe796ee2b5f43e0dba259d0706e1b296138a
authorTom Musta <tommusta@gmail.com>
Wed, 15 Jan 2014 14:10:29 +0000 (15 08:10 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:33 +0000 (5 03:06 +0100)
tree74068af20cad792a7c1275259d67de8cd4a02462
parentdbcc48fa8fc534c240129fcdece9c3fb0434e82c
target-ppc: VSX Stage 4: Refactor lxsdx

This patch refactors the lxsdx generator. Resuable code is isolated
into a macro.  The macro will be used in subsequent patches in this
series to implement other scalar load instructions.

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