Message ID | 20240515094043.82850-16-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 0bb0202962a5f77d1e4cac4533628bb7a566de54 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp2892179wra; Wed, 15 May 2024 02:48:23 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUZyxwnb5h9lSE5xiV9cW5zGcb3wLHSwOPQJ4owWukTie6A+4aZiRQ1LQSyMmd5BaR4jLvKp2gzvLV2OU9IkkFL X-Google-Smtp-Source: AGHT+IFa/w/ago62ikEhqKHyXIsCFCR8yF+tbVflcYxPsdWVxtBAuIpM/T7QRTXlDGwWeVCZnzSI X-Received: by 2002:a05:620a:4607:b0:790:bf3e:2060 with SMTP id af79cd13be357-792c75f3d78mr1981794585a.55.1715766503483; Wed, 15 May 2024 02:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715766503; cv=none; d=google.com; s=arc-20160816; b=ldZ+U8V+mrl0RFTCfPQL/QvFeiAny/0gDhY1M7WvdSdmO4RmRVUJX2QIW2BHnhEKoK BAFVJI56WpvxyDM+7GCsKfGPI7ZVqps6GuQWYGVWffubmR2L1LccoSrGWtFgv/HuPQUF i1xqSF7WEfhgJpyL/wC05DdwnpkuW141uLZxzBoIhufnBDxC6PxXCBF/zrV56JMSymCE QlmFJW6DiLSPfnMHQU6f0R5JsL3eaOH/p96MxHWPqw23USSWjHGH3hI/odgnla2wkRrZ 94gvVq6cwAfLk53qgAT1vsbwD6Mivc2Ft6hv4SUYWiK/Ojaf/Je03b8bb/nJ7S9DcLl+ 0pJw== 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=z4GBMu+2JbKHMzkDTMBgGA9NT+eMucGJRk+rUVBr+sY=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=iLfLdkGHZDu1L1cgepLZeiDPZsYiFWU4F2lSplahdLG8gheybvlcDfT/TRrvBwWGqG weo6nUddJy6rF03ZpAAkiIsZ8Fb3otd6wCbB+DCdyS/29tCJrd4vDjPD/k/PCLmbJMrA Kn9MQvBWyt7RcQQdPDFPKU9DYVLAssrh9Tir7a8F+sxXtIHqiPBwmbq6fJ/3WvkQ4KfA y96gx7NgLgpkIVh5I7aylbwIIApiNxmgi/Vk8owUqRJX7r8ShbCogGIdjdHc8cc3UCK/ OsnO0ox4eaaOMdsRrs2xIgjoXXV4yMUO4sOZCOl0JvhFtWL0Hh9MWOguoDg+5/tJwSKo 6hDw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Iu5/i9PK"; 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-792bf38f0c5si1287733585a.786.2024.05.15.02.48.23 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2024 02:48:23 -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="Iu5/i9PK"; 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 1s7B8O-0006vy-8b; Wed, 15 May 2024 05:41:16 -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 1s7B87-0005pX-Hp for qemu-devel@nongnu.org; Wed, 15 May 2024 05:41:03 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) 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 1s7B85-0001eF-TZ for qemu-devel@nongnu.org; Wed, 15 May 2024 05:40:59 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-34e040ed031so5113912f8f.0 for <qemu-devel@nongnu.org>; Wed, 15 May 2024 02:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715766056; x=1716370856; 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=z4GBMu+2JbKHMzkDTMBgGA9NT+eMucGJRk+rUVBr+sY=; b=Iu5/i9PKG5KPVfJLnTdE/7FZifky9dJc2vVxvxPqr/kWRzr3Xy1RCvLxMeqfTwCPs+ UDOf3eYnpjomY2Ht2rb1qdDtQrCBWp9T6ScMshTVAM0RdyHbZw1NmaJaHfW7QQpPhg+j yz7Og3oYTVIvxyKlyUZb8gZmuQtuRTYsK3/pUiMELyUUid8IK3ViT4lhcGs7RLfujBL9 gAXaPcsaOxZaMuHxi//hufOJu3L/o6yhFJi9gd5ZDVwZOgGPtV4BXkSBbXjy2Dw+REJD hxfsyqVd9TaL/u9PiV6FKXk/tq1kWPym4BgeWw75Xewhnlvd2XVhfP8cw4bVSdrhmzn/ Tsow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715766056; x=1716370856; 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=z4GBMu+2JbKHMzkDTMBgGA9NT+eMucGJRk+rUVBr+sY=; b=Fv6EIqGCbybGZjnCF+LB4lA/inv2llTD8xm1/tQNrZB245PIBKVPUKCFe1DweRh0Jj IrrpMYE885BWtDmX0oA/SUXNQYSvEV1I2SLJGcV/usmawrRoBSmwy9q9RrwGRcA7zPFU dNUa1+dCIC1mjIePdSSa3HXXEQ1JBbBBZdmuDZd5j1YohLXCwo0JHxajWZMW3i1rlvKy 8Y3mqgQwoT+rl+Yf20whajrwhIuqsKS1qBRM0v6z0PrVaLkOxgQ5cNgSPIuZM+yG42te WaT4ZRGcObvF0zNQy13Llf344Uq6nA3CBTl+JAu8Bi7cshby2S+ugOqHoP9Y3u/XabCO wtqg== X-Gm-Message-State: AOJu0YwQvW33McGY3Fr8O2CN+jkkqM2kzdtOs7MzrgN79mUT9boFFPEh gIOkAnMjTR8MpLnIvQgr3DKchQk7+YW5vEs6ysbGoVT3/uWj3aw9BwbugTStGc7gJqgYVnkKXJD j1+E= X-Received: by 2002:a5d:43cd:0:b0:343:4727:d11e with SMTP id ffacd0b85a97d-3504a96a310mr10718092f8f.47.1715766056314; Wed, 15 May 2024 02:40:56 -0700 (PDT) Received: from stoup.. ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502bbbbefdsm15897058f8f.94.2024.05.15.02.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 02:40:56 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 15/43] target/hppa: Use umax in do_ibranch_priv Date: Wed, 15 May 2024 11:40:15 +0200 Message-Id: <20240515094043.82850-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240515094043.82850-1-richard.henderson@linaro.org> References: <20240515094043.82850-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x42a.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 |
[PULL,01/43] target/hppa: Move cpu_get_tb_cpu_state out of line
|
expand
|
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 1758c6e1d4..e9ba792065 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -1982,7 +1982,7 @@ static TCGv_i64 do_ibranch_priv(DisasContext *ctx, TCGv_i64 offset) dest = tcg_temp_new_i64(); tcg_gen_andi_i64(dest, offset, -4); tcg_gen_ori_i64(dest, dest, ctx->privilege); - tcg_gen_movcond_i64(TCG_COND_GTU, dest, dest, offset, dest, offset); + tcg_gen_umax_i64(dest, dest, offset); break; } return dest;