From patchwork Mon Sep 17 15:28:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 184472 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BC2E12C0087 for ; Tue, 18 Sep 2012 01:37:41 +1000 (EST) Received: from localhost ([::1]:33545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdHA-0006aO-6E for incoming@patchwork.ozlabs.org; Mon, 17 Sep 2012 11:30:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdG9-0004hJ-Ct for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:29:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDdG8-0005nw-9V for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:29:17 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:37935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDdG8-0005gx-63 for qemu-devel@nongnu.org; Mon, 17 Sep 2012 11:29:16 -0400 Received: by mail-qa0-f45.google.com with SMTP id c10so1602013qad.4 for ; Mon, 17 Sep 2012 08:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=4j8aywcnQE0lSPZeCPhf7K7ntYONbkETs94+BTTxhws=; b=Z8bBZ3eNVBBAX06Z3uz+xhwlkv55d5eFANBdd/nS04tmR4divyOa2lBBVC/3z0Y7/r KM6HHAW36VujUZDGfR119Q3w8o+qokYMPAfZKee8hH9xqjEWYjVVEiiu+ASdluFCqjs8 5/QFEd28Y1LOYCtv1VGmvJy/j+6nKmm3D72+GIOiAXPtzl6GraRSNSGNYv4lKOz5afvC 7+uwfDKWQZ3Jw4WbjhfkpdhOcyXe2ovYhjrgtTqs/i8FNTJcEXJgsS5M2iHVj8ZoBKmZ /NTQp2KsLll1zTonux7LAIDjeXbH6gwhXoDMSkgyfYZDFQp07uCs6fayy0Ktx/D8ZcTR C+9Q== Received: by 10.224.198.131 with SMTP id eo3mr28289796qab.78.1347895755860; Mon, 17 Sep 2012 08:29:15 -0700 (PDT) Received: from anchor.twiddle.home.com ([173.160.232.49]) by mx.google.com with ESMTPS id d11sm13593751qaj.18.2012.09.17.08.29.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 08:29:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 17 Sep 2012 08:28:50 -0700 Message-Id: <1347895732-22212-12-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.11.4 In-Reply-To: <1347895732-22212-1-git-send-email-rth@twiddle.net> References: <1347895732-22212-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.45 Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH 11/13] tcg-sparc: Add %g/%o registers to alloc_order X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index d401f8e..03c385a 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -78,12 +78,25 @@ static const int tcg_target_reg_alloc_order[] = { TCG_REG_L5, TCG_REG_L6, TCG_REG_L7, + TCG_REG_I0, TCG_REG_I1, TCG_REG_I2, TCG_REG_I3, TCG_REG_I4, TCG_REG_I5, + + TCG_REG_G2, + TCG_REG_G3, + TCG_REG_G4, + TCG_REG_G5, + + TCG_REG_O0, + TCG_REG_O1, + TCG_REG_O2, + TCG_REG_O3, + TCG_REG_O4, + TCG_REG_O5, }; static const int tcg_target_call_iarg_regs[6] = {