From patchwork Sun Mar 25 22:27:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 148610 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 5D9FBB6F62 for ; Mon, 26 Mar 2012 10:35:26 +1100 (EST) Received: from localhost ([::1]:35122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBvxC-0006jT-MN for incoming@patchwork.ozlabs.org; Sun, 25 Mar 2012 18:30:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBvvn-00043T-9X for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBvvl-0007yA-Jv for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:28:58 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:47227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBvvl-0007uQ-Ab for qemu-devel@nongnu.org; Sun, 25 Mar 2012 18:28:57 -0400 Received: by mail-pb0-f45.google.com with SMTP id uo5so6347946pbc.4 for ; Sun, 25 Mar 2012 15:28:56 -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=vZ1gduP4cwDP4OEAhDw3QtpZgugfr4/VUjvymfFmjxo=; b=Q55cf9bZE0w65ze17I31hyH12UbNvyi5EbbXUldGlICj0TBAWvrDifThAbFyeWyuQL Og+N2gJxQDS6zhUxhpI9sTIqOa+ytGgUq3XEPfNYoGA4mfehfwONLf1uVLOW/BdNtwF5 G9vMjd7T3ZzZJR9pmhsbm6nYV0kt8+uWAybx/q7HSFhKjs+jC++1HPOI9ZofJutFileM bv+0OH5UyMAoUhlTkxBLreaGNpm4eHS6Ff05cDJ+6VjWeaQlPEvV4lk05XSog+4WDiM9 J4yDzTXQvt5ypiEvGEh/PtxqUCxwx8tt8JUoWqNAr4cHxk5H8Hbh5McF9avoJ0B6j2AZ nrvw== Received: by 10.68.194.227 with SMTP id hz3mr48870788pbc.23.1332714536471; Sun, 25 Mar 2012 15:28:56 -0700 (PDT) Received: from pebble.com ([173.160.232.49]) by mx.google.com with ESMTPS id l4sm11018797pbl.27.2012.03.25.15.28.55 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Mar 2012 15:28:55 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 25 Mar 2012 15:27:56 -0700 Message-Id: <1332714477-30079-15-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1332714477-30079-1-git-send-email-rth@twiddle.net> References: <1332714477-30079-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 14/15] 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 | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 896fab1..ce7c44e 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -83,11 +83,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_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, + TCG_REG_O7, }; static const int tcg_target_call_iarg_regs[6] = {