mbox series

[0/8] target/mips: Use tcg_constant_*

Message ID 20211003175743.3738710-1-f4bug@amsat.org
Headers show
Series target/mips: Use tcg_constant_* | expand

Message

Philippe Mathieu-Daudé Oct. 3, 2021, 5:57 p.m. UTC
Replace temporary TCG registers by tcg_constant_*() when possible.

Philippe Mathieu-Daudé (8):
  target/mips: Remove unused register from MSA 2R/2RF instruction format
  target/mips: Use tcg_constant_i32() in gen_msa_elm_df()
  target/mips: Use tcg_constant_i32() in gen_msa_2rf()
  target/mips: Use tcg_constant_i32() in gen_msa_2r()
  target/mips: Use tcg_constant_i32() in gen_msa_3rf()
  target/mips: Use explicit extract32() calls in gen_msa_i5()
  target/mips: Use tcg_constant_i32() in gen_msa_i5()
  target/mips: Use tcg_constant_tl() in gen_compute_compact_branch()

 target/mips/tcg/msa_translate.c | 87 +++++++++++++++++----------------
 target/mips/tcg/translate.c     |  4 +-
 2 files changed, 45 insertions(+), 46 deletions(-)

Comments

Philippe Mathieu-Daudé Oct. 11, 2021, 10:22 p.m. UTC | #1
On 10/3/21 19:57, Philippe Mathieu-Daudé wrote:
> Replace temporary TCG registers by tcg_constant_*() when possible.
> 
> Philippe Mathieu-Daudé (8):
>   target/mips: Remove unused register from MSA 2R/2RF instruction format
>   target/mips: Use tcg_constant_i32() in gen_msa_elm_df()
>   target/mips: Use tcg_constant_i32() in gen_msa_2rf()
>   target/mips: Use tcg_constant_i32() in gen_msa_2r()
>   target/mips: Use tcg_constant_i32() in gen_msa_3rf()
>   target/mips: Use explicit extract32() calls in gen_msa_i5()
>   target/mips: Use tcg_constant_i32() in gen_msa_i5()
>   target/mips: Use tcg_constant_tl() in gen_compute_compact_branch()
> 
>  target/mips/tcg/msa_translate.c | 87 +++++++++++++++++----------------
>  target/mips/tcg/translate.c     |  4 +-
>  2 files changed, 45 insertions(+), 46 deletions(-)

Thanks, series applied to mips-next tree.