From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bbd38336de2920f0 X-Google-Attributes: gid1164f8,public From: peltz@cerl.uiuc.edu (Steve Peltz) Subject: Re: What are the meanings of '.alias' and '.noalias'? Date: 1995/08/11 Message-ID: <40g5l8$iuo@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 107977740 references: <40bh4b$krh@pollux.usc.edu> organization: University Communications, Inc. newsgroups: comp.sys.dec In article <40bh4b$krh@pollux.usc.edu>, Sungdo Moon wrote: >After removing these ".alias" and ".noalias", the execution time is increased >dramatically. Could anybody please tell me the meaning of ".alias" and >".noalias"? It's telling the assembler that references to memory via those registers do not overlap. If anything, it ought to speed your code up, as it allows the assembler to eliminate redundant memory reads/writes. The .alias condition is the default for all register pairs, which is why it puts them all back the way they were after the inner loop segment. I'd suggest looking at what the assembler actually produced (using "dis") in the two cases to see what is going on. You can't go just by what the assembler source code is, since the assembler can eliminate and re-order code based on various settings (such as the .alias/.noalias directives, and the .set volatile, reorder, and move settings). -- Steve Peltz tricorn@uiuc.edu