From patchwork Tue May 2 13:57:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 678404 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp522623wrs; Tue, 2 May 2023 06:58:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44acbuWmF+6xUmFFSJSwh1eTnFjTKC9FQEG2wbqPxebBEJrKB52FDgMN1XQUnbqCfq2Rew X-Received: by 2002:a05:622a:4d3:b0:3e9:aa91:3627 with SMTP id q19-20020a05622a04d300b003e9aa913627mr27001175qtx.65.1683035919640; Tue, 02 May 2023 06:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683035919; cv=none; d=google.com; s=arc-20160816; b=daBVmL/SsCjVol7ywcCNJY6X6tBC0e+WlsV4yX1tDvAAY8I54fgoZYSYutS0JKXbAJ AxAtdcft39808cDPvER/Pi3gXc6/lbzwX11IYHRlh3Qrn+PVyokJs/o74k12fFYjFX6z HbxpuTjL8DM/JXvjEFIbVaHURlERV/kknaL4ZXWE1/X7RL3n+qNQEoVsfG3ejfSOeOaJ AVOm9O2HooM817eDpCj4rWkSbqkC9viF1lEllOZ9h3tkw2V/NN1gV8F2RmkIISmuLL1V WGvtdIbxJHmYTE0ZvkbW+ukpjOKGRhZ+ynP6biWteX8qcyXS3vh1HW1QlpOM+9dmtUkr sx/g== 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=w5qDudjhJlVT0hk2wNePP4bjtHx1eZvXfot3fVid5DY=; b=VwSCTmBwJbJn7h7iwgdiLbKRuwuRlll+hoOKN5cbWUj5m6XmdCKmRtH551fvqq//dv o/BKnOmie1a+x6vlq/bqYTRM0eeoVGDeejMr4FB3HRpUjEtUTLbwSbXz/1lI2xc2qLLw 4T0kHk38z3znrujig3DpTrLukI1XkEyCvN9ZbgPOY0TrT83qTwosO0KaXtHlCk3+Oy2e FJohvi/bRdS/DbLwt0rfluGdp7wHlTSmU0dxdmpsPvaNq4Ig+zO9CmS8ps2A0FtcOQax VAA5ml2mvxP3AyDryfvrgWM06lPdt/upKTJaW4zBNxPNCucl8zVuN36WVY/DE4qKlVaG TwfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YCAyMM6a; 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=fail (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 bl35-20020a05620a1aa300b0074a28c33df9si18485609qkb.618.2023.05.02.06.58.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 May 2023 06:58:39 -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=fail header.i=@linaro.org header.s=google header.b=YCAyMM6a; 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=fail (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 1ptqW0-0001D6-HS; Tue, 02 May 2023 09:58:00 -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 1ptqVt-00019f-98 for qemu-devel@nongnu.org; Tue, 02 May 2023 09:57:53 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptqVr-0003UM-9H for qemu-devel@nongnu.org; Tue, 02 May 2023 09:57:53 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f19ab994ccso39610875e9.2 for ; Tue, 02 May 2023 06:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683035870; x=1685627870; 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=w5qDudjhJlVT0hk2wNePP4bjtHx1eZvXfot3fVid5DY=; b=YCAyMM6axiNlgNVfi9NwYT0gn/SVu9cJ6i0Ybep4ckDaCxHZDEnuKk1xa0gz9T+pIP VjoqL20I2DRMU38wWecmIQgy2XZjVI76TCQdm/61Oo4NteJt4K3LpvVO5UfIoODLPzVq EG21EQpuaQMzqdSoT46q48Ue8vICPVz5r1BA5jnmKHDTBjU50kYJpn6bmUy6Mr6+Tnbv 0mom3UdkHkjIW/baT5+pMIqp3WtXKEtLxH6F6WIaBhlxuooFwUC+rJM1z0oqTSdn8Jz0 srJL1IOXkQoXb68WxlUhRL8/5iU2miiuzKhwvtOeLXWyx7QSIHLn1mM947Yfa5h8XoPu PZbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683035870; x=1685627870; 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=w5qDudjhJlVT0hk2wNePP4bjtHx1eZvXfot3fVid5DY=; b=CJJmZ8ZbcyMtQqyNMVVJtiuRa35lWtjVwBrQcuYZc7ubKf1FPIghiyGhInieyJeSjY N7lPbykzWrfFESCHwFSUiyYnljy7pQBehFIVWXAfFpo8CvDdYM3GCGfJQqjVMziZrhPs hk6UzVkPrn+BUiuJqd+bltB4UJRO/F3v8u80GUbklyGmWtZQq93V5mFmUgRLUBsosiya lCFUNz/ZkniHW2HMKakZiVvPFFL7BA2mvehHBo4CqManY7fP7ji3wUYydiWrGgB2DvgJ xM3jTKpDhQ1LwGCkzbqJKtdop9/MqZkHmnDH0+SFVw8S8o1Jkzg8Ot6l++jRKwf/8VlG SNYg== X-Gm-Message-State: AC+VfDx4RMAFOCjugeY5NRwe5v16GGVmOVNf7AZTIggdoVXiPb0Q6GDH Tr/krWZYQj5CzJYawRUo5WEG+dQGLAm4wXQQmpJTpQ== X-Received: by 2002:a1c:7c18:0:b0:3f1:789d:ad32 with SMTP id x24-20020a1c7c18000000b003f1789dad32mr12586806wmc.11.1683035869953; Tue, 02 May 2023 06:57:49 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:ad29:f02c:48a2:269c]) by smtp.gmail.com with ESMTPSA id j32-20020a05600c1c2000b003f173987ec2sm39461140wms.22.2023.05.02.06.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:57:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mrolnik@gmail.com, edgar.iglesias@gmail.com, tsimpson@quicinc.com, ale@rev.ng, anjo@rev.ng, laurent@vivier.eu, philmd@linaro.org, jiaxun.yang@flygoat.com, david@redhat.com, iii@linux.ibm.com, thuth@redhat.com, mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com, jcmvbkbc@gmail.com Subject: [PATCH 8/9] target/xtensa: Finish conversion to tcg_gen_qemu_{ld, st}_* Date: Tue, 2 May 2023 14:57:40 +0100 Message-Id: <20230502135741.1158035-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502135741.1158035-1-richard.henderson@linaro.org> References: <20230502135741.1158035-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x335.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, T_SCC_BODY_TEXT_LINE=-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Convert away from the old interface with the implicit MemOp argument. Signed-off-by: Richard Henderson Reviewed-by: Max Filippov --- target/xtensa/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 0cf3075649..728aeebebf 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -1549,7 +1549,7 @@ static void translate_dcache(DisasContext *dc, const OpcodeArg arg[], TCGv_i32 res = tcg_temp_new_i32(); tcg_gen_addi_i32(addr, arg[0].in, arg[1].imm); - tcg_gen_qemu_ld8u(res, addr, dc->cring); + tcg_gen_qemu_ld_i32(res, addr, dc->cring, MO_UB); } static void translate_depbits(DisasContext *dc, const OpcodeArg arg[], @@ -1726,7 +1726,7 @@ static void translate_l32r(DisasContext *dc, const OpcodeArg arg[], } else { tmp = tcg_constant_i32(arg[1].imm); } - tcg_gen_qemu_ld32u(arg[0].out, tmp, dc->cring); + tcg_gen_qemu_ld_i32(arg[0].out, tmp, dc->cring, MO_TEUL); } static void translate_loop(DisasContext *dc, const OpcodeArg arg[],