From patchwork Fri Apr 5 13:15:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 786248 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1101:b0:343:f27d:c44e with SMTP id z1csp166092wrw; Fri, 5 Apr 2024 06:16:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXlhtCp/D94KSnr1Kr6zDWmoLYI/aSW/9/nlKdtn64qhrKBcuDK2cQACOr5cJFPuFiyuXlyyEjscG397RD0ptQ2 X-Google-Smtp-Source: AGHT+IFwAiHcY9TeFy5cokrRJr3h6a0nUxM4poANyb43x4ByEmqK1RihT+IQ+upWeJDdz8175tUG X-Received: by 2002:a05:6102:3ed4:b0:479:d870:5044 with SMTP id n20-20020a0561023ed400b00479d8705044mr1576237vsv.33.1712323005569; Fri, 05 Apr 2024 06:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712323005; cv=none; d=google.com; s=arc-20160816; b=oK+f/5pAUnkz1IZ6tk4lhQZpyIC6gAUnOmKogpPc0hEwMzRcw0qasjmVBRsQfZe/Dn XdPNTfg5YNEFjPUKOXNnis7PSA+32kPXxlVAma8gWOfjp1MAniy4sYEm60WpHD4LOTVY 2Jx6VwnZ+xOgDrA2Cd2B1BjmJNWuJCASOeVmU4+1qzSPbYDXgJzuSYTJJvk4aV/FP/eD e1q7OFto0egJUO9rcpnpQ6ppqaHfZ94Nq1+1H3PszThaBD4zqB5U9CYWXmZIjUoJxzhj aaPmD4qKQ257XmpY5NGwC5iexYAxO3LMolAzuesubaQq14RKvNwFao38uMAWcSjiImzD DB6g== 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=bLZl1S54/NJ9uhO86NDCoHEEi7QSVMnYkwt0v60ii9E=; fh=5gGtEWbs/bc4ZS50ZuMZZ2I/Jn5oaYqe3uWxuR8fBxU=; b=LEr/Ob+dxv8r7eaSxr6xuNw+djZyAi+mjLnBE9uV8kqKqW0RuUXJ1AWl8S8N9Ynqwl 4f5jfcfByPzhNGh5tLvUs0xbgV5gME084Caaxyp5YfLqucoMjgectos0pAfVJgj1Vky3 Shd72AM5QnRFlLnuKYqFgYvMRFhB7xYOB/Wtyj8AZqiHGtTkUOazZeMFK+uTdm3g5Zl/ EJyXpFfV3BJG/CFNWE5Lh1h73Ztab/0uZx+lDQzsVkcNwPrU+a3QisqGLq7ZGZr3V4/g SaAyvB4m5VlBRKYt4QhQbe0btHRQotGlI2hjfEdH7urH/cOVzkAKwDjRur8UYaBHQZB0 OtLg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cQnRZuYE; 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 k28-20020a056102005c00b00479dcf64e2asi124766vsp.178.2024.04.05.06.16.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2024 06:16:45 -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=cQnRZuYE; 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 1rsjQB-0007yh-Hf; Fri, 05 Apr 2024 09:15:55 -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 1rsjPv-0007vI-3U for qemu-devel@nongnu.org; Fri, 05 Apr 2024 09:15:53 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsjPt-0002vb-8n for qemu-devel@nongnu.org; Fri, 05 Apr 2024 09:15:38 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-56bf63af770so1245902a12.3 for ; Fri, 05 Apr 2024 06:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712322935; x=1712927735; 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=bLZl1S54/NJ9uhO86NDCoHEEi7QSVMnYkwt0v60ii9E=; b=cQnRZuYEh40sq4+LcIkZrecqgIn+nP7974ZO7szzHSkEUHKhLM3sxzAB726LIDKRfu AIx+rSROL1XYB63NcAfntJy0G1iq3oYUMBZrHwtRUERKDHd0VR4HmGaia29C0F8ih3Tq 6j8wRUN8EF3BCvyuVZMzCJYvr/quXCfDeoFNR8CuEKWH4NFABaIkVtTAwGqIbfRIkEbH CipUDgsLhi72gRp5Pf3iwTvwwGgbEUevEzL79roXYgQukYSKFiGWMh5Lfk3i4yOHWo7L OACDDMRxZ+xtSheOvXHYR77Es6Ymam0uKPVbB6rBfnZvE5B9o9EH/kWX0aXZaotgOgmc g5OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712322935; x=1712927735; 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=bLZl1S54/NJ9uhO86NDCoHEEi7QSVMnYkwt0v60ii9E=; b=DodonAZaGzAJP4OLBccOLcSHPCUnCLve6z9JG87gm5K9vPU1QwxiE5YuCwl0xU4M+s 0ksCMzoa1vXCBG6LAF/yj33gHIh+LYtvugb28eqnoEdJIcxzsHAF+xLsEn5q4IDEz1xO RtCnekaDn9p2hzFPACNC7esRfmItSEYTOJueF7/ufSdJdmWhZQSGEOUPHEqeGHl2vI3q lVUYhSIQzjpgeq9mM9Y5jqqlk/nf+M04o1vwJkwjigi/FOKVW1b4v+A+2wukj4LXxYZz ngaxJSV6lOLGARbytwjOjSc7MROlr3b2KO1YJi4T2SeBBDC7TscO3k3zlfTAf0VMyeuO ARFQ== X-Gm-Message-State: AOJu0Yyis2HVEkm4VliPJPKR9674eo5fRijh+oEF4xh+kfjk93Ky1y9D FJ/imKp6L1ujLDmByLLlfMuv6NHaVLgo1FbV7z+cHcKb7QfmSE5AVQmqVWhaGJ/35r8xYwXhTIs U X-Received: by 2002:a50:d653:0:b0:56e:2d93:3f7f with SMTP id c19-20020a50d653000000b0056e2d933f7fmr1513747edj.39.1712322935075; Fri, 05 Apr 2024 06:15:35 -0700 (PDT) Received: from m1x-phil.lan ([176.187.216.34]) by smtp.gmail.com with ESMTPSA id b9-20020aa7cd09000000b0056c0d96e099sm762718edw.89.2024.04.05.06.15.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 05 Apr 2024 06:15:34 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 33/32] accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code Date: Fri, 5 Apr 2024 15:15:32 +0200 Message-ID: <20240405131532.40913-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240405102459.462551-1-richard.henderson@linaro.org> References: <20240405102459.462551-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=philmd@linaro.org; helo=mail-ed1-x52d.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 Previous commits replaced them by translator_ld* calls. Signed-off-by: Philippe Mathieu-Daudé --- 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 eb8f3f0595..85ca104dc9 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -438,16 +438,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