|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/ppc: Move floating-point arithmetic instructions to decodetree. |
Date: | Tue, 12 Mar 2024 04:45:15 -1000 |
User-agent: | Mozilla Thunderbird |
On 3/12/24 04:24, Nicholas Piggin wrote:
Beware -- GETPC() may only be called from the outermost helper.Ah, because it's using __builtin_return_address. Good to know. Using always_inline and a comment should do the trick then.
No, seriously just don't do it.Pass an argument 'uintptr_t ra' to these helpers instead. This should be especially easy given the macro you want to drive this.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |