]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Drop CONFIG_ATOMIC64 test from translator.c
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Jan 2026 00:27:14 +0000 (11:27 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Jan 2026 23:46:19 +0000 (10:46 +1100)
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translator.c

index 034f2f359ef9cb1022f094cde55f44cf4fe39c4a..f3eddcbb2e8a6cbaf27f81428fd8a20de1e0c027 100644 (file)
@@ -352,15 +352,13 @@ static bool translator_ld(CPUArchState *env, DisasContextBase *db,
             return true;
         }
         break;
-#ifdef CONFIG_ATOMIC64
     case 8:
         if (QEMU_IS_ALIGNED(pc, 8)) {
-            uint64_t t = qatomic_read__nocheck((uint64_t *)host);
+            uint64_t t = qatomic_read((uint64_t *)host);
             stq_he_p(dest, t);
             return true;
         }
         break;
-#endif
     }
     /* Unaligned or partial read from the second page is not atomic. */
     memcpy(dest, host, len);