target-ppc: Make use of gen_spr_book3s_altivec() for POWER7/8
commit6a1eed3f49e0fc5ef94906c0eab5314bc32bc8ae
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 4 Jun 2014 12:50:51 +0000 (4 22:50 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:44 +0000 (16 13:24 +0200)
tree59721cbc5637f8a1c1ccd971544dbb85df7b21d1
parent5db7d4faa328243153ddfe2e307f8d2b9ec20466
target-ppc: Make use of gen_spr_book3s_altivec() for POWER7/8

This replaces VRSAVE registration and vscr_init() call with
gen_spr_book3s_altivec() which is generic and does the same thing if
insns_flags has PPC_ALTIVEC bit set (which POWER7/8 have set).

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c