Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!daver!bungi.com!news From: dlr@daver.bungi.com (Dave Rand) Newsgroups: comp.sys.nsc.32k Subject: Re: Dhrystone 2.1 with improved strcpy / strcmp Message-ID: Date: 13 Sep 90 22:15:22 GMT Sender: news@daver.bungi.com Lines: 24 Approved: news@daver.bungi.com [In the message entitled "Dhrystone 2.1 with improved strcpy / strcmp" on Sep 13, 11:32, John Connin writes:] > After converting to compatible assembler format, Dave's routines > seem to work fine with one expection. The .align 4 directives > must be commented out any place the code falls through to > the next section. Instructions beginning with 0x00 do not seem > to work very well :-). Yeah - the nice part about the NSC assembler is that it "optimizes" the .align's by using a 1, 2 or 3 byte "nop" instruction. I think it uses: 1 nop 2 movb r7,r7 3 orb $0,r7 This is really good on the 532, since all of these instructions execute in 2 clocks - eating up that space quickly. You will notice a win if you at least align the top of each loop... -- Dave Rand {pyramid|mips|bct|vsi1}!daver!dlr Internet: dlr@daver.bungi.com