Re: [Qemu-devel] [PATCH v2 2/7] target/ppc: introduce single vsrl_offset() function

2019-03-07 Thread David Gibson
On Thu, Mar 07, 2019 at 06:05:15PM +, 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 de

[Qemu-devel] [PATCH v2 2/7] target/ppc: introduce single vsrl_offset() function

2019-03-07 Thread Mark Cave-Ayland
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 Reviewed-by: Richard H