target/ppc: introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}() helpers for VSR register access

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

To prevent VSX helpers accessing the cpu_vsr array directly, add extra TCG
temporaries as required.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Acked-by: David Gibson <[email protected]>
Signed-off-by: David Gibson <[email protected]>
This commit is contained in:
Mark Cave-Ayland authored and David Gibson committed 2019-01-09 09:28:14 +11:00
1 parent c4a18dbf52
commit 8b3b2d75c7
1 file changed
+638 -224
File diff suppressed because it is too large. Load diff