From 158245714ecbd9263bfe34ad47089fcc1fa34f82 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 3 Nov 2008 07:08:36 +0000 Subject: tcg-ops.h: add rotl/rotli and rotr/rotri TCG instructions Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5607 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tcg/README') 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 -- cgit v1.2.1