]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: receive high/low as argument in get/set_cpu_vsr
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Thu, 4 Nov 2021 12:37:05 +0000 (09:37 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 8 Nov 2021 23:32:52 +0000 (10:32 +1100)
commitc2aecae10826c356b043b93b8458825c856c8ba8
tree5b067c618cd8a84d84b8bbd549abdd602f7ba633
parent8226cb2d9c4c309664ed3f224c29aae536475443
target/ppc: receive high/low as argument in get/set_cpu_vsr

Changes get_cpu_vsr to receive a new argument indicating whether the
high or low part of the register is being accessed. This change improves
consistency between the interfaces used to access Vector and VSX
registers and helps to handle endianness in some cases.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-12-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate/vsx-impl.c.inc