From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bbb5f6376898410d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111c93,bbb5f6376898410d X-Google-Attributes: gid111c93,public From: addy@TINOFSPAMaddy.freeserve.co.uk (Addy) Subject: Re: Write hint 64 on linux Date: 1999/11/10 Message-ID: <382947a0.132312355@reading.news.pipex.net>#1/1 X-Deja-AN: 546823506 References: X-Complaints-To: abuse@uk.uu.net X-Trace: soap.pipex.net 942227579 19705 194.202.174.50 (10 Nov 1999 09:52:59 GMT) Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom NNTP-Posting-Date: 10 Nov 1999 09:52:59 GMT Newsgroups: comp.os.linux.alpha,comp.sys.dec I've been using the 'ecb' instruction using inline assembler and Compaq ccc; #if defined(__DECC) || defined(__DECXX) long asm(const char *, ...); #pragma intrinsic( asm ) asm("ecb 0(%a0)", address); #endif Also, as a little warning ... last time I tried the '-arch ev6' option with the Compaq C compiler (on Tru64 and Linux) it generated incorrect code. What happened was in a loop which cleared memory, the compiler inserted a write-hint 64 instruction, but for an incorrect address. This caused 'random' 64-byte cache lines of my data to be read as all zero! This should have been reported to Compaq ... Addy.