qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v12 31/65] target/arm: move exception code out of tcg/helper.c


From: Richard Henderson
Subject: Re: [RFC v12 31/65] target/arm: move exception code out of tcg/helper.c
Date: Sun, 28 Mar 2021 10:40:45 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/26/21 1:36 PM, Claudio Fontana wrote:
+#ifdef CONFIG_TCG
+    arm_rebuild_hflags(env);
+#endif /* CONFIG_TCG */

No functional changes during code movement.
Really.
I cannot emphasize this enough.

Also, why is this an ifdef and not tcg_enabled()?

+    aarch64_restore_sp(env, new_el);
+#ifdef CONFIG_TCG
+    arm_rebuild_hflags(env);
+#endif /* CONFIG_TCG */

Likewise.

+#ifdef CONFIG_TCG
+    if (tcg_enabled()) {

Likewise.  And, why in the world do you need both?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]