Searched hist:"4 fbc89edc192931364d183dc4051f54dd1f58cf3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/ppc/ |
H A D | int_helper.c | diff 4fbc89edc192931364d183dc4051f54dd1f58cf3 Wed Jan 30 14:36:33 CST 2019 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> target/ppc: rework vmul{e,o}{s,u}{b,h,w} instructions to use Vsr* macros
The current implementations make use of the endian-specific macros HI_IDX and LO_IDX directly to calculate array offsets.
Rework the implementation to use the Vsr* macros so that these per-endian references can be removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|