Re: [PATCH v3 3/7] target/ppc: remove unnecessary SPR functions

2021-05-02 Thread David Gibson
On Fri, Apr 30, 2021 at 05:58:46PM -0700, Richard Henderson wrote: > On 4/30/21 12:35 PM, Bruno Larsen (billionai) wrote: > > Removed functions gen_read_xer and gen_write_xer, moving their logic > > directly into spr_read_xer and spr_write_xer, respectively. > > > > Signed-off-by: Bruno Larsen (bi

Re: [PATCH v3 3/7] target/ppc: remove unnecessary SPR functions

2021-04-30 Thread Richard Henderson
On 4/30/21 12:35 PM, Bruno Larsen (billionai) wrote: Removed functions gen_read_xer and gen_write_xer, moving their logic directly into spr_read_xer and spr_write_xer, respectively. Signed-off-by: Bruno Larsen (billionai) --- "Unnecessary" makes me believe that the code isn't used at all. A b

[PATCH v3 3/7] target/ppc: remove unnecessary SPR functions

2021-04-30 Thread Bruno Larsen (billionai)
Removed functions gen_read_xer and gen_write_xer, moving their logic directly into spr_read_xer and spr_write_xer, respectively. Signed-off-by: Bruno Larsen (billionai) --- target/ppc/spr_tcg.c.inc | 70 ++-- 1 file changed, 31 insertions(+), 39 deletions(-)