aboutsummaryrefslogtreecommitdiff
path: root/tcg/README
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-09-21 10:13:34 -0700
committerAurelien Jarno <aurelien@aurel32.net>2012-09-21 19:53:16 +0200
commitffc5ea09afb8f9487ed9d660f54a492889a067c7 (patch)
treed71996e99aa2f1ed712bb9b7156d2fa7fdc269f5 /tcg/README
parent080df491db6400fade2bdf1bdeee3a459529398b (diff)
downloadqemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.zip
qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.gz
qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.bz2
tcg: Introduce movcond
Implemented with setcond if the target does not provide the optional opcode. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/README')
-rw-r--r--tcg/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcg/README b/tcg/README
index cfdfd96..d03ae05 100644
--- a/tcg/README
+++ b/tcg/README
@@ -307,6 +307,12 @@ dest = (t1 cond t2)
Set DEST to 1 if (T1 cond T2) is true, otherwise set to 0.
+* movcond_i32/i64 cond, dest, c1, c2, v1, v2
+
+dest = (c1 cond c2 ? v1 : v2)
+
+Set DEST to V1 if (C1 cond C2) is true, otherwise set to V2.
+
********* Type conversions
* ext_i32_i64 t0, t1