Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site wdl1.UUCP Path: utzoo!linus!decvax!tektronix!hplabs!hpda!fortune!wdl1!jbn From: jbn@wdl1.UUCP Newsgroups: net.micro.68k Subject: Optimizing M68000 C compilers? Message-ID: <427@wdl1.UUCP> Date: Fri, 17-May-85 01:23:21 EDT Article-I.D.: wdl1.427 Posted: Fri May 17 01:23:21 1985 Date-Received: Sun, 19-May-85 06:06:09 EDT Sender: notes@wdl1.UUCP Organization: Ford Aerospace, Western Development Laboratories Lines: 26 Nf-ID: #N:wdl1:22700012:000:503 Nf-From: wdl1!jbn May 16 20:51:00 1985 Is there a really strong C compiler for the 68K? Try this on yours? lcopy(src,dest,n) long src[]; long dest[]; long n; { while (n--) *dest++ = *src++; } Is the inner loop two instructions long, and suitable for repeat mode? If so, then try this one. lcopy(src,dest,n) long src[]; long dest[]; long n; { for (i=0; i