From patchwork Wed Nov 25 04:06:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 332354 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp122076ilb; Tue, 24 Nov 2020 20:08:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHC+eEN1GUELyQu0itYJtuSjPWtrTy14uES9UdI41EP3De+sbkuAOQQDtQ3OL+r7JuX7n+ X-Received: by 2002:a25:8006:: with SMTP id m6mr1591151ybk.57.1606277281837; Tue, 24 Nov 2020 20:08:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606277281; cv=none; d=google.com; s=arc-20160816; b=ujnauR2KG0XhH3jZCJvtow7blUv9lWOa/mXHj5ttTgXtePQWqZVVxzN9r+QHPKNmVB JVAt2Y9L2yULTkM/8aPyiUatIJPvcLuXH4G8rKXFzHsXe1hVnxuOAtvsAvqXfXQfraqr jwL5EEOK2ho2oVyb90raIZeKaOqaDKe3/iDM4Z5PPj7dLH91sjss2TJc635zD2dxBoeq LdgLPtQ89zQCpFjgcmNuTflqWqEGP4A1ymOBB62nglpdcP96J425Zpiw8vlAY5+rlD4P trUEgJ7gS7LsEPgYts2nPEM4gLFMQzY7RVrT2FUnCUF5qB+AD7Z3zc4XEkspcgcBSVsW Lk/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=6ya5vofU6C1QM+kvPyUyuEWbvoQt6UR8CMi/DgLk2T8=; b=OsXVoW8v8M2PkH850IVB9lALjMfDI6C9gTJTFYU4spjyxD6+JEBvmQsF4B0eudh0Jt 2QVvQowuACuk94sqBljHOwSlrZZNKd4r3eond8McRVgrWizBcuZ+5gC5Ix1b2VCqW77S FBwK7fOf1TWEGpAFiAjaIhMRlgR3W5Beqqyfr/VS4A0vwhcYxJGCnc+IeVHTfSTmrUsb ACOVzjfWhSGF0ugmyllenppsy/Qsjz+rAnV6ju7gtsvJNKcS5bXI38iFzBCT1XSv94RE RPWC+CON/HoYXvxfnJJr0ADiL0ikExrPkgMrbR3rxMD35kH88+q9STksvAKDWNvntIYI TzqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXwrbVVc; 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 n139si977384ybg.398.2020.11.24.20.08.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Nov 2020 20:08:01 -0800 (PST) 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=fXwrbVVc; 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]:44210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khm65-0004h6-9e for patch@linaro.org; Tue, 24 Nov 2020 23:08:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khm4v-0004f4-Rs for qemu-devel@nongnu.org; Tue, 24 Nov 2020 23:06:49 -0500 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khm4s-00060c-Rc for qemu-devel@nongnu.org; Tue, 24 Nov 2020 23:06:49 -0500 Received: by mail-pg1-x533.google.com with SMTP id t21so1206483pgl.3 for ; Tue, 24 Nov 2020 20:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6ya5vofU6C1QM+kvPyUyuEWbvoQt6UR8CMi/DgLk2T8=; b=fXwrbVVctWGegyVHO5mu2f5hLPiYPtZbFnAWt4ip/6nIFHV/xR5lFLxs6k985JrzXZ SYpeG4N8RRC8us69gECHMlyWidenlupeX09VCXJGmsSoqh+I+vfE8FR6s8jILx8gBads Z/B0wYx9gjNtvhZwhpdXWGLICq/ALlGopTJdXLiq1ZdhT1np+PuWC8LJ6WI+oMIyBYMy fiLbi9yFOsWaewGM3cX+5OshNFYQbkr94ShhFuc2xmcrFRBryCw3PSLwUF5SGQzyDacX hWbUrhpWgSqoVtVlECk01zLLeLrIAdhgmPrY8upWu+g8jZWn1c8eJi7U/hJFknqQBxfe GPXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6ya5vofU6C1QM+kvPyUyuEWbvoQt6UR8CMi/DgLk2T8=; b=JZfb4CrMUt0qhLmIm/7oSFozSg8ggpZDRYHbgrhXRLv774U6Ymc6LBGyvGBe9/8xuF DYxchOWK8bgz5U+ve0zCu8VcXz/jsGmlQcQKLL+T+C1Fr8lLKBDif98PJgw+8z6eJbyN 5u+g2fFBHpcw+WgsaiMaD90sBfCPoPXajuKNjTL5MV0ulfAEPz4yhryBgh30Zb8r2oaF GOCUyzgoafIurwcNscw7s7Xe9Zbk3TIngx/E8mzU47LnDqK5Wk7fKg7ehzQIyr1Ic2M2 OMTNVBY7gdYZHhnGBoz2nFW46w6bzv2leH0MF6Mk3zkU2OiOruejz1twOlgp652DXph2 zQmw== X-Gm-Message-State: AOAM531NAe0nB1a9vRLssjwXIQ8z3UGLt8m3bq2xRDogO10DzfTkgcZ+ 75pFNIDwF3UvwlizYfMF6ODXy7t/LOfqaw== X-Received: by 2002:a17:90a:5d0a:: with SMTP id s10mr1863720pji.160.1606277205075; Tue, 24 Nov 2020 20:06:45 -0800 (PST) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id f7sm447806pfe.30.2020.11.24.20.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 20:06:44 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH for-6.0 00/11] target/arm: enforce alignment Date: Tue, 24 Nov 2020 20:06:31 -0800 Message-Id: <20201125040642.2339476-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As reported in https://bugs.launchpad.net/bugs/1905356 Not implementing SCTLR.A, but all of the other required alignment for SCTLR.A=0 in Table A3-1. r~ Richard Henderson (11): target/arm: Enforce word alignment for LDRD/STRD target/arm: Enforce alignment for LDA/LDAH/STL/STLH target/arm: Enforce alignment for LDM/STM target/arm: Enforce alignment for RFE target/arm: Enforce alignment for SRS target/arm: Enforce alignment for VLDM/VSTM target/arm: Enforce alignment for VLDR/VSTR target/arm: Enforce alignment for VLD1 (all lanes) target/arm: Enforce alignment for VLDn/VSTn (multiple) target/arm: Fix decode of align in VLDST_single target/arm: Enforce alignment for VLDn/VSTn (single) target/arm/neon-ls.decode | 4 +-- target/arm/translate.c | 32 +++++++++-------- target/arm/translate-neon.c.inc | 63 +++++++++++++++++++++++++-------- target/arm/translate-vfp.c.inc | 30 ++++++++++------ 4 files changed, 88 insertions(+), 41 deletions(-) -- 2.25.1 Reviewed-by: Peter Maydell