summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-09-21 04:18:07 +0400
committerAurelien Jarno <aurelien@aurel32.net>2012-09-22 15:10:22 +0200
commit9bacf4143190ca57771c8db5981d040f9c625ae5 (patch)
tree4e0aad2250a46455771acb197c38dba41d087516
parentf0da375754666511acefa89b57487a22a2b9f945 (diff)
downloadqemu-9bacf4143190ca57771c8db5981d040f9c625ae5.zip
tcg/README: document tcg_gen_goto_tb restrictions
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> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--tcg/README3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/README b/tcg/README
index d03ae05e34..33783ee17b 100644
--- a/tcg/README
+++ b/tcg/README
@@ -392,7 +392,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