Tiny optimizations of bit testing operations

Marcus Meissner meissner at suse.de
Wed Oct 20 10:25:50 CDT 2004

On Wed, Oct 20, 2004 at 04:13:07PM +0200, Rein Klazes wrote:
> On Wed, 20 Oct 2004 22:29:35 +0900, you wrote:
> > > From the C point of view these bit logics are identical. The compiler
> > > finds that out easy.
> > 
> > Yes, I know. That's why the optimizations are "tiny". I believe that
> > the code itself becomes more readable with my changes and makes it
> > not depend on the optimizations a compiler is capable to perform.
> I think even "tiny" is an exaggeration. Gcc has been capable of doing
> this for years and years. I'd be surprised if you could find a compiler
> that could not, and still compile wine satisfactory.

I guess such changes are acceptable if it makes the sourcecode more readable.

Ciao, Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20041020/6eab31ca/attachment.pgp

More information about the wine-devel mailing list