From patchwork Tue May 2 16:08:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 678430 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp596201wrs; Tue, 2 May 2023 09:11:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nU2WhprlJPNMvL4SPORL/GtddXMFAuQ7j7z4+YysXMTdEG6izbLZxUZpy8Q1OLq17JQtZ X-Received: by 2002:a05:622a:1891:b0:3ef:499a:dd99 with SMTP id v17-20020a05622a189100b003ef499add99mr26649169qtc.66.1683043891514; Tue, 02 May 2023 09:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683043891; cv=none; d=google.com; s=arc-20160816; b=O0oKFEcv6bhGpzur41ow1lzNDfl0469Vr/T1BTmTROBucY9HXqvcaHqooBb8Wi1dMF utm6d+xwJZ0XTbtvtxkhds63qoWq5LnQCKG4eonPVY927ousu80chETbfwdITtV2StWp v/98E2aHlozVF2ajeLSywxSWlkukl0Df8ZhjIYJyDDencSnGB0ZyifivleB95DLt2QjE dwElE4usHRilskiAdBiZs4vX5zZWhFGT/OKD8Pocu5Lcsleezw+QggKreEeFm/plrdI/ iD1+9zxoup82FNLQ9TZqb4eOg/+DIcaZbKEo4UA1pKqzOpC7xGt6TwZumpzmagWfBGBU M71g== 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=+izzL5UeSD6JbwL0jozvlCRqZk7eiF+iQRw2O4DosRA=; b=n7ibEvWDYwJflLx8Qo+tHrf6fEAD3CEFTkme6EFO4hpDsIRWgaIJiObayePf7ZjNgh r7Nia+4BqYsqy/LMry8rK4+wh39XuJtP5O5ViPTPFLhz9q3wq+P+hBR6vR885HGYTu4w Kzd9kd3+DyvM5zNpOMpu9kzDdrgbmcFB20P0Sg/imFohnu/C+9Yjm4WDhlWkWLpmZ8wR gynfO+7hh0L/n2yOpPKOAej0FiV/7hjeqfzc/Rp8wbhWEvqJ6VobtuK42iHblcbS91wX BhNWF7tpKT7lHEbOK+9oGUNHhz7cPhGRVFnUC8NOtAHYfk2bAY/q29W0ee86pcayGhhf dQpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UNcSYt73; 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 s12-20020a37a90c000000b0074d7880dfa5si17060967qke.65.2023.05.02.09.11.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 May 2023 09:11:31 -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=UNcSYt73; 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 1ptsYt-0002pI-OU; Tue, 02 May 2023 12:09:07 -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 1ptsYi-0002m2-9I for qemu-devel@nongnu.org; Tue, 02 May 2023 12:09:03 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptsYg-0000hO-HD for qemu-devel@nongnu.org; Tue, 02 May 2023 12:08:55 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-2f27a9c7970so3727265f8f.2 for ; Tue, 02 May 2023 09:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683043733; x=1685635733; 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=+izzL5UeSD6JbwL0jozvlCRqZk7eiF+iQRw2O4DosRA=; b=UNcSYt73qobgQt2odKyfqeUkozBgka/I3U6xeaFNaSvtBTimPVbDXDTT5xAesnT05v dIXYJs1tsiNdJUfuOy9TaYqmRoNM2971cLEdZ+3B1k0/ZZY07fAmDZGEXomeXWf8Uxq9 afmLBs+2+IIyh/gkICr+69UXbn3Aznh7kdJiJp0NlkwolqdV1+Rx0M9mn+cX0gZ1nJca C7aszYtN92V8I48IeN/mNPc5B4dDR6XVO89X4uH5El8uem2Z+ygxXF060cvVO9oRYjz4 /0Pd5y3GfnBiSei3x2Q+br2W4cYXxSwo+t6L8FXh+SMmWMgGRqT3ULm/qn0n+6RfVHxk iYQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683043733; x=1685635733; 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=+izzL5UeSD6JbwL0jozvlCRqZk7eiF+iQRw2O4DosRA=; b=EBIE6KzH0D2y45bl0cH1UWxvBEZ2Smass8zPFo2kWHhaBh/qk1n9ewewrf3hCujF0Z VPwvsxsb51n6pkgvDOVLMtmeKWkeBjaBJq9mxXLugOQa05/G21+4WNb5OQLYvRkZFNss nJwW3g0/Xke22iXoOzJefn+LoYhNWQ51x4Y2gfMFdOFjoXzVg0z4IAo4SGKuSzFmW6Ft hDZTZBKJn/ETL2RWTOkzW0G2NqthLOVMenb6ywi8m8eWXx6LLnZl+KprqTJ3xW2ejaIf eDd+4YzguhhrVQvOG1rCtxgGHykD0/TryoM6IfLYjdWp5uoUvbr1pQwl63uFFe6kfM5d dx/w== X-Gm-Message-State: AC+VfDxVVR0wn5tqzXO4B2fugrNlTmvti3544UfCRv2944ndbwuco/LK U0y3/fVkRwUbJAGOazBMLBCnDaVHKjIpyneMMuOfLQ== X-Received: by 2002:a05:6000:182:b0:2fa:55f3:4ea2 with SMTP id p2-20020a056000018200b002fa55f34ea2mr11663241wrx.5.1683043733064; Tue, 02 May 2023 09:08:53 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:ad29:f02c:48a2:269c]) by smtp.gmail.com with ESMTPSA id v16-20020a05600c471000b003ede3f5c81fsm39918471wmo.41.2023.05.02.09.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:08:52 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: philmd@linaro.org, jiaxun.yang@flygoat.com, crwulff@gmail.com, marex@denx.de, ysato@users.sourceforge.jp, mark.cave-ayland@ilande.co.uk Subject: [PATCH 08/16] target/mips: Use MO_ALIGN instead of 0 Date: Tue, 2 May 2023 17:08:38 +0100 Message-Id: <20230502160846.1289975-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502160846.1289975-1-richard.henderson@linaro.org> References: <20230502160846.1289975-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x431.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 The opposite of MO_UNALN is MO_ALIGN. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- target/mips/tcg/nanomips_translate.c.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/tcg/nanomips_translate.c.inc b/target/mips/tcg/nanomips_translate.c.inc index b96dcd2ae9..a98dde0d2e 100644 --- a/target/mips/tcg/nanomips_translate.c.inc +++ b/target/mips/tcg/nanomips_translate.c.inc @@ -4305,7 +4305,7 @@ static int decode_nanomips_32_48_opc(CPUMIPSState *env, DisasContext *ctx) TCGv va = tcg_temp_new(); TCGv t1 = tcg_temp_new(); MemOp memop = (extract32(ctx->opcode, 8, 3)) == - NM_P_LS_UAWM ? MO_UNALN : 0; + NM_P_LS_UAWM ? MO_UNALN : MO_ALIGN; count = (count == 0) ? 8 : count; while (counter != count) {