Re: [PATCH] target/ppc: Fix LQ, STQ register-pair order for big-endian

2023-08-21 Thread Richard Henderson
On 8/21/23 08:30, Nicholas Piggin wrote: LQ, STQ have the same register-pair ordering as LQARX/STQARX., which is the even (lower) register contains the most significant bits. This is not implemented correctly for big-endian. do_ldst_quad() has variables low_addr_gpr and high_addr_gpr which is co

[PATCH] target/ppc: Fix LQ, STQ register-pair order for big-endian

2023-08-21 Thread Nicholas Piggin
LQ, STQ have the same register-pair ordering as LQARX/STQARX., which is the even (lower) register contains the most significant bits. This is not implemented correctly for big-endian. do_ldst_quad() has variables low_addr_gpr and high_addr_gpr which is confusing because they are low and high addre