]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tcg-aarch64: Remove nop from qemu_st slow path
authorRichard Henderson <rth@twiddle.net>
Mon, 3 Mar 2014 23:43:27 +0000 (15:43 -0800)
committerRichard Henderson <rth@twiddle.net>
Sun, 9 Mar 2014 05:23:25 +0000 (21:23 -0800)
Commit 023261ef851b22a04f6c5d76da870051031757a6 failed to remove a
nop that's no longer required.

Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.c

index d75d68587a286d0abdcef38b83f6932391211f18..f43eb676bfa4b4ce409bcd0ad5ef0ebf54d4441f 100644 (file)
@@ -764,11 +764,6 @@ static inline void tcg_out_subi(TCGContext *s, TCGType ext,
     tcg_out32(s, base | aimm | (rn << 5) | rd);
 }
 
-static inline void tcg_out_nop(TCGContext *s)
-{
-    tcg_out32(s, 0xd503201f);
-}
-
 #ifdef CONFIG_SOFTMMU
 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr,
  *                                     int mmu_idx, uintptr_t ra)
@@ -822,8 +817,6 @@ static void tcg_out_qemu_st_slow_path(TCGContext *s, TCGLabelQemuLdst *lb)
     tcg_out_movi(s, TCG_TYPE_I64, TCG_REG_TMP,
                  (intptr_t)qemu_st_helpers[lb->opc & 3]);
     tcg_out_callr(s, TCG_REG_TMP);
-
-    tcg_out_nop(s);
     tcg_out_goto(s, (tcg_target_long)lb->raddr);
 }