From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <16976.57251.983884.605143@cargo.ozlabs.ibm.com> Date: Mon, 4 Apr 2005 16:33:07 +1000 From: Paul Mackerras To: Kumar Gala In-Reply-To: References: <16968.31026.148291.626305@cargo.ozlabs.ibm.com> Cc: Tom Rini , linuxppc-dev list , ML linuxppc-embedded Subject: Re: ASM formatting rules? List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kumar Gala writes: > Great, if my counting is correct (which may not be, since I grow up in > Florida) > > 2 - for no space (Paul, BenH) > 2 - for spaces (Tom, Dan) > 2 - dont cares (Kumar, Matt) > > Well, does Paul have authoritative rule here as ppc maintainer? :) I would take a similar attitude to Linus and say that if there is someone who has taken on the role of maintaining a file or subsystem, they get a fair bit of latitude in saying what the style should be there. So if Dan and Tom want to do "insnop, op, op" in head_8xx.S, I'm not going to go in and remove all the excess spaces. However, apart from that - i.e. for code that is used on all PPC platforms, or if people are asking what the style should be - then the style is no spaces between the operands. Paul.