diff options
author | Anton Blanchard <anton@ozlabs.org> | 2019-05-09 10:35:45 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-05-29 11:39:45 +1000 |
commit | e04c5dd139a319a97d50e29c0a84b5c630e6e740 (patch) | |
tree | 791c22698b3de02c9b6c2f0b0d4e7b130ac7592c /util/thread-pool.c | |
parent | f81d69fcea571af19de01377d2b474a675f573d6 (diff) | |
download | qemu-e04c5dd139a319a97d50e29c0a84b5c630e6e740.zip |
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 'util/thread-pool.c')
0 files changed, 0 insertions, 0 deletions