From patchwork Mon Nov 6 11:03:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 741363 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1032931wrr; Mon, 6 Nov 2023 03:33:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzzA5E3GBsG1kfXkoaC81ndkXnb8p04wHeJZyAZsKbygIk+fjx4nYxEUCfqLBIQFMPXpm2 X-Received: by 2002:a05:620a:4512:b0:777:2ac8:b434 with SMTP id t18-20020a05620a451200b007772ac8b434mr34049879qkp.72.1699270392744; Mon, 06 Nov 2023 03:33:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699270392; cv=none; d=google.com; s=arc-20160816; b=smEHi9NAE3VLSIjoQumfeNHTtwop8XDlN8lB/VifhIi5EQh36EoaAkTPw7k8kn6Slu e3AzdwzxXyiLsh+0ECkW7W83KcJN+jG7191jh+vYiNYra0SRuRGxuipf+HbVbmEotWBp lA5WGE0lHZ7nc2/798Gam4NNOO8K/+XEXAtcnG0UMAMd3WoXHjg/y+Xb/lyAJvYWuDEa MNWpeMFQsGtBdFZxAZcXFQsRvA/nmRfjKwooxxyz6R0aFOGh2T13FKnX/w/LszhMGud5 lKCx5f4C+IxTQh3TE9WU3msnHNiJ4redC8dXAuzS+uzNl/f7Vw0c64l00ARkXA5Q7isL VSHg== 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:cc:to :from:dkim-signature; bh=ysTm3sVa8NXK5p6adWouAn7jMZtjrRCTYZ5tPCHuc7A=; fh=+nirhdWwjf37I7y6I55Kr3EGOSidkOifemtOvznTsu8=; b=xSKDFV758JNGYOsWH7q5OCwKgxf/4Niu0WV6t/EeLnQ563Ap3goPP6emozXdXFP+Nf K5D+6cR8F0ZhxjwpmqMGMfhkvbWsWM99Hkkm7grwn+sh7PswUfHcGFPaoZ/9VVg9nqrd adyNYtsTMgADoIv59mZsYpMiTg2tin43v3Ysrth2yi9D+poyOVIoseNi31mmBtUhZjLE dWKQ2tb+nTMgtyR06tJJ8I/rEfXdaFKmnuTQAn5ty6+YJOetH6lpCRFT4Ph2VNm4HxJF Q0Wvq9rwYT+zncigcawihCrmazmiPSqpelYDHdwithiO/9n+ewwamVaCy7HBPXTvrANf 7s5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SK9E1JI1; 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 ay19-20020a05620a179300b00767f226bc82si5511913qkb.315.2023.11.06.03.33.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 03:33:12 -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=SK9E1JI1; 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 1qzxS2-0004Dl-9Q; Mon, 06 Nov 2023 06:07:26 -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 1qzxRr-0003Ej-OP for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:07:15 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzxRq-0004f0-24 for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:07:15 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4083740f92dso32048665e9.3 for ; Mon, 06 Nov 2023 03:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268832; x=1699873632; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ysTm3sVa8NXK5p6adWouAn7jMZtjrRCTYZ5tPCHuc7A=; b=SK9E1JI1dOxnqGGJCkijNACBPJw8IblqzpEN80ymUERXe5Ci4AtDUe/d88dvqF1cB3 gB/wHBvevbGtb72RFpdYZwhSknCvlB+sZe0V7FjnWzGEdRb6AdzxLEl9CM0Z2VPMcF4B 83oeBth1ED7cY1fYp0xW+HC81scKpHITX9NER3hwkesU6zFF76Pk7ct6UU/vCAUlZma8 XT3jV+US6IPi3n25077Pb7PShULxrJ2SXnjwtNL4wRM7cSmeOF6YbmJJNOEK7hCM+xQ6 9NbopSINGFcDUav1vUpOvCVM8aj9t18vsmYopmvnNkGUsZIMb0nwC3mTDhABfocCT8rO dgzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268832; x=1699873632; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ysTm3sVa8NXK5p6adWouAn7jMZtjrRCTYZ5tPCHuc7A=; b=ctnUrHC3lgehV8m9ZNe1dzEjzABe8aEkbitLDnRPwO/TmhFDk3aW7E+dlGZ+TAz07n OTbIfr1mO1piX2Z6Lg2nzghzenuBdn9zHpErJzCMiskmHarq4p4L+A8A6UexQ1zlitkF ryxIlvVguug6AUlfolz6nsbuKSfYNn5XpfBE/7PLmplszjfGBeFRkPO1LftEgyoOM3s0 l1NdjdeY0yvdkKLE7TnwjlzAjp+Uq8vW43gDTLgok4TE/VIBefqCsb0h3fzIa6R6jGVr UYhXiZnE91EtkEXtVoldF2W8WEYwxzpfb1XsoDqaCVzFGbZpkFOaG2wYLh5F03UcSBJ3 NRfA== X-Gm-Message-State: AOJu0Yxx5PgmBMtSRG0Q6gwBPX1fDxY46tSBA/Kki/XZrbQ9X9S57JCE Eyxdn0A10OBM/ySsYXw+X83KI6t6fUyWFto5i1s= X-Received: by 2002:a05:600c:4f55:b0:408:3707:b199 with SMTP id m21-20020a05600c4f5500b004083707b199mr21831254wmq.3.1699268832460; Mon, 06 Nov 2023 03:07:12 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id jg2-20020a05600ca00200b004065daba6casm11958500wmb.46.2023.11.06.03.07.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:07:12 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-stable@nongnu.org, Richard Henderson , Aurelien Jarno , Jiaxun Yang , Aleksandar Rikalo Subject: [PULL 31/60] target/mips: Fix TX79 LQ/SQ opcodes Date: Mon, 6 Nov 2023 12:03:03 +0100 Message-ID: <20231106110336.358-32-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 The base register address offset is *signed*. Cc: qemu-stable@nongnu.org Fixes: aaaa82a9f9 ("target/mips/tx79: Introduce LQ opcode (Load Quadword)") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20230914090447.12557-1-philmd@linaro.org> --- target/mips/tcg/tx79.decode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/tcg/tx79.decode b/target/mips/tcg/tx79.decode index 57d87a2076..578b8c54c0 100644 --- a/target/mips/tcg/tx79.decode +++ b/target/mips/tcg/tx79.decode @@ -24,7 +24,7 @@ @rs ...... rs:5 ..... .......... ...... &r sa=0 rt=0 rd=0 @rd ...... .......... rd:5 ..... ...... &r sa=0 rs=0 rt=0 -@ldst ...... base:5 rt:5 offset:16 &i +@ldst ...... base:5 rt:5 offset:s16 &i ###########################################################################