From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SKCfr-000388-Oq for mharc-qemu-trivial@gnu.org; Tue, 17 Apr 2012 13:58:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKCfj-0002kG-Ux for qemu-trivial@nongnu.org; Tue, 17 Apr 2012 13:58:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKCfe-0006Ek-Vo for qemu-trivial@nongnu.org; Tue, 17 Apr 2012 13:58:35 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:47854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKCfV-0006AY-9n; Tue, 17 Apr 2012 13:58:21 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 2A6A672800B3; Tue, 17 Apr 2012 19:58:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M4XQJt3Tb0qy; Tue, 17 Apr 2012 19:58:14 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 6E81872800B5; Tue, 17 Apr 2012 19:58:14 +0200 (CEST) From: Stefan Weil To: qemu-devel@nongnu.org Date: Tue, 17 Apr 2012 19:58:13 +0200 Message-Id: <1334685493-6867-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.47.199.172 Cc: qemu-trivial@nongnu.org, Stefan Weil , Paul Brook Subject: [Qemu-trivial] [PATCH] arm-dis: Fix spelling in comments (iff -> if) X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 17:58:42 -0000 The spelling 'iff' is sometimes used for 'if and only if'. Even if that meaning could be applied here, it is not used consistently. It is also quite unusual to use 'if and only if' in technical documentation. Therefore a simple 'if' should be preferred here. Signed-off-by: Stefan Weil --- arm-dis.c | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arm-dis.c b/arm-dis.c index 6bc4d71..db15eca 100644 --- a/arm-dis.c +++ b/arm-dis.c @@ -130,8 +130,8 @@ struct opcode16 %z print a double precision VFP reg Codes: 0=>Dm, 1=>Dd, 2=>Dn, 3=>multi-list - %'c print specified char iff bitfield is all ones - %`c print specified char iff bitfield is all zeroes + %'c print specified char if bitfield is all ones + %`c print specified char if bitfield is all zeroes %?ab... select from array of values in big endian order %L print as an iWMMXt N/M width field. @@ -522,8 +522,8 @@ static const struct opcode32 coprocessor_opcodes[] = %Tn print short scaled width limited by n %Un print long scaled width limited by n - %'c print specified char iff bitfield is all ones - %`c print specified char iff bitfield is all zeroes + %'c print specified char if bitfield is all ones + %`c print specified char if bitfield is all zeroes %?ab... select from array of values in big endian order */ static const struct opcode32 neon_opcodes[] = @@ -787,8 +787,8 @@ static const struct opcode32 neon_opcodes[] = %c print condition code (always bits 28-31) %m print register mask for ldm/stm instruction %o print operand2 (immediate or register + shift) - %p print 'p' iff bits 12-15 are 15 - %t print 't' iff bit 21 set and bit 24 clear + %p print 'p' if bits 12-15 are 15 + %t print 't' if bit 21 set and bit 24 clear %B print arm BLX(1) destination %C print the PSR sub type. %U print barrier type. @@ -800,8 +800,8 @@ static const struct opcode32 neon_opcodes[] = %x print the bitfield in hex %X print the bitfield as 1 hex digit without leading "0x" - %'c print specified char iff bitfield is all ones - %`c print specified char iff bitfield is all zeroes + %'c print specified char if bitfield is all ones + %`c print specified char if bitfield is all zeroes %?ab... select from array of values in big endian order %e print arm SMI operand (bits 0..7,8..19). @@ -1090,7 +1090,7 @@ static const struct opcode32 arm_opcodes[] = %a print (bitfield * 4) as a pc-rel offset + decoded symbol %B print Thumb branch destination (signed displacement) %c print bitfield as a condition code - %'c print specified char iff bit is one + %'c print specified char if bit is one %?ab print a if bit is one else print b. */ static const struct opcode16 thumb_opcodes[] = @@ -1248,8 +1248,8 @@ static const struct opcode16 thumb_opcodes[] = %r print bitfield as an ARM register %c print bitfield as a condition code - %'c print specified char iff bitfield is all ones - %`c print specified char iff bitfield is all zeroes + %'c print specified char if bitfield is all ones + %`c print specified char if bitfield is all zeroes %?ab... select from array of values in big endian order With one exception at the bottom (done because BL and BLX(1) need -- 1.7.9