target/ppc: introduce get_avr64() and set_avr64() helpers for VMX register access
commitc4a18dbf52261ec505214d55d8681deeb2e33524
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 2 Jan 2019 09:14:18 +0000 (2 09:14 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:13 +0000 (9 09:28 +1100)
tree1f4cd01c8b1ec46b1d99c3cbbe650891e8999d96
parent1a404c91bd62a2e27a7629901ce3c802397f3237
target/ppc: introduce get_avr64() and set_avr64() helpers for VMX register access

These helpers allow us to move AVR register values to/from the specified TCGv_i64
argument.

To prevent VMX helpers accessing the cpu_avr{l,h} arrays directly, add extra TCG
temporaries as required.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-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/vmx-impl.inc.c