Re: [PATCH] bitops: add 8-bit and 16-bit rotation functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Segher Boessenkool
Date: Tuesday, March 11, 2008 - 1:45 pm

> +/**

This doesn't work for shift values of 0: you get word >> 16, and
shifts greater than or equal to the word size aren't valid C.  GCC
will warn about this, too.


Segher

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] bitops: add 8-bit and 16-bit rotation functions, Harvey Harrison, (Tue Mar 11, 9:56 am)
Re: [PATCH] bitops: add 8-bit and 16-bit rotation functions, Segher Boessenkool, (Tue Mar 11, 1:45 pm)
Re: [PATCH] bitops: add 8-bit and 16-bit rotation functions, Harvey Harrison, (Tue Mar 11, 2:15 pm)
Re: [PATCH] bitops: add 8-bit and 16-bit rotation functions, Segher Boessenkool, (Tue Mar 11, 2:18 pm)