From patchwork Sat Sep 22 02:05:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 186064 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 6FD622C0089 for ; Sat, 22 Sep 2012 12:47:43 +1000 (EST) Received: from localhost ([::1]:43522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFF70-0007LW-GM for incoming@patchwork.ozlabs.org; Fri, 21 Sep 2012 22:06:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFF5y-0005T4-En for qemu-devel@nongnu.org; Fri, 21 Sep 2012 22:05:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFF5x-0000rp-Jb for qemu-devel@nongnu.org; Fri, 21 Sep 2012 22:05:26 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:59333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFF5x-0000du-EH for qemu-devel@nongnu.org; Fri, 21 Sep 2012 22:05:25 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp12so8850188pbb.4 for ; Fri, 21 Sep 2012 19:05:25 -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=yK4dZ8iA7NzrmNDMbrmEBzyEvsxDn0CXrSIb05FD8rLyjvGpTOiPulb2+mbKmlW5uE LbYy3jFDO7KC0tJacRQrnkcSWZQ0luuSEjdCsmnE8vx82LfGDrAEITAFerq2sFvE51Ob So0xqOnCZ8VyjMTUsmOmapoj23SrCcr25uO01VVa2D2MqeCfB/AU7EgIaUYpW85lyLpv Kx+EtYi5JV6cz1RYOFJqKLBAibQY1dcPD5R41VnrLqgvSfW/WI0eloMcxp7fosW8tgJ0 1EieYr2izQq+aABKXz9iVIwljcYe1pNVOgZp0+xYQFwIK6wFUNm9vyJrOJ8qV4Q6HBvn wzsw== Received: by 10.68.216.104 with SMTP id op8mr19725898pbc.65.1348279525123; Fri, 21 Sep 2012 19:05:25 -0700 (PDT) Received: from anchor.twiddle.home.com ([173.160.232.49]) by mx.google.com with ESMTPS id s4sm4956298paw.35.2012.09.21.19.05.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 19:05:24 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 21 Sep 2012 19:05:05 -0700 Message-Id: <1348279507-3617-13-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.11.4 In-Reply-To: <1348279507-3617-1-git-send-email-rth@twiddle.net> References: <1348279507-3617-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.160.45 Cc: Blue Swirl Subject: [Qemu-devel] [PATCH 12/14] 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] = {