Commit 11f94258ace2a1ffb2783e6af0fb973c3f6df44a
1 parent
a4e8338d
target-mips: optimize gen_movcf_d()
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7077 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-mips/translate.c
@@ -5833,7 +5833,7 @@ static inline void gen_movcf_d (DisasContext *ctx, int fs, int fd, int cc, int t | @@ -5833,7 +5833,7 @@ static inline void gen_movcf_d (DisasContext *ctx, int fs, int fd, int cc, int t | ||
5833 | tcg_gen_andi_i32(t0, fpu_fcr31, get_fp_bit(cc)); | 5833 | tcg_gen_andi_i32(t0, fpu_fcr31, get_fp_bit(cc)); |
5834 | tcg_gen_brcondi_i32(cond, t0, 0, l1); | 5834 | tcg_gen_brcondi_i32(cond, t0, 0, l1); |
5835 | tcg_temp_free_i32(t0); | 5835 | tcg_temp_free_i32(t0); |
5836 | - fp0 = tcg_temp_local_new_i64(); | 5836 | + fp0 = tcg_temp_new_i64(); |
5837 | gen_load_fpr64(ctx, fp0, fs); | 5837 | gen_load_fpr64(ctx, fp0, fs); |
5838 | gen_store_fpr64(ctx, fp0, fd); | 5838 | gen_store_fpr64(ctx, fp0, fd); |
5839 | tcg_temp_free_i64(fp0); | 5839 | tcg_temp_free_i64(fp0); |