aboutsummaryrefslogtreecommitdiff
path: root/tcg/README
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 07:08:36 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 07:08:36 +0000
commit158245714ecbd9263bfe34ad47089fcc1fa34f82 (patch)
tree91d77c147c9657eec5c89c69715d2e48cac529e1 /tcg/README
parentf02bb954a555e997869e5a92d79b0234b39eadad (diff)
tcg-ops.h: add rotl/rotli and rotr/rotri TCG instructions
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5607 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/README')
-rw-r--r--tcg/README10
1 files changed, 9 insertions, 1 deletions
diff --git a/tcg/README b/tcg/README
index 3efef6028c..7e7c06b41c 100644
--- a/tcg/README
+++ b/tcg/README
@@ -225,7 +225,7 @@ t0=~(t1|t2)
t0=t1|~t2
-********* Shifts
+********* Shifts/Rotates
* shl_i32/i64 t0, t1, t2
@@ -239,6 +239,14 @@ t0=t1 >> t2 (unsigned). Undefined behavior if t2 < 0 or t2 >= 32 (resp 64)
t0=t1 >> t2 (signed). Undefined behavior if t2 < 0 or t2 >= 32 (resp 64)
+* rotl_i32/i64 t0, t1, t2
+
+Rotation of t2 bits to the left. Undefined behavior if t2 < 0 or t2 >= 32 (resp 64)
+
+* rotr_i32/i64 t0, t1, t2
+
+Rotation of t2 bits to the right. Undefined behavior if t2 < 0 or t2 >= 32 (resp 64)
+
********* Misc
* mov_i32/i64 t0, t1