From patchwork Fri Aug 16 07:23:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 819725 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c8:0:b0:367:895a:4699 with SMTP id m8csp161791wrb; Fri, 16 Aug 2024 00:23:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXZr2mEf1Rj4aPKtNruM9YD2nDq9A3om2KFzOQ9B1yAM4E1cmtGNFjkJ9+oNibgN1o201GRnG2tvJjKNE5blv3H X-Google-Smtp-Source: AGHT+IFfD2FJxMIsix106cFmApTY28VHhL7mFkAQCZO6jPZ5SjmPjm55iys0AUbfcxrqbZ9CdsOY X-Received: by 2002:a05:622a:230a:b0:453:5797:3658 with SMTP id d75a77b69052e-4537436442dmr22372321cf.46.1723793032168; Fri, 16 Aug 2024 00:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723793032; cv=none; d=google.com; s=arc-20160816; b=ZSg4IVhfrYGw/Q5BceBMYFVp9LMgrPnqTha8OaGudzJGYQwS5yxVz3F7hJgX/bW1z8 +gE/fIzExh2NpkpdBVhsXNGABdWIj9OBr4VhZnjb6vB28VlQ+Pha+JIB3TLQVrPfyDep hlo/F14FG7KA4yQWUxHa4FoFtc6PAkiHK5sP7tplceYU2Jm5TEJA8BhjefC8M/v+lQhY bHF1sQQe1+/R9Bja9kWcEx32mb96wVIBDStYOYq/RjoKs2uf+Sr5EzoRGOLb/aHWJtWa fBURpB+ajoCAfqo1Za2PENCASULLRdCBrMZ7KOucEAu0qqlt3aRS2MvrhzOdbpQS+L0o 0r1Q== 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=3m/SRRubX++Qz/UwX8F/bni9rPp5FWQysduj2u1aeQc=; fh=wT43vHgsoAZwbylO3+xgp6Zha4MOUoqw2bnEL/hAfaY=; b=dtoYpcmmvakF9hyF+uGo66wKuTt4WmWgWGxu+Pmw7BD6xaqIe2LeFS+4HrQz/d2v5k AOeg01zzvLGO8vqCO4g11lyZn/lWSikYMa5FzaPfj4l0CgI/JYvtRYAsg42KS8Y70Ypo Fg2ZYJHqib5+54chwv9t3XxM8lf3c4xzibx3rKOjXS/lX9OyIRo6WDZkOrrQmfN0Z7vd dVIXDSGlrjeUAjadfXYdvo81E5jlFYF60HfnTptZSRyKPwCr+zVKedbN8xPS38sjrExA +4IWoqslY9kd25kFs8RLGwZuTH0DeMo1WcF3EXPp3Gc/XWihoAEqvVgj7ZC9nlk138BA Wzaw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GnUZL+5i; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-45369fe6ef1si38925321cf.41.2024.08.16.00.23.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2024 00:23:52 -0700 (PDT) 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=GnUZL+5i; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1serJ4-0007CC-SX; Fri, 16 Aug 2024 03:23:30 -0400 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 1serJ2-00072y-I6 for qemu-devel@nongnu.org; Fri, 16 Aug 2024 03:23:28 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1serIx-00041X-Nj for qemu-devel@nongnu.org; Fri, 16 Aug 2024 03:23:28 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70d18d4b94cso1381926b3a.2 for ; Fri, 16 Aug 2024 00:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723793000; x=1724397800; 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=3m/SRRubX++Qz/UwX8F/bni9rPp5FWQysduj2u1aeQc=; b=GnUZL+5iMDYGmIW3Aen2e3fqKANyf1NKssKjRBJ6x8CpBS26EGyncLxzZdyfyevJbF u4wQTK2onBL7SgZ9Ruu1ixrSfLzwKkFV/Y+A2Y8o0Nd7zleVNvxuc+qz2aD6EsqVgAto cPdo0yUEetj/hr3jKuOHz2s+fJQapOFus1syu/AhQCpCEIiAm0dXipLF3zO8KtgwUu+x +ZqEsdaz7l82cIB3BNP4v4XdP4h8G8qLXCnBGUTxP4rBslcAaPgbQSUx5wfOqVVkurJ0 TDJqtQa1BgLJPU0U4UiMkxRiuq34rL3P4PQ/BnwqKbVHJj4ZjYbFa8doaqtypTktKaPm ccDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723793000; x=1724397800; 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=3m/SRRubX++Qz/UwX8F/bni9rPp5FWQysduj2u1aeQc=; b=X21rFg3TCztwVi4++63kQ9aRlOZxZsjRSEwddGh1O2PamHU2gEWCoay5lmR4w/7btf XOg88v8DFV2kLRgstMXW6I9ZU4F/Y0aith739jL2MfEBfyicOdM2HPeA+5BLp5ous1rJ zFl7l/DJS/lOZaoNdSRTpk9JHuiORfOfs6a+j1M8lb+ImSmR4VJOOczfZ9gFgYc5yZBx CtFunnzy5KBTlAxKJLOq6ylDfYqtHnAOUKcaMVD/1DNjwV2qHmyqmuZ+YSXdjRipkLKj /9vRmM0YhXcEMzk6g/XTjdBOSXRSD1y5xX3O+5mWyRLFQyZTa64HH24BZ9YF0OP88GtF TbuA== X-Gm-Message-State: AOJu0YxfxrCORdskC+GRxYArR82w3T88/dr1PAeTsr9xTdGbbb79pw8U wNboiIJ08LuLILhQZuvbFLomNUBLhm2j2UPn4mKsDDr4rq95xT6IvXvBm47WiVA/PQzvq2zFl3E /Dk0= X-Received: by 2002:a05:6a20:9d8e:b0:1c8:bfa8:d55a with SMTP id adf61e73a8af0-1c904faa94amr2686523637.21.1723793000113; Fri, 16 Aug 2024 00:23:20 -0700 (PDT) Received: from stoup.. (2403-580a-f89b-0-1b6b-8c7b-90f9-144f.ip6.aussiebb.net. [2403:580a:f89b:0:1b6b:8c7b:90f9:144f]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f037588esm20195525ad.171.2024.08.16.00.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 00:23:19 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: chauser@pullman.com, qemu-stable@nongnu.org Subject: [PATCH v3 1/6] target/sparc: Restrict STQF to sparcv9 Date: Fri, 16 Aug 2024 17:23:06 +1000 Message-ID: <20240816072311.353234-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240816072311.353234-1-richard.henderson@linaro.org> References: <20240816072311.353234-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=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=no 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 Prior to sparcv9, the same encoding was STDFQ. Cc: qemu-stable@nongnu.org Fixes: 06c060d9e5b ("target/sparc: Move simple fp load/store to decodetree") Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- target/sparc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/sparc/translate.c b/target/sparc/translate.c index 113639083b..c803e8d1ba 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -4521,7 +4521,7 @@ static bool do_st_fpr(DisasContext *dc, arg_r_r_ri_asi *a, MemOp sz) TRANS(STF, ALL, do_st_fpr, a, MO_32) TRANS(STDF, ALL, do_st_fpr, a, MO_64) -TRANS(STQF, ALL, do_st_fpr, a, MO_128) +TRANS(STQF, 64, do_st_fpr, a, MO_128) TRANS(STFA, 64, do_st_fpr, a, MO_32) TRANS(STDFA, 64, do_st_fpr, a, MO_64)