[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/8] target/ppc: introduce single vsrl_offset()
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 2/8] target/ppc: introduce single vsrl_offset() function |
Date: |
Sun, 3 Mar 2019 15:20:28 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 3/3/19 9:23 AM, Mark Cave-Ayland wrote:
> Instead of having multiple copies of the offset calculation logic, move it to
> a
> single vsrl_offset() function.
>
> This commit also renames the existing get_vsr()/set_vsr() functions to
> get_vsrl()/set_vsrl() which better describes their purpose.
>
> Signed-off-by: Mark Cave-Ayland <address@hidden>
> ---
> target/ppc/cpu.h | 7 ++++++-
> target/ppc/translate/vsx-impl.inc.c | 12 ++++++------
> 2 files changed, 12 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~