|
From: | Richard Henderson |
Subject: | Re: [Qemu-arm] [PATCH v12 03/27] target: [tcg] Use a generic enum for DISAS_ values |
Date: | Wed, 12 Jul 2017 06:53:25 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/11/2017 11:10 PM, Alex Bennée wrote:
+typedef enum DisasJumpType { + DISAS_NEXT, + DISAS_TOO_MANY,Is DISAS_TOO_MANY really a useful distinction. Sure we have ended the loop because of an instruction limit but the more important information is what it means for the epilogue code and how we go to the next block.
Yes. I think it is.The reason is that it is the way that the generic loop can tell the target hook that it terminated the instruction fetch loop. There may (or may not) be something special that the target needs to do for that specific case.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |