aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/fpu_helper.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@ozlabs.org>2019-05-09 10:35:45 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2019-05-29 11:39:45 +1000
commite04c5dd139a319a97d50e29c0a84b5c630e6e740 (patch)
tree791c22698b3de02c9b6c2f0b0d4e7b130ac7592c /target/ppc/fpu_helper.c
parentf81d69fcea571af19de01377d2b474a675f573d6 (diff)
downloadqemu-e04c5dd139a319a97d50e29c0a84b5c630e6e740.zip
qemu-e04c5dd139a319a97d50e29c0a84b5c630e6e740.tar.gz
qemu-e04c5dd139a319a97d50e29c0a84b5c630e6e740.tar.bz2
target/ppc: Optimise VSX_LOAD_SCALAR_DS and VSX_VECTOR_LOAD_STORE
A few small optimisations: In VSX_LOAD_SCALAR_DS() we can don't need to read the VSR via get_cpu_vsrh(). Split VSX_VECTOR_LOAD_STORE() into two functions. Loads only need to write the VSRs (set_cpu_vsr*()) and stores only need to read the VSRs (get_cpu_vsr*()) Thanks to Mark Cave-Ayland for the suggestions. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Message-Id: <20190509103545.4a7fa71a@kryten> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/fpu_helper.c')
0 files changed, 0 insertions, 0 deletions