From patchwork Tue Dec 6 04:40:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 631329 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2941061pvb; Mon, 5 Dec 2022 20:44:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7m5uk8+IV/XZ+2901u74wPi7jBo9OMzqkQtGuOw0a1+aKvL7UBfMpvuDiByKDXfqVI+Qrh X-Received: by 2002:a0c:e043:0:b0:4c7:acc:3a1 with SMTP id y3-20020a0ce043000000b004c70acc03a1mr28820142qvk.10.1670301866374; Mon, 05 Dec 2022 20:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670301866; cv=none; d=google.com; s=arc-20160816; b=l5HbtF/xRpt2tItBCf3Lzsx0wE5AJLYio5Rgu6Mo1YDFDkIr3oDzvzs6fQOaEt2RGZ M9uQynJDvYVyleaQZCCVzV8gM1/wwBy7MNNRAS50apB+oAM/G/MjtcWjREpJtydMQ8mY 8jbEcaQhNBzjqYPUDSEl7Foh5/yAHSMEYXFQV7zSs7ZByH6zkAxNHIyPdD1WG+ciiPbE BPKOOcmal+d1tnhD+bYPBCLRVGjWIEu4KeHcwxdehP1YQEmM0JKGTfUibN62luqwPZS8 ow7G5p//fpGwwNgm+EbM1OQeCuLZQ3JRnnRGpvgzPAL75wE2wI6m9PQeu00m1GSlcqJu TM+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=FrSE3XSvwUmq7LNNTi99/Kduka3LG902gg8B3hddhvY=; b=CyDQzXHDTBxZSdF1y9UCrjSmJga1E39J5mdoTRCeBDF20ipSrg8i2D6wz+IK6bVEM9 ++iTtzcMrnwdWX0l53cquxGaGPMJo7EsPG1h1F8QFCR2y+qM1nj9JIMjBbhrv0J884N4 S8mOb8a07VxtNs3n7YZ3/s0D9xQ2omUvZudphVJ8DE0/nIia/6MHht+llWIY6EZWTTxD IRvfwDTfZeZA17vD6mlAdm9pg0MdTGuMpvyagWUIo6slBmTT2lcVdcx1XRLmLWWpEWu/ KVFV9M1FoUgjy9No1FXWIbj6/2bhPUqlg/mH1CMn8q6KENajTN9F8GIf1r4BHFBsSs8r zAYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dQ49OT7a; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 8-20020ad45b88000000b004c6a092ebfasi8987094qvp.459.2022.12.05.20.44.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Dec 2022 20:44:26 -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=dQ49OT7a; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2PlP-0003Bu-CS; Mon, 05 Dec 2022 23:41:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2PlN-0003B0-Oo for qemu-devel@nongnu.org; Mon, 05 Dec 2022 23:41:01 -0500 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2PlM-000336-49 for qemu-devel@nongnu.org; Mon, 05 Dec 2022 23:41:01 -0500 Received: by mail-ot1-x32d.google.com with SMTP id s9-20020a05683004c900b0066e7414466bso8588905otd.12 for ; Mon, 05 Dec 2022 20:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FrSE3XSvwUmq7LNNTi99/Kduka3LG902gg8B3hddhvY=; b=dQ49OT7ad3FBFggykLzYaIcmDdGuzoOAaMAN+gBwJC8476VHIK2jFe8la85xP5ypkx p4x6RBDRJsrlNSGqPYMF62G8gsZCo0fCvMNF1TbGWMiHspvA+c5K63Qov+rKmugRc4mj XJeM/WTLVOnTlV6+sqajQSDdE5IP0+9RsxCQY95eLtfrpBVBYlf9r0nxRt8m6U0zPiIm HEa9ZLk1fvyRGylJxXxk2oPxyVppxZMSi/XHq7Hz+3U28Kf9iaXxnI2E4r/aXTcG7gB0 5yBKGUnRxR/ZnaCClwK3hxQqdWv0A1Tz50RnKIjrhSa46DhTDcLYFQ3aO9MCj4K0xx2h 2CVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FrSE3XSvwUmq7LNNTi99/Kduka3LG902gg8B3hddhvY=; b=VfoQkL5E0d98VRFA8ium2lAdGylClmLXFtiz7llCmOj7ZkxfzWT43zlkpfoG02EC48 GmfJSZ56k5sWF5koA1A2t0QSXT++iC9S7LfBliFc7eUd96wURfO3BVtopkA3KlvGoL5e 0+u9o30+3A8/X0tBHfZU8zQccm48TkI87/g4A+cxIbbEXgSYlEiLaBSMNqUJdo1eJUtT n1esOz5Tgjw9CBnc1veeuQE/LyPyy+CUiXrU8gwSRCrTAbWa62faXfFR8jW0Suq/gdDS se4JQoYOXep+spbwbCWNJ3uPiLw0aNcSa/oLEyE27NTCml0cUp80tlWYWBZloCOLFgcL IV7w== X-Gm-Message-State: ANoB5plS8bI0BTT0B1Q46z8MH+wsA5Yp+HeUCK3ccu1fJKSukFbVHjaO 26/MkNQkE6MFMxcyDrse7/JPsFotGxtQlBWnv7Y= X-Received: by 2002:a9d:721a:0:b0:66e:882a:1dff with SMTP id u26-20020a9d721a000000b0066e882a1dffmr7397146otj.292.1670301657812; Mon, 05 Dec 2022 20:40:57 -0800 (PST) Received: from stoup.. ([2806:102e:18:70b5:d104:21c2:8c7e:77e6]) by smtp.gmail.com with ESMTPSA id z6-20020a05687041c600b001442fada152sm7561864oac.46.2022.12.05.20.40.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 20:40:57 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 3/8] tcg/loongarch64: Update tcg-insn-defs.c.inc Date: Mon, 5 Dec 2022 22:40:46 -0600 Message-Id: <20221206044051.322543-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221206044051.322543-1-richard.henderson@linaro.org> References: <20221206044051.322543-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x32d.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Regenerate with ADDU16I included. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- tcg/loongarch64/tcg-insn-defs.c.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tcg/loongarch64/tcg-insn-defs.c.inc b/tcg/loongarch64/tcg-insn-defs.c.inc index d162571856..c3c8669b4b 100644 --- a/tcg/loongarch64/tcg-insn-defs.c.inc +++ b/tcg/loongarch64/tcg-insn-defs.c.inc @@ -4,7 +4,7 @@ * * This file is auto-generated by genqemutcgdefs from * https://github.com/loongson-community/loongarch-opcodes, - * from commit 961f0c60f5b63e574d785995600c71ad5413fdc4. + * from commit 6ffbaddacacfcd5bdc893a49a165b8549d385eea. * DO NOT EDIT. */ @@ -74,6 +74,7 @@ typedef enum { OPC_ANDI = 0x03400000, OPC_ORI = 0x03800000, OPC_XORI = 0x03c00000, + OPC_ADDU16I_D = 0x10000000, OPC_LU12I_W = 0x14000000, OPC_CU32I_D = 0x16000000, OPC_PCADDU2I = 0x18000000, @@ -710,6 +711,13 @@ tcg_out_opc_xori(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk12) tcg_out32(s, encode_djuk12_insn(OPC_XORI, d, j, uk12)); } +/* Emits the `addu16i.d d, j, sk16` instruction. */ +static void __attribute__((unused)) +tcg_out_opc_addu16i_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16) +{ + tcg_out32(s, encode_djsk16_insn(OPC_ADDU16I_D, d, j, sk16)); +} + /* Emits the `lu12i.w d, sj20` instruction. */ static void __attribute__((unused)) tcg_out_opc_lu12i_w(TCGContext *s, TCGReg d, int32_t sj20)