diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-01-29 14:45:12 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-03-01 07:33:28 -1000 |
commit | 9723281fbbc8ca50d327c2ab223be9a2e38d5587 (patch) | |
tree | a61a5c5623b40333b786218d7f7d28e0d182e2ae /target/ppc/translate.c | |
parent | 6180cc40271ff963b1b4b9d0663061b98a9ba90a (diff) | |
download | qemu-9723281fbbc8ca50d327c2ab223be9a2e38d5587.zip qemu-9723281fbbc8ca50d327c2ab223be9a2e38d5587.tar.gz qemu-9723281fbbc8ca50d327c2ab223be9a2e38d5587.tar.bz2 |
target/ppc: Don't use tcg_temp_local_new
Since tcg_temp_new is now identical, use that.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc/translate.c')
-rw-r--r-- | target/ppc/translate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 5fe6aa6..2956021 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -4415,7 +4415,7 @@ static void gen_bcond(DisasContext *ctx, int type) TCGv target; if (type == BCOND_LR || type == BCOND_CTR || type == BCOND_TAR) { - target = tcg_temp_local_new(); + target = tcg_temp_new(); if (type == BCOND_CTR) { tcg_gen_mov_tl(target, cpu_ctr); } else if (type == BCOND_TAR) { @@ -5594,8 +5594,8 @@ static inline void gen_405_mulladd_insn(DisasContext *ctx, int opc2, int opc3, { TCGv t0, t1; - t0 = tcg_temp_local_new(); - t1 = tcg_temp_local_new(); + t0 = tcg_temp_new(); + t1 = tcg_temp_new(); switch (opc3 & 0x0D) { case 0x05: |