diff mbox

[v2] tcg/README: fix movcond/brcond cond argument position

Message ID 1410304162-13694-1-git-send-email-jcmvbkbc@gmail.com
State New
Headers show

Commit Message

Max Filippov Sept. 9, 2014, 11:09 p.m. UTC
movcond and brcond have its cond argument first. Fix that in
documentation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
Changes v1 -> v2:
- fix similar brcond issue

 tcg/README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/tcg/README b/tcg/README
index a550ff1..c538b3b 100644
--- a/tcg/README
+++ b/tcg/README
@@ -155,7 +155,7 @@  Define label 'label' at the current program point.
 
 Jump to label.
 
-* brcond_i32/i64 t0, t1, cond, label
+* brcond_i32/i64 cond, t0, t1, label
 
 Conditional jump if t0 cond t1 is true. cond can be:
     TCG_COND_EQ
@@ -328,7 +328,7 @@  dest = (t1 cond t2)
 
 Set DEST to 1 if (T1 cond T2) is true, otherwise set to 0.
 
-* movcond_i32/i64 dest, c1, c2, v1, v2, cond
+* movcond_i32/i64 cond, dest, c1, c2, v1, v2
 
 dest = (c1 cond c2 ? v1 : v2)