Message ID | 20240513074717.130949-34-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp1884717wra; Mon, 13 May 2024 00:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV5DCLbjMYMjcln7ab/jy6moJGoHFak1ELo2opJc857W44htuUhiaV6GJWsrn01vt+dMKM8mLCYAECf2PD/lcC3 X-Google-Smtp-Source: AGHT+IF8xI+LwwOCdBBGUcD9tnQXI0KwfmGz7mMbLNak0PGen3QqXocPty2Mcqk5AP1DeL7tC9pd X-Received: by 2002:a05:620a:269a:b0:792:a77f:fe71 with SMTP id af79cd13be357-792c757440amr1291949085a.2.1715586868271; Mon, 13 May 2024 00:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715586868; cv=none; d=google.com; s=arc-20160816; b=svyB9GUSqB0Ojvh01LUEgalvPSG4y2SmctLPtlj5umlBj2NdaQ/tFQA4KLpb6uv1/P 1jolyrzApwWQBwF8VGSIlEW/OUANRky+wXx5xe18tkdGzskk8KCtMlmxyVfakot48uxs Wnza9TYYQUxVx+h5H+F7ssGK5yPeXvnHZhddl7zFHQKZJVLuyasQQa8PqU2eci3dXbbe entmJCRNRZZd6M4PSkZBbxRrnEp009ugKPEgVRS6hdiJrttyKCanMSZLZtL4yhDg1vXs fjahEICn5aT1wjPHsXU6oK6mEBr/3fNDDHZB6TBcwG8tyifUr5P+lemx6cpZWWR7UFdJ Mslg== 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=lYICVLRWbF85s9jaYUNXAJVer+rQQT46dzOe8LbGwwQ=; fh=f2WZoDMBYjCKWIIOoPI+rQtxlv4fmOm4u+dLdQLqpOk=; b=oFYlaflokN+uThxaklCFeBrbg2mS6oOjyZBUU/1diYCFZB2L9JqNtSG3UxuO8P+S1c hTHnOj6AqhYDKJ72G2PfAYgkTUgARbneG3jXhRw1C8BwdHvQ8uuGerrhLiVdPG8yGLGd w+vbgpU1mGEyoMTCMfo1CocTPGxs+uHJFeR4NDHtkWrBbU+sYNvW7NzJTIsfIpnfig4v cChTMwRE4JooSppmdUdfGWZqh9SfpVrfUjlCK4XBo5JTprlcDaQv6skL74RVNNzjQRTY X4RCfYebUG30vUfoKFdtpdzQmNJS/0D7F4YOvbtkk+DnzGnPJpBaIttjObBljXp+SOzI oRww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uR+vzGJK; 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 af79cd13be357-792bf30a3f1si887361185a.351.2024.05.13.00.54.28 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 May 2024 00:54:28 -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=uR+vzGJK; 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 <qemu-devel-bounces@nongnu.org>) id 1s6QRA-0006C9-0Y; Mon, 13 May 2024 03:49:32 -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 <richard.henderson@linaro.org>) id 1s6QPW-0002yd-K1 for qemu-devel@nongnu.org; Mon, 13 May 2024 03:47:50 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) 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 1s6QPQ-0001Pz-Os for qemu-devel@nongnu.org; Mon, 13 May 2024 03:47:50 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-42011507a4eso9205025e9.0 for <qemu-devel@nongnu.org>; Mon, 13 May 2024 00:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715586463; x=1716191263; 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=lYICVLRWbF85s9jaYUNXAJVer+rQQT46dzOe8LbGwwQ=; b=uR+vzGJKkk5+PNN4DkB2wGLJnaSzWzgDgaAzr52QGzF4VjFGOVra2jJqPI9THXxbOU BdAUPzrT8j9WcOmOdSpdSG7t9CXgqM/84QTlLLWmeIV8DNOl4PrAyxNhvH1nj4oRwBHM XaNEB+KSfcmndMyyI2qn3DP9ZGRdM1ekTYDVT1xfIAbqrbfF1jHyyP4HYlDhpo3sskuF btfySwtBVTrGQgPIT0oTOJ07W1R+ZrQaSQzc5Tqxg/d5NVyKCR1jsioZt7SGsgzc+Ujo 0ogFhtG5kd2uPJnwY+7fF0XfaogGLmyh0MvQewMxlakgG+P2I4a3dGNHkF7VnS19y3fL KsCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715586463; x=1716191263; 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=lYICVLRWbF85s9jaYUNXAJVer+rQQT46dzOe8LbGwwQ=; b=gNIpWghDbOxr/bwCDv+jZLujzLHUoCpCOXbZ42f3qzycigt6we1zFLchZTQsHi9Hzs eCSmLIPDoXUwLCjlo4YnnIyEYKqnVzqq8MhPWWgXmMIlLbqSJsEpzyj+MW1v0Jj1d1KK v+8gADfIbo5Se+t8De6XeVBFLS4qmj7Vm/HOs63opac9PiQxJGYrieuwVdvHuKJff9E9 qML6CiZ1rO4/F41LfToMmGWA6FTZJMVfrvs7a+QLygBKRIe/s844lEbmZXdI4oHmB8CA Hyi8X5FN6tzk1K1RpGpRUxvIfPzUX8qwdLXDclAlm02u/pfD55NFDrjLWCFjGmDs+IRL Oobg== X-Gm-Message-State: AOJu0YzjsaktF1+aYCXalFc5J7Ht3EdvGDdvY+fDkl4g6ICx2D8Kl86K bKtreB89tY8P4hLnsfm29uoNAco2LUDoKlW3lxK6alUJ4bF8/fQc1yWvECnPtFSzMCPD4noplYD a4eA= X-Received: by 2002:a05:600c:4f04:b0:420:139e:9eda with SMTP id 5b1f17b1804b1-420139ea0c7mr24276865e9.12.1715586462861; Mon, 13 May 2024 00:47:42 -0700 (PDT) Received: from stoup.. (12.red-213-97-13.staticip.rima-tde.net. [213.97.13.12]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9318sm148204765e9.30.2024.05.13.00.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 00:47:42 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH v2 33/45] target/hppa: Do not mask in copy_iaoq_entry Date: Mon, 13 May 2024 09:47:05 +0200 Message-Id: <20240513074717.130949-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240513074717.130949-1-richard.henderson@linaro.org> References: <20240513074717.130949-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x329.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: <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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
target/hppa: Misc improvements
|
expand
|
* Richard Henderson <richard.henderson@linaro.org>: > As with loads and stores, code offsets are kept intact until the > full gva is formed. In qemu, this is in cpu_get_tb_cpu_state. > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Helge Deller <deller@gmx.de>
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 67197e98b3..abb21b05c8 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -637,15 +637,10 @@ static DisasIAQE iaqe_next_absv(DisasContext *ctx, TCGv_i64 var) static void copy_iaoq_entry(DisasContext *ctx, TCGv_i64 dest, const DisasIAQE *src) { - uint64_t mask = gva_offset_mask(ctx->tb_flags); - if (src->base == NULL) { - tcg_gen_movi_i64(dest, (ctx->iaoq_first + src->disp) & mask); - } else if (src->disp == 0) { - tcg_gen_andi_i64(dest, src->base, mask); + tcg_gen_movi_i64(dest, ctx->iaoq_first + src->disp); } else { tcg_gen_addi_i64(dest, src->base, src->disp); - tcg_gen_andi_i64(dest, dest, mask); } }
As with loads and stores, code offsets are kept intact until the full gva is formed. In qemu, this is in cpu_get_tb_cpu_state. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/hppa/translate.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)