From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGR4Z-0000cj-Lt for qemu-devel@nongnu.org; Sun, 01 May 2011 03:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGR4Y-0002LH-Jq for qemu-devel@nongnu.org; Sun, 01 May 2011 03:28:07 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:55302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGR4Y-0002L9-HX for qemu-devel@nongnu.org; Sun, 01 May 2011 03:28:06 -0400 Received: by qwj8 with SMTP id 8so2673306qwj.4 for ; Sun, 01 May 2011 00:28:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Blue Swirl Date: Sun, 1 May 2011 10:27:45 +0300 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Kovalenko Cc: Aurelien Jarno , qemu-devel , Artyom Tarasenko On Sat, Apr 30, 2011 at 10:32 PM, Igor Kovalenko wrote: > On Sat, Apr 30, 2011 at 7:42 PM, Blue Swirl wrote: >> Use TCG local to work around TCG register flush due to a branch. >> >> Thanks to Artyom Tarasenko, Igor Kovalenko and Aurelien Jarno. >> >> Signed-off-by: Blue Swirl >> --- >> I analyzed the call tree in target-sparc/translate.c for brcond* usage. >> In the following lines, first level function uses brcond* directly, >> second level calls the first level etc. >> > > I want to be able to do exhaustive searches as well :) > Have you used recently posted gcc save-temps method? No, I just used the search facilities of the editor. First, search for brcond, examine the function for correctness and copy the function names to scratch buffer. Next, search for the function names just found, examine callers and copy their function names with prefix to scratch etc. About one hour's work.