5544c1b
From 08de143bdd34e906c3e89443cb6b24665f7c088d Mon Sep 17 00:00:00 2001
5544c1b
From: Max Filippov <jcmvbkbc@gmail.com>
5544c1b
Date: Fri, 21 Sep 2012 04:18:07 +0400
5544c1b
Subject: [PATCH] tcg/README: document tcg_gen_goto_tb restrictions
5544c1b
5544c1b
See
5544c1b
http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg03196.html
5544c1b
for the whole story.
5544c1b
5544c1b
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
5544c1b
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
5544c1b
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1b
---
5544c1b
 tcg/README | 3 ++-
5544c1b
 1 file changed, 2 insertions(+), 1 deletion(-)
5544c1b
5544c1b
diff --git a/tcg/README b/tcg/README
5544c1b
index d03ae05..33783ee 100644
5544c1b
--- a/tcg/README
5544c1b
+++ b/tcg/README
5544c1b
@@ -392,7 +392,8 @@ Exit the current TB and return the value t0 (word type).
5544c1b
 
5544c1b
 Exit the current TB and jump to the TB index 'index' (constant) if the
5544c1b
 current TB was linked to this TB. Otherwise execute the next
5544c1b
-instructions.
5544c1b
+instructions. Only indices 0 and 1 are valid and tcg_gen_goto_tb may be issued
5544c1b
+at most once with each slot index per TB.
5544c1b
 
5544c1b
 * qemu_ld8u t0, t1, flags
5544c1b
 qemu_ld8s t0, t1, flags
5544c1b
-- 
5544c1b
1.7.12.1
5544c1b