[5607] tcg-ops.h: add rotl/rotli and rotr/rotri TCG instructions
Revision: 5607
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5607 Author: aurel32 Date: 2008-11-03 07:08:36 +0000 (Mon, 03 Nov 2008)
Log Message:
-----------tcg-ops.h: add rotl/rotli and rotr/rotri TCG instructions
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/tcg/README
trunk/tcg/tcg-op.h
Modified: trunk/tcg/README
===================================================================
tcg/README +9 -1
@@ -225,7 +225,7 @@ t0=t1|~t2 -********* Shifts +********* Shifts/Rotates * shl_i32/i64 t0, t1, t2
@@ -239,6 +239,14 @@ 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
Modified: trunk/tcg/tcg-op.h
===================================================================
tcg/tcg-op.h +118 -0
136 lines not on this page · raw message