target/ppc: eliminate use of HI_IDX and LO_IDX macros from int_helper.c
commit3c385a93b3fdc5972adbf03fd87a9cf091d0f098
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 30 Jan 2019 20:36:34 +0000 (30 20:36 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 4 Feb 2019 07:44:19 +0000 (4 18:44 +1100)
tree048fc71f003855384b34f4188aac9b54238ec775
parent4fbc89edc192931364d183dc4051f54dd1f58cf3
target/ppc: eliminate use of HI_IDX and LO_IDX macros from int_helper.c

The original purpose of these macros was to correctly reference the high and low
parts of the VSRs regardless of the host endianness.

Replace these direct references to high and low parts with the relevant VsrD
macro instead, and completely remove the now-unused HI_IDX and LO_IDX macros.

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>
target/ppc/int_helper.c