[1/2] tcg/README: document tcg_gen_goto_tb restrictions

Submitted by Max Filippov on Sept. 21, 2012, 12:18 a.m.

Details

Message ID 1348186688-29410-2-git-send-email-jcmvbkbc@gmail.com
State New
Headers show

Commit Message

Max Filippov Sept. 21, 2012, 12:18 a.m.
See
http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg03196.html
for the whole story.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 tcg/README |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno Sept. 22, 2012, 2:55 p.m.
On Fri, Sep 21, 2012 at 04:18:07AM +0400, Max Filippov wrote:
> See
> http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg03196.html
> for the whole story.
> 
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
>  tcg/README |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/tcg/README b/tcg/README
> index cfdfd96..86b43f1 100644
> --- a/tcg/README
> +++ b/tcg/README
> @@ -386,7 +386,8 @@ Exit the current TB and return the value t0 (word type).
>  
>  Exit the current TB and jump to the TB index 'index' (constant) if the
>  current TB was linked to this TB. Otherwise execute the next
> -instructions.
> +instructions. Only indices 0 and 1 are valid and tcg_gen_goto_tb may be issued
> +at most once with each slot index per TB.
>  
>  * qemu_ld8u t0, t1, flags
>  qemu_ld8s t0, t1, flags
> -- 
> 1.7.7.6
> 

Thanks, applied.

Patch hide | download patch | download mbox

diff --git a/tcg/README b/tcg/README
index cfdfd96..86b43f1 100644
--- a/tcg/README
+++ b/tcg/README
@@ -386,7 +386,8 @@  Exit the current TB and return the value t0 (word type).
 
 Exit the current TB and jump to the TB index 'index' (constant) if the
 current TB was linked to this TB. Otherwise execute the next
-instructions.
+instructions. Only indices 0 and 1 are valid and tcg_gen_goto_tb may be issued
+at most once with each slot index per TB.
 
 * qemu_ld8u t0, t1, flags
 qemu_ld8s t0, t1, flags