diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-21 10:13:34 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-21 19:53:16 +0200 |
commit | ffc5ea09afb8f9487ed9d660f54a492889a067c7 (patch) | |
tree | d71996e99aa2f1ed712bb9b7156d2fa7fdc269f5 /tcg/README | |
parent | 080df491db6400fade2bdf1bdeee3a459529398b (diff) |
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 |