Thread (2 messages) flat view 2 messages, 2 authors, 1999-08-12

Re: [linux-fbdev] Re: readl() and friends and eieio on PPC

From: Paul Mackerras <hidden>
Date: 1999-08-12 09:58:05

Richard Henderson [off-list ref] wrote:
No, 2 Cycles to L1 cache.  One cycle to execute the store,
which merely adds an entry to the store buffer.
Yes, of course, silly me.  Same on PPC.
quoted
(Ob. nitpicking: if a wmb takes 12 cycles, how come we can do a wmb
and 8 stores in 10 cycles? :-)
Because it doesn't work like that.  wmb adds a magic token to the
store buffer that prevents write combining and other such hw
optimizations.  Timing
Then why is there such a big performance impact from the wmb's?

Paul.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help