From: Thomas Dzubin <dzubint@vcn.bc.ca>
Subject: Re: Write hint 64 on linux
Date: 1999/11/10 [thread overview]
Message-ID: <80cb1l$l6o$1@sylvester.vcn.bc.ca> (raw)
In-Reply-To: 382947a0.132312355@reading.news.pipex.net
Thanks to Addy and Robert! These posts have been the most useful
Usenet posts I've seen all week...
I am going to try out these suggestions ASAP!
In comp.sys.dec Addy <addy@tinofspamaddy.freeserve.co.uk> wrote:
> 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.
>
--
----------------------------------------------------------------------------
Thomas Dzubin, Network Analyst and PDP-11 tinkerer
Vancouver, Saskatoon, or Calgary CANADA
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 ` Steven Hobbs
1999-11-09 5:00 ` Andreas Krall
1999-11-10 5:00 ` Addy
1999-11-10 5:00 ` Thomas Dzubin [this message]
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