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

Philippe Mathieu-Daudé posted 8 patches 4 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211003175743.3738710-1-f4bug@amsat.org
Maintainers: Jiaxun Yang <jiaxun.yang@flygoat.com>, Aurelien Jarno <aurelien@aurel32.net>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
target/mips/tcg/msa_translate.c | 87 +++++++++++++++++----------------
target/mips/tcg/translate.c     |  4 +-
2 files changed, 45 insertions(+), 46 deletions(-)
[PATCH 0/8] target/mips: Use tcg_constant_*
Posted by Philippe Mathieu-Daudé 4 years, 4 months ago
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(-)

-- 
2.31.1

Re: [PATCH 0/8] target/mips: Use tcg_constant_*
Posted by Philippe Mathieu-Daudé 4 years, 4 months ago
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.