diff options
author | Richard Henderson <rth@twiddle.net> | 2010-01-07 10:13:31 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-06 17:14:24 +0100 |
commit | be210acb412c30f4264509810fed4de664d35e7d (patch) | |
tree | 7f154d9abd69981f6cf61c5a83279b1f69d88fd0 /tcg/README | |
parent | a38e609c46e751f30277db6b3c07a3321c5c1d2a (diff) | |
download | qemu-be210acb412c30f4264509810fed4de664d35e7d.zip qemu-be210acb412c30f4264509810fed4de664d35e7d.tar.gz qemu-be210acb412c30f4264509810fed4de664d35e7d.tar.bz2 |
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/README | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |