Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site amdahl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!pesnta!hplabs!amdahl!gam From: gam@amdahl.UUCP (G A Moffett) Newsgroups: net.lang.c Subject: Re: String copy idiom. Message-ID: <1254@amdahl.UUCP> Date: Sun, 10-Mar-85 05:40:04 EST Article-I.D.: amdahl.1254 Posted: Sun Mar 10 05:40:04 1985 Date-Received: Mon, 11-Mar-85 07:21:49 EST References: <7044@watdaisy.UUCP> <3448@alice.UUCP> <464@petsd.UUCP> Organization: Blue Mouse Trailer Resort (sp #9), Hellmouth, CA Lines: 11 As long as we're comparing compilers, the UTS C compiler produces basically the same code with either construction (with slightly different register usage), except that the instruction ordering is different. The code is the same size in either case. This seems like a reasonable thing to expect, since the code IS doing the same thing, only in slightly different ways. (370 architectures do not have auto-increment like DEC and other machines). -- Gordon A. Moffett ...!{ihnp4,hplabs,sun}!amdahl!gam