aboutsummaryrefslogtreecommitdiff
path: root/qapi/string-input-visitor.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-03-07 18:05:18 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2019-03-12 14:33:04 +1100
commit37da91f163d2ec808cca4f1662499dbe07f858e1 (patch)
tree7b2bf5ceb0aa28caf3d70479cf10c84947722dd4 /qapi/string-input-visitor.c
parentc82a8a8542bee54824ea83856d33ad7656570a06 (diff)
downloadqemu-37da91f163d2ec808cca4f1662499dbe07f858e1.zip
qemu-37da91f163d2ec808cca4f1662499dbe07f858e1.tar.gz
qemu-37da91f163d2ec808cca4f1662499dbe07f858e1.tar.bz2
target/ppc: improve avr64_offset() and use it to simplify get_avr64()/set_avr64()
By using the VsrD macro in avr64_offset() the same offset calculation can be used regardless of the host endian. This allows get_avr64() and set_avr64() to be simplified accordingly. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20190307180520.13868-6-mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'qapi/string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions