dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch

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