From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261417AbVGYTR5 (ORCPT ); Mon, 25 Jul 2005 15:17:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261282AbVGYTR5 (ORCPT ); Mon, 25 Jul 2005 15:17:57 -0400 Received: from tantale.fifi.org ([64.81.251.130]:17794 "EHLO tantale.fifi.org") by vger.kernel.org with ESMTP id S261417AbVGYTRL (ORCPT ); Mon, 25 Jul 2005 15:17:11 -0400 To: Lee Revell Cc: Steven Rostedt , Bernd Petrovitsch , Andrew Morton , Linux Kernel Mailing List , Grant Coady , Jan Engelhardt , Puneet Vyas Subject: Re: xor as a lazy comparison References: <42E4131D.6090605@gmail.com> <1122281833.10780.32.camel@tara.firmix.at> <1122314150.6019.58.camel@localhost.localdomain> <1122318659.1472.14.camel@mindpipe> Mail-Copies-To: nobody From: Philippe Troin Date: 25 Jul 2005 12:16:56 -0700 In-Reply-To: <1122318659.1472.14.camel@mindpipe> Message-ID: <87ackaitlj.fsf@ceramic.fifi.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Lee Revell writes: > On Mon, 2005-07-25 at 13:55 -0400, Steven Rostedt wrote: > > Doesn't matter. The cycles saved for old compilers is not rational to > > have obfuscated code. > > Where do we draw the line with this? Is x *= 2 preferable to x <<= 2 as > well? Depends if you want to multiply by 2 or 4 :-) Phil.