From patchwork Wed May 15 07:52:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 796889 Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp2854094wra; Wed, 15 May 2024 00:55:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUZ7wnouEwv8ADziWosCDr/AKqIajt0DJsq895KtJlR6v3BudZp4ycoEz2PmeA/4cBVwo6sFGQD+7f3XYYKH65F X-Google-Smtp-Source: AGHT+IEazz0L3aER26Mlz72D7yFo0zAfAnn79ZVpy62Za18yVOSg7EM4AXqZp134BKZHh2pmIQ5N X-Received: by 2002:a05:622a:3d4:b0:43b:1472:166d with SMTP id d75a77b69052e-43dfdcd82camr147610131cf.51.1715759733401; Wed, 15 May 2024 00:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715759733; cv=none; d=google.com; s=arc-20160816; b=kErvQbOBsdsYkJC6l2VOWoqEA0ECibu8EM4xwHnCQyP1CNyGG4N66pcnCVgI0gtV07 LNOvhI4XzrqLtGrC+HA5dACWXp5OR7l0zBl3JKK92OxW9y47jRHYIRIBd811FKdO61B8 vndBoyacRa+0Np6fse1loqBJPQrczmio5QGwMm+K8LTWZeze9PZPBKNxIW5npAI9oq8k rSV9RNqBYSGh0vCX5Dhq1etIvbqjmVfxZeVghQ4cf1EoMaaih/fA/cP7/KnNvTCxWmUg jLrwfY0U7RD8g1PFni1Xs0KCWDB6wMuWEv14gZ7rDaO5/iiwkJ50uOcMrznEQMTLC9Mp jImw== 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=WSsZfxq/88RzELsWEja85iYyfeFnMRpyB3iR3ue9fiM=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=LbzzivtdLq+3C00VqidwJBsAOS149QYnUL+bqnrtW+LWArc6muxaPMzxgL1Gh0X1E5 1MyYjnMVxYeTHe6eVr1NtK5Cm0V31yKbkZq29C2iJjpjeE9IQ6dqSNkF00mwQMNtH/HZ kg46apzcO7qXk4niTgBOeAFZMrKD5ri0HCz1H/IqHFMRHiKumg6uU8lABPAclcmEaMm5 S23OFTXTmJUbFNgueqa6yd5Kjxbs5R1YzwNWcdLVuESoy+kMjBa9oAxdY4AJZJNvRGpt YS1/bWPL0HPgfBJA1xom5uVYlpu46gux6KAABPLwr45IQCSLD5Gr44PaMnEbZiD2c3yF a5aw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pdzSkBZ0; 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 d75a77b69052e-43df549f4b5si137010601cf.34.2024.05.15.00.55.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2024 00:55:33 -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=pdzSkBZ0; 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 1s79Rx-0004Yv-V1; Wed, 15 May 2024 03:53:21 -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 1s79Rv-0004Tz-HD for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:19 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s79Rq-0001gh-4H for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:18 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52232d0e5ceso5661761e87.0 for ; Wed, 15 May 2024 00:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715759592; x=1716364392; 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=WSsZfxq/88RzELsWEja85iYyfeFnMRpyB3iR3ue9fiM=; b=pdzSkBZ0LYzyBr54fTxhWlgPgVSONkjLEtue0kzXyQTDQ+jmVi/Bm90H/np88nldf/ MLZT/CFwWWXVYRneU0g7M+6KTlvqfXjl31LqZzrLl27eZVNkP1uvk+FyQAGYT850Zih/ ZlJS86RPlTFV8ly1IF42zgG0G5oH3nofbpJLeHM7ZRyC4OySGIsEGZnd/oFXRd8C8jbb aH6psb/u1boMknUtwOzbgA0zAlEPhPTqvBdDBueu3kyQlvzInYpC3rH7cU/r4ZkG0euj HadHhGu3MKdZmimi5Amd/I9e9KYOPGzcaA0xoCXOPIMaQw6ffNGp+0o5LCaHTXsI3aNT YIeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715759592; x=1716364392; 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=WSsZfxq/88RzELsWEja85iYyfeFnMRpyB3iR3ue9fiM=; b=CeK1JWlyrgN+qmjCoqrSW1CAVRe7s2uEoXaUIgkBW1+PwK3WopnsA+wFvMPwse/nrX sUumbyxAax/Rvnc/vf4ma519uNjMgq4eCUQeTplw1480U7Ipsv8bP5EGEbSGwOpsJwD9 olVX47bW2E387O3wMd98dZfKj+9ZljMHgY8TLlVlSCu0NZgyLQ1b1v6e7X3v5OVPz4M8 mMQg35WUaquTFuCTyGebF7iSptdFyO11LW3oPa+GYWNo2SSMRXOypiLLuQPJX5ccTZK2 2FVbJNBFVX4CzdW0AyEjP7sULYB9DFXwSpTjcEgg8hjJDNNtXR/Vl/NCJwpTxd5rPZWJ pH2w== X-Gm-Message-State: AOJu0YwGIh752tSONPcTSAAKXDnCfXrsmAp3+uI08mivSLRLSyrZ6CDn z0bnwo78H1wu+ITqw/m5sAue7OusLwd1htaGDEqZWv1blJjoHQM4gcIF3At6qCjYby0zF2p3OVB g9mw= X-Received: by 2002:a2e:bb8e:0:b0:2d8:df61:9c6c with SMTP id 38308e7fff4ca-2e51ff66898mr82080741fa.20.1715759592234; Wed, 15 May 2024 00:53:12 -0700 (PDT) Received: from stoup.. ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9292sm222611855e9.37.2024.05.15.00.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 00:53:12 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 33/34] accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code Date: Wed, 15 May 2024 09:52:46 +0200 Message-Id: <20240515075247.68024-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240515075247.68024-1-richard.henderson@linaro.org> References: <20240515075247.68024-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=richard.henderson@linaro.org; helo=mail-lf1-x129.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: 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: Philippe Mathieu-Daudé Previous commits replaced them by translator_ld* calls. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240405131532.40913-1-philmd@linaro.org> Signed-off-by: Richard Henderson --- include/exec/cpu_ldst.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h index 11ba3778ba..71009f84f5 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -355,16 +355,6 @@ uint32_t cpu_lduw_code(CPUArchState *env, abi_ptr addr); uint32_t cpu_ldl_code(CPUArchState *env, abi_ptr addr); uint64_t cpu_ldq_code(CPUArchState *env, abi_ptr addr); -static inline int cpu_ldsb_code(CPUArchState *env, abi_ptr addr) -{ - return (int8_t)cpu_ldub_code(env, addr); -} - -static inline int cpu_ldsw_code(CPUArchState *env, abi_ptr addr) -{ - return (int16_t)cpu_lduw_code(env, addr); -} - /** * tlb_vaddr_to_host: * @env: CPUArchState