diff options
author | Richard Henderson | 2012-09-21 19:13:34 +0200 |
---|---|---|
committer | Aurelien Jarno | 2012-09-21 19:53:16 +0200 |
commit | ffc5ea09afb8f9487ed9d660f54a492889a067c7 (patch) | |
tree | d71996e99aa2f1ed712bb9b7156d2fa7fdc269f5 /tcg/README | |
parent | target-sh4: remove useless code (diff) | |
download | qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.gz qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.xz qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.zip |
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/README | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tcg/README b/tcg/README index cfdfd96d09..d03ae05e34 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 |