qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v8 29/35] Hexagon (target/hexagon) translation


From: Richard Henderson
Subject: Re: [PATCH v8 29/35] Hexagon (target/hexagon) translation
Date: Mon, 15 Mar 2021 07:31:46 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/14/21 9:06 PM, Taylor Simpson wrote:
Yes, but DISAS_NORETURN still means we've already exited.

Just like calling abort() in C means that we won't reach any following return 
statement.

Then I'm missing something because the code emitted here does get executed.

You really are missing the point.

The code emitted here, for the NORETURN case, gets executed? How do you know? And if so, then *something* is returning when it shouldn't.

The stop hook is for the use of all of the *other* DISAS_* codes, for which we have not yet exited.

There should be *nothing* to be done for NORETURN. We have longjmp'ed away to the main loop already. Anything that needed to be done must have been done before that point.


r~



reply via email to

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