Re: [PATCH 05/21] target/xtensa: support copying registers up to 64 bits wide

2020-07-08 Thread Max Filippov
On Wed, Jul 8, 2020 at 9:14 AM Richard Henderson wrote: > > On 7/6/20 4:47 PM, Max Filippov wrote: > > +if (arg_copy[i].arg->num_bits <= 32) { > > +temp = tcg_temp_local_new_i32(); > > +tcg_gen_mov_i32(temp, arg_copy[i].arg->in); > > +

Re: [PATCH 05/21] target/xtensa: support copying registers up to 64 bits wide

2020-07-08 Thread Richard Henderson
On 7/6/20 4:47 PM, Max Filippov wrote: > +if (arg_copy[i].arg->num_bits <= 32) { > +temp = tcg_temp_local_new_i32(); > +tcg_gen_mov_i32(temp, arg_copy[i].arg->in); > +} else if (arg_copy[i].arg->num_bits <= 64) { > +

[PATCH 05/21] target/xtensa: support copying registers up to 64 bits wide

2020-07-06 Thread Max Filippov
FLIX dependency breaking code assumes that all registers are 32 bit wide. This may not always be correct. Extract actual register width from the associated register file and use it to create temporaries of correct width and generate correct data movement instructions. Signed-off-by: Max Filippov