|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2 5/7] target/ppc: improve avr64_offset() and use it to simplify get_avr64()/set_avr64() |
Date: | Thu, 7 Mar 2019 10:28:37 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 3/7/19 10:05 AM, Mark Cave-Ayland wrote: > 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 <address@hidden> > --- > target/ppc/cpu.h | 5 +++++ > target/ppc/translate.c | 16 ++-------------- > target/ppc/translate/vmx-impl.inc.c | 5 ----- > 3 files changed, 7 insertions(+), 19 deletions(-) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |