On 6/2/19 4:08 AM, Mark Cave-Ayland wrote: > Rather than perform the VSR register decoding within the helper itself, > introduce a new GEN_VSX_HELPER_X2 macro which performs the decode based > upon xT and xB at translation time. > > With the previous change to the xscvqpdp generator and helper functions the > opcode parameter is no longer required in the common case and can be > removed. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > --- > target/ppc/fpu_helper.c | 36 +++------- > target/ppc/helper.h | 120 ++++++++++++++++---------------- > target/ppc/translate/vsx-impl.inc.c | 135 > ++++++++++++++++++++---------------- > 3 files changed, 144 insertions(+), 147 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~