Re: Intel Memory Ordering White Paper

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jesse Barnes <jesse.barnes@...>
Cc: <linux-kernel@...>
Date: Wednesday, September 12, 2007 - 2:26 pm

* Jesse Barnes (jesse.barnes@intel.com) wrote:

Hi Jesse,
  Thanks for letting everyone know about that paper, however - it
has confused me somewhat; there seem to be differences in that
description and that described in the 'Intel 64 and IA-32 Architectures
Software Developer's Manual' and I'd like to understand whether
this paper is designed just to explain points or is actually 
intended to change what can be expected of the processor.

That ordering doc states:
'Loads are not reordered with other loads'

Vol3a section 7.2.1 of the architecture manual states:

'Reads can be carried out speculatively and in any order.'

Is this a:
  1) Change in the definition of the architecture that existing
processors actually follow anyway.
  2) A difference between what the processor does and what is visible
to the software (the intro to this paper does seem to emphasize
software visibility more than the architecture manual).
  3) Some other difference I haven't spotted.

The other thing that made me think about it was that the Itanium
Architecture Software Dev Manul vol2 2.1.2 states that the Itanium
uses ld.acq/st.rel (acquire/release) references to
'operate according to the IA-32 ordering model.' which I think means
that all those loads are in order relative to all the other acquire
loads?

Dave

-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Intel Memory Ordering White Paper, Jesse Barnes, (Fri Sep 7, 6:26 pm)
Re: Intel Memory Ordering White Paper, Dr. David Alan Gilbert, (Wed Sep 12, 2:26 pm)
Re: Intel Memory Ordering White Paper, Jesse Barnes, (Wed Sep 19, 12:26 pm)
Re: Intel Memory Ordering White Paper, Andi Kleen, (Wed Sep 19, 1:29 pm)
Re: Intel Memory Ordering White Paper, Alan Cox, (Sat Sep 8, 6:29 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Fri Sep 7, 4:49 pm)
Re: Intel Memory Ordering White Paper, Alan Cox, (Sat Sep 8, 10:11 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Sat Sep 8, 4:54 am)
Re: Intel Memory Ordering White Paper, Alan Cox, (Sat Sep 8, 6:30 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Fri Sep 7, 4:46 pm)
Re: Intel Memory Ordering White Paper, Linus Torvalds, (Fri Sep 7, 7:20 pm)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Sat Sep 8, 1:34 pm)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Sat Sep 8, 1:48 pm)
Re: Intel Memory Ordering White Paper, dean gaudet, (Sat Sep 8, 7:34 am)
Re: Intel Memory Ordering White Paper, Petr Vandrovec, (Sat Sep 8, 8:08 am)
Re: Intel Memory Ordering White Paper, dean gaudet, (Sat Sep 8, 8:27 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Fri Sep 7, 2:13 pm)
Re: Intel Memory Ordering White Paper, Andi Kleen, (Sat Sep 8, 4:53 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Fri Sep 7, 3:57 pm)
Re: Intel Memory Ordering White Paper, Andi Kleen, (Sat Sep 8, 6:19 am)
Re: Intel Memory Ordering White Paper, Nick Piggin, (Fri Sep 7, 4:32 pm)
Re: Intel Memory Ordering White Paper, H. Peter Anvin, (Sat Sep 8, 4:37 pm)