Message ID | 20210208023752.270606-53-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp4324531jah; Sun, 7 Feb 2021 19:13:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFABhHrB5X/edB/S7+kTjQt3HYVJ3EwLUEGLekqRwqcPkqZ6luXKScze6kK0bJzRFKps0u X-Received: by 2002:a25:2206:: with SMTP id i6mr6885491ybi.351.1612754035041; Sun, 07 Feb 2021 19:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612754035; cv=none; d=google.com; s=arc-20160816; b=yKpJUjBSs3CwjLMRtYZd045qxfLzQq8lE7kN2ynpS4sv2glAiULQLgZZTZWVjHXocy +EVFV1n9qqWNMKShafsePH2qKmzK8oZTQ31pNiUE1U/qp+k8oFq5QQZVEeNTj7H16aou YUkaha3UcUnu25nUOLpd29mrxlOq2AiFlO5p4gVr1VMBuamGMuYZZFEHMd29y3GeEt2V md+i5f0F59aYpQMCgYG9cwPtiQUQdYUVJWFkzhxlbDU+xfh8o2z6ju3ulrfwpwcnXrjz UrKe/GDmPAberGkCXu+bVDeR3FVoFps6p1eEXp5lLvE8xTtH648ApewihbSSOzhfHiTl s+nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=RltB6tJRO1PShAvoUlO75Uo0j450X071u7i11eDg0EU=; b=yQm5vaKazbq7z0ez4fUbu7ifkbu4ymmBLVB56238bJ0lQeFax+VSftKd5NmG5Nk6f9 6xgmv74nKOqpjT32hMoFyKMC/kLPtFvfZ97X9GXB2NWO10x7wrvetDORN+Ky7YPnfICg hVW2m1j6p3fugcwtiR6If5uc3LLPfVN7/Yz1IB7nH1cPhlmCw4lk95+t9ERs/o4z+RPH Qc97AI0fEl9fYdQTymdzwGgDLPi/jvtjUq3KW55Fg6HqJUxHmQVye5za7+1pPCrIvyPN rV/bd6fi5n1b4gs3CSbvto//j8rTWGZlxJJOBKK67gnk6IegRkIBLhfp2dpipJOhxG8n tKEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ikbe5lV5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o125si15894504yba.354.2021.02.07.19.13.54 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Feb 2021 19:13:55 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ikbe5lV5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1l8wzq-0004dl-I1 for patch@linaro.org; Sun, 07 Feb 2021 22:13:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l8wSY-0002gj-Ok for qemu-devel@nongnu.org; Sun, 07 Feb 2021 21:39:30 -0500 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:36478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l8wSW-0006A5-AP for qemu-devel@nongnu.org; Sun, 07 Feb 2021 21:39:30 -0500 Received: by mail-pj1-x102e.google.com with SMTP id gx20so7943154pjb.1 for <qemu-devel@nongnu.org>; Sun, 07 Feb 2021 18:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RltB6tJRO1PShAvoUlO75Uo0j450X071u7i11eDg0EU=; b=Ikbe5lV5OypkXLHKN20lSdkHrpY1ntJLnRtipstNpwl2XtX305qU/8aTKSQrVvg8/X EAKN4XbZY4bRS1nYFlXBfU09g4GHAyRz0zKaG/jxVT1lgc4OxdtajCilkG92kB9Ambi8 wK+X4JwHYGazrEqXio/q14Ud95KY5Asq3Xml4awN9ZuzBkVeV9zoXnYHNQW0SWdOqycZ AjdccxggsWbtfMIDNhY/opnRzG1Joar09VsVyfoJEHaXzKYNLcQYjPTevn9iGMCcF2X1 Mw4mX6r/ge8GKU+e9njJWT8RmbuIO5e84TwxmadF01aG+kwEGDpJao2LuTl+c04VHlhV b8uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RltB6tJRO1PShAvoUlO75Uo0j450X071u7i11eDg0EU=; b=EFGobqvYzfE3xu00couAREfjAJiq6gzp2CeadufZcrN1XCsEblbXgOE4CeI6hZNRdI X03OiZ21ywqwJeHyjVUlUqPrUWGSJlQIouCCQ20q74SubaK6lZFhD2XGre+3rbxO+Nhv hLDJZ6QAW/Dw8/W3J4PnXaUxnsQhrsFFU8/+tfqPRE0NiypiAxJKzTjhbklJM05iALRG KvMWUDc4qvAZuYXeO7X6gnKy7CLPxX87el7SSmUgdKUqT7zp3MnnaYEnr7GpmHWsJQU+ oztzEO/sSP6uDmHWsYMW83xMRWEmd/wyZkIqDV3aVDMbwnUBoeFkdCJZCbULIKC6W89X 3CBg== X-Gm-Message-State: AOAM532rqvVd6kbEoBYEDohFgmazgbnzwtQffOaSXHmoWXdaJOvJrxru fKLEoQADEpC7Uuy3ZBl7cfVAtcgNo1gN2A== X-Received: by 2002:a17:90a:8e83:: with SMTP id f3mr13931644pjo.70.1612751967113; Sun, 07 Feb 2021 18:39:27 -0800 (PST) Received: from localhost.localdomain (174-21-150-71.tukw.qwest.net. [174.21.150.71]) by smtp.gmail.com with ESMTPSA id 74sm650954pfw.53.2021.02.07.18.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 18:39:26 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v3 52/70] tcg/tci: Split out tcg_out_op_rrrr Date: Sun, 7 Feb 2021 18:37:34 -0800 Message-Id: <20210208023752.270606-53-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210208023752.270606-1-richard.henderson@linaro.org> References: <20210208023752.270606-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: sw@weilnetz.de Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
TCI fixes and cleanups
|
expand
|
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index f7595fbd65..c2bbd85130 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -385,6 +385,20 @@ static void tcg_out_op_rrrbb(TCGContext *s, TCGOpcode op, TCGReg r0, } #if TCG_TARGET_REG_BITS == 32 +static void tcg_out_op_rrrr(TCGContext *s, TCGOpcode op, + TCGReg r0, TCGReg r1, TCGReg r2, TCGReg r3) +{ + uint8_t *old_code_ptr = s->code_ptr; + + tcg_out_op_t(s, op); + tcg_out_r(s, r0); + tcg_out_r(s, r1); + tcg_out_r(s, r2); + tcg_out_r(s, r3); + + old_code_ptr[1] = s->code_ptr - old_code_ptr; +} + static void tcg_out_op_rrrrrc(TCGContext *s, TCGOpcode op, TCGReg r0, TCGReg r1, TCGReg r2, TCGReg r3, TCGReg r4, TCGCond c5) @@ -632,12 +646,7 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, old_code_ptr[1] = s->code_ptr - old_code_ptr; break; case INDEX_op_mulu2_i32: - tcg_out_op_t(s, opc); - tcg_out_r(s, args[0]); - tcg_out_r(s, args[1]); - tcg_out_r(s, args[2]); - tcg_out_r(s, args[3]); - old_code_ptr[1] = s->code_ptr - old_code_ptr; + tcg_out_op_rrrr(s, opc, args[0], args[1], args[2], args[3]); break; #endif
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/tci/tcg-target.c.inc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) -- 2.25.1