qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/3] Add and use bit rotate functions


From: Stefan Weil
Subject: [Qemu-devel] [PATCH 0/3] Add and use bit rotate functions
Date: Thu, 12 Sep 2013 21:13:10 +0200

The first patch was already sent to qemu-devel and is only included
here because patch 3 is based on it. Only patch 1 is needed for qemu-stable.

It looks like shift values of 0 or 32/64 work as expected because
the compiler "knows" the pattern used to implement the rotate operation,
so the code does not need special handling of some shift values.

rol8 and ror8 are currently unused. I added them nevertheless,
so they can be used when someone needs them.

[PATCH 1/3] tci: Add implementation of rotl_i64, rotr_i64
[PATCH 2/3] bitops: Add rotate functions (rol8, ror8, ...)
[PATCH 3/3] misc: Use new rotate functions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]