summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tcg/tcg.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 8b2193409a..034d1b6604 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -4083,12 +4083,8 @@ static bool tcg_reg_alloc_dup2(TCGContext *s, const TCGOp *op)
 
     /* If the two inputs form one 64-bit value, try dupm_vec. */
     if (itsl + 1 == itsh && itsl->base_type == TCG_TYPE_I64) {
-        if (!itsl->mem_coherent) {
-            temp_sync(s, itsl, s->reserved_regs, 0, 0);
-        }
-        if (!itsh->mem_coherent) {
-            temp_sync(s, itsh, s->reserved_regs, 0, 0);
-        }
+        temp_sync(s, itsl, s->reserved_regs, 0, 0);
+        temp_sync(s, itsh, s->reserved_regs, 0, 0);
 #if HOST_BIG_ENDIAN
         TCGTemp *its = itsh;
 #else