From patchwork Wed Mar 20 00:32:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 781350 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp65435wrj; Tue, 19 Mar 2024 17:33:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV1SqqqsEwYraynPU2teDuBAgOPkE+92QebhdQbfEWwbYNZ9/RnkWpotLS5skRUpRWLAovpcnO/BL0BCfZv/DKk X-Google-Smtp-Source: AGHT+IGgayB9qGS4+RE3XNGtgyKDNF0I3Z5KDzIEXjawn9hNdKqU/wRYxdz5UgJ7ga6A3o1iS4aT X-Received: by 2002:a25:ba8c:0:b0:dcd:b034:b500 with SMTP id s12-20020a25ba8c000000b00dcdb034b500mr475560ybg.43.1710894823219; Tue, 19 Mar 2024 17:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710894823; cv=none; d=google.com; s=arc-20160816; b=qdLfu/q65QaP6mfg/N4ld4fIMumxJyRgTAOzAZ3MU2I2TOJWptA/6SIwfcyak7RyNE 7hNx03cC7BkM3vgCJag124+XUmtDu2WDSjQSVefm66I+n8qIxXtBnmf3E81jMfd/pCvy z8yo242Jzf/jsYEF0dCdZZ3ia9njQio7ULv5KnlZOQsor1duvVrHcs81I2mif7EtuCWD JTHc6eV5Q6jqGizNzFmmraZs6OTvyDLrwZxkROtwXNhlR2FJFVXoK2VlgiuByKnOtKC8 qVYlvPO2fr6LpZhRViga1hBdsWIq+KTNRGwe361mXpSY8VebDlCC6f8Y5XAYR5DSetkI kanw== 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=02J+igt5o8+h2PP+0HZoPaFUg0nUo/WrdtySb2LvSHk=; fh=VrHP4sfoKA8I1LkS7u+zyL5sfQ9auI1Z6YYiaQiPlIc=; b=dV4nuzpjeWqVxjOJZ0Vd8qqjo15nuMqzBeDy9qkMef3zN7QsbvI3qLZ9YJYkOpcAnD 68wD7hROTmBTgOtLQ5e9rv238kbiVp9vTn5xLgTWvd+SzIBmveangOPapbFiqtx4k2e0 31mYLYljCvYRWrdzznnqGr/7s4WFOSBu5H14z9PjmeHNR004cWERUdLgqJbtjZdLsvAk HImkDtZ9KGkaGfjEnSVsAM0Fyk66ymxTWWR3RP+KkO5JW2ycSoUcbqccSKjv5LkCATgX OO34JfewSPWxGHxJ+69vvIyZxXQEcFtosJUafBnVZYmKXdALy1uW7nZWQ4WpXgNH+5Cg CKKA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LRnPt6hT; 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 mf19-20020a0562145d9300b006961bba141csi5518887qvb.154.2024.03.19.17.33.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2024 17:33:43 -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=LRnPt6hT; 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 1rmjsi-00004q-1W; Tue, 19 Mar 2024 20:32:36 -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 1rmjsg-0008W0-KR for qemu-devel@nongnu.org; Tue, 19 Mar 2024 20:32:34 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmjsf-0005XB-4w for qemu-devel@nongnu.org; Tue, 19 Mar 2024 20:32:34 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6e6afb754fcso5876874b3a.3 for ; Tue, 19 Mar 2024 17:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710894752; x=1711499552; 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=02J+igt5o8+h2PP+0HZoPaFUg0nUo/WrdtySb2LvSHk=; b=LRnPt6hTKt80yKhLCvjqc+4OtR5kdLoQuDm6MS972S6dXNUrHkWuJ+9jCm0MN+DBA8 QxIKiCVJtgNdwcxc5y4FRRt6OXKE0AxTXWr4dGM9QsNOucbEd2LPTORB445qYCxQCtDS +8756Hjoq6PALeW2QIazwF78PFuwmoWAcFoIVHrO1y2zx3NNhgsonjP6sgSjiLHybdOZ h87TFXZSpsnFORkXj1xdb4q1FjqqKf1CIph17CQlG2rU7HQhmVC6U/IK8mYxFtZul9bv ONTlQzkmLjuV7RTIF91XPoVszZBXqEmcRB1dGHVtB/hcmOQzxY3q2z0dEkf4n9Dzbdj5 yqZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710894752; x=1711499552; 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=02J+igt5o8+h2PP+0HZoPaFUg0nUo/WrdtySb2LvSHk=; b=ZyLy2//Nwx5v4Td0/56/VwhvBu68GsWDMvn/6YPHwAuVwWG64iBuCGRKiT7pKELpXm 9e1orsdpWoCpFe9jX6Tpsyw4MiQx5sSBoUOiuBxoqISsNzPnKNylSErV8yJoP4ZBDiHu IfJ2xpUViDPvQrtI0J2tp3KY7oH8Q+zmELxklJ3pea71VNIW6lS2voXsVpcpAHeIAT3U HjRXJ693QpxUukvKBS7b3Cmy7/ay/pXfeHGv8/FD6xz2AZr0JhSHH7sE6pV31pCFQmwY RVlaaSEhr914p9Vn4/P0Mx4cSGZ424FJznCqcvJWPVXw3BCRaTK3JVR/2xk3txntSCLJ /eVQ== X-Gm-Message-State: AOJu0YwsEu+bLweks/d+P8kWsPTUcGBX6aw2hQCc1kQjk5ZfFD2cr5GJ +MLHE1v6vV0nA2DW83wKuqihC/c6GecRfw/JcolU+hvNeoxcZ7Y9igf53vkkQiLKdoOB1Uc2rZn G X-Received: by 2002:a05:6a00:4648:b0:6e6:5343:c165 with SMTP id kp8-20020a056a00464800b006e65343c165mr723033pfb.16.1710894751641; Tue, 19 Mar 2024 17:32:31 -0700 (PDT) Received: from stoup.. (173-197-098-125.biz.spectrum.com. [173.197.98.125]) by smtp.gmail.com with ESMTPSA id d19-20020a63d653000000b005d553239b16sm8475645pgj.20.2024.03.19.17.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 17:32:31 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Sven Schnelle Subject: [PULL 4/9] target/hppa: ldcw,s uses static shift of 3 Date: Tue, 19 Mar 2024 14:32:18 -1000 Message-Id: <20240320003223.554145-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240320003223.554145-1-richard.henderson@linaro.org> References: <20240320003223.554145-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.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=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 From: Sven Schnelle Fixes: 96d6407f363 ("target-hppa: Implement loads and stores") Signed-off-by: Sven Schnelle Reviewed-by: Richard Henderson Message-Id: <20240319161921.487080-2-svens@stackframe.org> Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index be0b0494d0..47c6db78c7 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -3135,7 +3135,7 @@ static bool trans_ldc(DisasContext *ctx, arg_ldst *a) dest = dest_gpr(ctx, a->t); } - form_gva(ctx, &addr, &ofs, a->b, a->x, a->scale ? a->size : 0, + form_gva(ctx, &addr, &ofs, a->b, a->x, a->scale ? 3 : 0, a->disp, a->sp, a->m, MMU_DISABLED(ctx)); /*