summaryrefslogtreecommitdiffstats
path: root/tcg
diff options
context:
space:
mode:
authorMax Filippov2012-09-21 02:18:07 +0200
committerAurelien Jarno2012-09-22 15:10:22 +0200
commit9bacf4143190ca57771c8db5981d040f9c625ae5 (patch)
tree4e0aad2250a46455771acb197c38dba41d087516 /tcg
parenttcg-hppa: Implement movcond (diff)
downloadqemu-9bacf4143190ca57771c8db5981d040f9c625ae5.tar.gz
qemu-9bacf4143190ca57771c8db5981d040f9c625ae5.tar.xz
qemu-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>
Diffstat (limited to 'tcg')
-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