]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc: introduce get_fpr() and set_fpr() helpers for FP register access
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 2 Jan 2019 09:14:17 +0000 (09:14 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:13 +0000 (09:28 +1100)
commit1a404c91bd62a2e27a7629901ce3c802397f3237
tree173c0cd622b5b0c0158ee66b29d8a4ef4d62752a
parent4c23c2a538fb8bd78111eb56eb61b001e3b1490f
target/ppc: introduce get_fpr() and set_fpr() helpers for FP register access

These helpers allow us to move FP register values to/from the specified TCGv_i64
argument in the VSR helpers to be introduced shortly.

To prevent FP helpers accessing the cpu_fpr array 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/fp-impl.inc.c