Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 264 binaries ok?  SRM_CHECK available for linux?
@ 1999-04-14 10:16 Harvey J. Stein
  1999-04-14 13:52 ` Greg Lindahl
  1999-04-16  7:14 ` Richard Henderson
  0 siblings, 2 replies; 4+ messages in thread
From: Harvey J. Stein @ 1999-04-14 10:16 UTC (permalink / raw)
  To: axp-list


I just found this on the openvms page:

   (http://www.openvms.digital.com/openvms/21264_CONSIDERATIONS.html)


   Ensuring Proper Use of Interlocked Memory Instructions

   The Alpha Architecture Reference Manual, Third Edition (AARM)
   describes strict rules for using interlocked memory
   instructions. The forthcoming Alpha 21264 (EV6) processor and all
   future Alpha processors are more stringent than their predecessors
   in their requirement that these rules be followed. As a result,
   code that has worked in the past despite noncompliance may now fail
   when executed on systems featuring the new 21264 processor.

Does anyone know if this is relevant to gcc on linux?  The above page
includes a tool which finds inconsistencies in a binary (on VMS
systems, of course):

   http://www.openvms.digital.com/openvms/srm_check.exe

Does anyone know if such a thing is needed and/or available for Linux?
I didn't find any such caveats on the "Tru64 Unix" pages.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 264 binaries ok?  SRM_CHECK available for linux?
  1999-04-14 10:16 264 binaries ok? SRM_CHECK available for linux? Harvey J. Stein
@ 1999-04-14 13:52 ` Greg Lindahl
  1999-04-14 13:56   ` Harvey J. Stein
  1999-04-16  7:14 ` Richard Henderson
  1 sibling, 1 reply; 4+ messages in thread
From: Greg Lindahl @ 1999-04-14 13:52 UTC (permalink / raw)
  To: axp-list

>    The Alpha Architecture Reference Manual, Third Edition (AARM)
>    describes strict rules for using interlocked memory
>    instructions. The forthcoming Alpha 21264 (EV6) processor and all
>    future Alpha processors are more stringent than their predecessors
>    in their requirement that these rules be followed. As a result,
>    code that has worked in the past despite noncompliance may now fail
>    when executed on systems featuring the new 21264 processor.

I remember this coming up a while back, and it had to do with memory
barriers being required by the architecture, but not enforced by the
hardware until the 21264. However, single-processor programs can't run
into this at all.

Hopefully someone will correct me if I'm wrong.

-- g


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 264 binaries ok?  SRM_CHECK available for linux?
  1999-04-14 13:52 ` Greg Lindahl
@ 1999-04-14 13:56   ` Harvey J. Stein
  0 siblings, 0 replies; 4+ messages in thread
From: Harvey J. Stein @ 1999-04-14 13:56 UTC (permalink / raw)
  To: axp-list; +Cc: hjstein

Greg Lindahl <lindahl@cs.virginia.edu> writes:

 > >    The Alpha Architecture Reference Manual, Third Edition (AARM)
 > >    describes strict rules for using interlocked memory
 > >    instructions. The forthcoming Alpha 21264 (EV6) processor and all
 > >    future Alpha processors are more stringent than their predecessors
 > >    in their requirement that these rules be followed. As a result,
 > >    code that has worked in the past despite noncompliance may now fail
 > >    when executed on systems featuring the new 21264 processor.
 > 
 > I remember this coming up a while back, and it had to do with memory
 > barriers being required by the architecture, but not enforced by the
 > hardware until the 21264. However, single-processor programs can't run
 > into this at all.
 > 
 > Hopefully someone will correct me if I'm wrong.

What do you mean "single processor programs"?  People are already
running linux SMP on dual processor 264s.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 264 binaries ok?  SRM_CHECK available for linux?
  1999-04-14 10:16 264 binaries ok? SRM_CHECK available for linux? Harvey J. Stein
  1999-04-14 13:52 ` Greg Lindahl
@ 1999-04-16  7:14 ` Richard Henderson
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1999-04-16  7:14 UTC (permalink / raw)
  To: axp-list

On Wed, Apr 14, 1999 at 01:16:40PM +0300, Harvey J. Stein wrote:
> Does anyone know if this is relevant to gcc on linux?

It is not.  Gcc never emits ll/sc.  

Nor should it be an issue in the kernel, as I've been careful to
follow the rules.


r~


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-04-16  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-14 10:16 264 binaries ok? SRM_CHECK available for linux? Harvey J. Stein
1999-04-14 13:52 ` Greg Lindahl
1999-04-14 13:56   ` Harvey J. Stein
1999-04-16  7:14 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox