summaryrefslogtreecommitdiff
path: root/target-mips/translate.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 21:42:18 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 21:42:18 +0000
commit3a6e17e1e0d96d7cdba8b26406d4bce842e00dfd (patch)
treedfa02e0c05bde8891edba2aebe91be3ae358554d /target-mips/translate.c
parent01fea8dafa9c6d3f83bba3ce1fe123e699e0b01a (diff)
downloadqemu-3a6e17e1e0d96d7cdba8b26406d4bce842e00dfd.tar.gz
qemu-3a6e17e1e0d96d7cdba8b26406d4bce842e00dfd.tar.bz2
qemu-3a6e17e1e0d96d7cdba8b26406d4bce842e00dfd.zip
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
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r--target-mips/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 0c88d2f072..50aaf3ac74 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -5833,7 +5833,7 @@ static inline void gen_movcf_d (DisasContext *ctx, int fs, int fd, int cc, int t
tcg_gen_andi_i32(t0, fpu_fcr31, get_fp_bit(cc));
tcg_gen_brcondi_i32(cond, t0, 0, l1);
tcg_temp_free_i32(t0);
- fp0 = tcg_temp_local_new_i64();
+ fp0 = tcg_temp_new_i64();
gen_load_fpr64(ctx, fp0, fs);
gen_store_fpr64(ctx, fp0, fd);
tcg_temp_free_i64(fp0);