Skip to contentSkip to conversation

tcg/README: fix movcond/brcond cond argument position

PATCH In review Max Filippov 2 participants 2 messages Sep 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tcg/README: fix movcond/brcond cond argument position

movcond and brcond have its cond argument first. Fix that in documentation.

---
Changes v1 -> v2:
- fix similar brcond issue

 tcg/README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tcg/README +2 -2
index a550ff1..c538b3b 100644
@@ -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)
 
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 2 lines · Max Filippov

movcond and brcond have its cond argument first. Fix that in documentation.

Also no. See my previous reply.

r~