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

2013-09-12 Thread Richard Henderson
On 09/12/2013 12:13 PM, Stefan Weil wrote: > 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 u

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

2013-09-12 Thread Stefan Weil
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 do