summaryrefslogtreecommitdiffstats
path: root/tcg/README
diff options
context:
space:
mode:
authorRichard Henderson2010-01-07 19:13:31 +0100
committerAurelien Jarno2010-02-06 17:14:24 +0100
commitbe210acb412c30f4264509810fed4de664d35e7d (patch)
tree7f154d9abd69981f6cf61c5a83279b1f69d88fd0 /tcg/README
parenttcg: document double-word support opcodes. (diff)
downloadqemu-be210acb412c30f4264509810fed4de664d35e7d.tar.gz
qemu-be210acb412c30f4264509810fed4de664d35e7d.tar.xz
qemu-be210acb412c30f4264509810fed4de664d35e7d.zip
tcg: generic support for conditional set
Defines setcond_{i32,i64} and setcond2_i32 for 64-on-32-bit. 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/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcg/README b/tcg/README
index 3d6c170efe..f0e21a1c1d 100644
--- a/tcg/README
+++ b/tcg/README
@@ -282,6 +282,14 @@ order bytes must be set to zero.
Indicate that the value of t0 won't be used later. It is useful to
force dead code elimination.
+********* Conditional moves
+
+* setcond_i32/i64 cond, dest, t1, t2
+
+dest = (t1 cond t2)
+
+Set DEST to 1 if (T1 cond T2) is true, otherwise set to 0.
+
********* Type conversions
* ext_i32_i64 t0, t1
@@ -346,6 +354,11 @@ is returned in two 32-bit outputs.
Similar to mul, except two 32-bit (unsigned) inputs T1 and T2 yielding
the full 64-bit product T0. The later is returned in two 32-bit outputs.
+* setcond2_i32 cond, dest, t1_low, t1_high, t2_low, t2_high
+
+Similar to setcond, except that the 64-bit values T1 and T2 are
+formed from two 32-bit arguments. The result is a 32-bit value.
+
********* QEMU specific operations
* tb_exit t0