summaryrefslogtreecommitdiff
path: root/tcg/README
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-09-09 17:03:24 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-28 11:06:34 -0700
commit4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3 (patch)
tree68ed85758ad038717290bd8f4aa4dae00d08935b /tcg/README
parent71b926992e0e0a0da078873480c6fc1dd65af6fc (diff)
downloadqemu-4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3.tar.gz
tcg: Add INDEX_op_trunc_shr_i32
Let the backend do something special for truncation. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/README')
-rw-r--r--tcg/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/README b/tcg/README
index 776e9259e3..a550ff176d 100644
--- a/tcg/README
+++ b/tcg/README
@@ -314,6 +314,11 @@ This operation would be equivalent to
dest = (t1 & ~0x0f00) | ((t2 << 8) & 0x0f00)
+* trunc_shr_i32 t0, t1, pos
+
+For 64-bit hosts only, right shift the 64-bit input T1 by POS and
+truncate to 32-bit output T0. Depending on the host, this may be
+a simple mov/shift, or may require additional canonicalization.
********* Conditional moves