From nobody Fri Nov 1 07:31:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=sifive.com ARC-Seal: i=1; a=rsa-sha256; t=1708025457; cv=none; d=zohomail.com; s=zohoarc; b=cx4RffA5bxT8w9MS/jFOwObXg8FLggn+gfAClplE2P8BtY8J10u+nNpOGZo2S44QXhiwh5Jd60hwdVoe1W5d6lVlq67pDkoSmsj3MajE/55vGfYiD+Vzkcc0hQDRDlSjYu3DwHo6y5KYA7wajGtR0SM+w3+conLtIPfsCi9xxHQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708025457; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gEt4deq/UXy6XjJi0lNE/l34mZOHICza+3YtE+V4xPU=; b=P0v8zM6uXsTuRr3BB5mb7U8RkkjwZ2Xo38fIj2s/cQ3SPAppMWLCyEjCgw5ZeygohVX7ST/gI82ilAwuO3ysfsT8kz/UJdK6zgpegUSq1QpUVjaia0FQXYCxo9Bg5agNr683ovVA1iTjK/AK23oVY+QC0qCE4Dg5PLAvwORScvY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 170802545711418.69509449936993; Thu, 15 Feb 2024 11:30:57 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rahQ2-0001k0-GV; Thu, 15 Feb 2024 14:29:14 -0500 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 1rahQ0-0001ir-N7 for qemu-devel@nongnu.org; Thu, 15 Feb 2024 14:29:12 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rahPj-0004i7-GF for qemu-devel@nongnu.org; Thu, 15 Feb 2024 14:29:11 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1d7881b1843so11201095ad.3 for ; Thu, 15 Feb 2024 11:28:51 -0800 (PST) Received: from duncan.localdomain (114-35-142-126.hinet-ip.hinet.net. [114.35.142.126]) by smtp.gmail.com with ESMTPSA id u8-20020a170902a60800b001db5ee73fe9sm1618653plq.114.2024.02.15.11.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 11:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1708025329; x=1708630129; 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=gEt4deq/UXy6XjJi0lNE/l34mZOHICza+3YtE+V4xPU=; b=aLXYWJAH7BfLmCtSEjsfLQENezwx4n7JvzqGWJuc0o6ZUU03Yb3fYU2RWYziSbT1uL kwueU/j4N9mirvNqZ+BfjQ6tiKuma1DwHTzw4R5XC2bDvRsjj+VFXme5aUNdhmovB5j+ agyWb/Z/BjvkSw+q3p/Uc4d5KAtugPz6zPw7BdZsqJP6Njhx+ma+HbiAav8z+Pl1ruXM 4TWzxKqB614QgmcB616Js3X0Ir4JK+ncQtL/ekDn11Hu/GeAt3hfU9Z7TbFBjgfxy7Z5 QCq/3ZwnbBUDwLkrSdyePr7El0q2BaiUSiXAf/MLivlvXQS1ir4K9ZsMO2h8zH7atXUB uZKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708025329; x=1708630129; 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=gEt4deq/UXy6XjJi0lNE/l34mZOHICza+3YtE+V4xPU=; b=HFuleJygEI3SrbfSQ3/n0QVYOq1jgPRN64onxX7hkM1AwXFi80v2gixAukx1VrWR7A 1y14/cOm+L6tHDx3JMC18EPDUSBQ9La4sVQ2TyA8FGr1hpRLlILDfZsi6fqZxZysYSbn r2caXYzwdx+RkqbBtSvY2nHLLWkh5GhJSWkV7bGO76XFmrngw57ekLCOq3XiGNoMuTYA Jyjb2u33R2w7gFK8FU5CpYyhmKZF70afrRDKjm8PB1j/gpEuUQE8uV6z7ZuOFZYZz2lJ AA/VktFfq6MSkOob7G4hfYIzJraSfiH2bzHzb36saW4yAlZzQdHPdDUNA6JGIfzvwd3M /PbQ== X-Gm-Message-State: AOJu0YwZwc9TB5gGjbUgZ5sf+v1U9QKSuDQbWpoS6pbzu2gJ86FGaMR1 G7cFLLJQdFGHyC37AwkOSQAZn7OuyrrrxztdYzuhle9MubF24TnTqA/rPia9yMShWBkdPpj+K+6 F06Eh4SOOA8sM/5blEIXFtshraucPNtv7f2TVrfAoo+XoFH1iVzic1jAys0F/tPcoyIaJnI/rJZ GWp2mmiew7pRcNY2wJuK+0Y61PyV99KY5aepl/ieFU X-Google-Smtp-Source: AGHT+IGHAHX1Tw7jQlHnb04leAp3wxKMj30AYnshK4kIzS48wvnjbVhwfahXCANJ18i+CPSkRl/wkw== X-Received: by 2002:a17:903:24c:b0:1d4:cd4d:923b with SMTP id j12-20020a170903024c00b001d4cd4d923bmr3115439plh.54.1708025329019; Thu, 15 Feb 2024 11:28:49 -0800 (PST) From: Max Chou To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: dbarboza@ventanamicro.com, Max Chou , Riku Voipio , Richard Henderson , Paolo Bonzini Subject: [RFC PATCH 5/6] accel/tcg: Inline do_ld1_mmu function Date: Fri, 16 Feb 2024 03:28:16 +0800 Message-Id: <20240215192823.729209-6-max.chou@sifive.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240215192823.729209-1-max.chou@sifive.com> References: <20240215192823.729209-1-max.chou@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=max.chou@sifive.com; helo=mail-pl1-x62b.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, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @sifive.com) X-ZM-MESSAGEID: 1708025457859100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Max Chou --- accel/tcg/user-exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index c5453810eee..803c271df11 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -963,8 +963,9 @@ static inline QEMU_ALWAYS_INLINE void *cpu_mmu_lookup(C= PUState *cpu, =20 #include "ldst_atomicity.c.inc" =20 -static uint8_t do_ld1_mmu(CPUState *cpu, vaddr addr, MemOpIdx oi, - uintptr_t ra, MMUAccessType access_type) +static inline QEMU_ALWAYS_INLINE uint8_t do_ld1_mmu(CPUState *cpu, vaddr a= ddr, + MemOpIdx oi, uintptr_t= ra, + MMUAccessType access_t= ype) { void *haddr; uint8_t ret; --=20 2.34.1