[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20267.1187901648@turing-police.cc.vt.edu>
Date: Thu, 23 Aug 2007 16:40:48 -0400
From: Valdis.Kletnieks@...edu
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Hirokazu Takata <takata@...ux-m32r.org>,
"Robert P. J. Day" <rpjday@...dspring.com>,
paulmck@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
"Luck, Tony" <tony.luck@...el.com>, akpm@...ux-foundation.org,
linux-arch@...r.kernel.org, Chris Snook <csnook@...hat.com>,
Chris Friesen <cfriesen@...tel.com>
Subject: Re: [PATCH 11/23] make atomic_read() and atomic_set() behavior consistent on m32r
On Thu, 23 Aug 2007 21:29:41 +0200, Segher Boessenkool said:
> int f(atomic_t *x)
> {
> return atomic_read(x) + atomic_read(x);
> }
> ld r0,@r0
> slli r0,#1
> jmp lr
Looks like peephole optimization at work.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists