From: addy@TINOFSPAMaddy.freeserve.co.uk (Addy)
Subject: Re: Write hint 64 on linux
Date: 1999/11/10 [thread overview]
Message-ID: <382947a0.132312355@reading.news.pipex.net> (raw)
In-Reply-To: Pine.GSO.3.95.991108212115.6710A-100000@holyrood.ed.ac.uk
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.
next prev parent reply other threads:[~1999-11-10 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-08 5:00 Write hint 64 on linux Peter Boyle
1999-11-09 5:00 ` Andreas Krall
1999-11-09 5:00 ` Steven Hobbs
1999-11-10 5:00 ` Addy [this message]
1999-11-10 5:00 ` Thomas Dzubin
1999-11-10 5:00 ` Robert Harley
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox