diff options
| author | Richard Henderson | 2013-09-10 02:03:24 +0200 |
|---|---|---|
| committer | Richard Henderson | 2014-04-28 20:06:34 +0200 |
| commit | 4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3 (patch) | |
| tree | 68ed85758ad038717290bd8f4aa4dae00d08935b /tcg/README | |
| parent | tcg: Fix missed pointer size != TCG_TARGET_REG_BITS changes (diff) | |
| download | qemu-4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3.tar.gz qemu-4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3.tar.xz qemu-4bb7a41ed635960e1551e8b5a1aea9ee4d1758a3.zip | |
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/README | 5 |
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 |
