lkml.org 
[lkml]   [2008]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ftrace introduces instability into kernel 2.6.27(-rc2,-rc3)


On Mon, 18 Aug 2008, Scott Wood wrote:

> Steven Rostedt wrote:
> > What syntax to do that with?
> >
> > lwz %1,0(%U2)
> > stu %3, 0(%X2)
> >
> > I'm new to those. (and the above does not compile)
>
> lwz%U2%X2 %1, %2
> stw%U2%X2 %3, %2

Thanks, that's new to me.

>
> > > Why stwu with an offset of zero,
> >
> > How else to do it? stwu %3, (%2) does not compile for me.
>
> stw %3, 0(%2)
>
> The "u" tells it to write the effective address back to %2 -- but with an
> offset of zero, the effective address is unchanged.

Ah! Right!

/me should open up his PowerPC ref books again :-p

-- Steve



\
 
 \ /
  Last update: 2008-08-18 21:33    [W:0.096 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site