From patchwork Tue Dec 8 18:01:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 339780 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3923248jai; Tue, 8 Dec 2020 10:24:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJygheySjB9AH25cW2f/A0VqL/6qzGWKMiYdsZDJjp7hFDyxQPR8F1cUAWtAtoSlXiepWbG5 X-Received: by 2002:a25:ae53:: with SMTP id g19mr31303459ybe.288.1607451867922; Tue, 08 Dec 2020 10:24:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607451867; cv=none; d=google.com; s=arc-20160816; b=hYFflADn/eNRoM2kJ/mixJFCnpDM83FaBEbMBCX/53W8/370/pc8zCZULKV5yf/JH+ 72Y93acyKCiwbsTxP9LgwFfw/DNLGU3FtwjKAHMLEKH0zFeorCJeUGyWdk3E1gD6B7iD fA1xN5fHZjIcIP9hLCaNn9hrtiNZANE1hcNZOn/9cRV4QdDxr3vQdLgsyoVrkQxowhYP wDOPhaB/Y4SQuzw2LDCROmetQ4QCthqPiKOaExKnIsYUirSI4DG6kg5Mjl8DTezv0hFl sTPpG7NydBJzE6kC+iat8LN9q9d5UwrrOhPbWpy9vL08ZrwxRdLp2KVCqTsk4QiygMhs Ljng== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=G+qmvWx2TCzth2dVwX4A6/f1UaV19mtvUFXgAobfsjw=; b=q8Tb50lKMTpbG3mieVnjxZASXjj0sKPazqZYowxg/ToGqwUIuc872WCCLi3qvX1N5F M2evbfm+s9fLUR3a6RL609fGp6In8u1EZjibVqrfHPKRvMExtFcyWSPp5WAHmV81+WW4 U75j9Vbk6bSWarxqR2+3BSlvXlixlU6aEr8L3uFG5zTMgQJuDrX5eQYcLIM1LJXi56Np fodzF9ytnsYHE1AzWxIFCLVKqQ2IPlHFAStgx1QFdpkdonEdOXyx7BMWCESMt06UnQnK LuyxsOI3oDWPeHK8b0PyV3zXhrlZIQF8RkpwmdTXexD1Ah9FP3sEkfpSXInGgh/jjEjZ oqvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=h3owAu2h; 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 r184si15706233ybf.24.2020.12.08.10.24.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Dec 2020 10:24:27 -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=fail header.i=@linaro.org header.s=google header.b=h3owAu2h; 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]:50778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmhf0-0003QP-Bq for patch@linaro.org; Tue, 08 Dec 2020 13:24:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmhJP-0008Ik-LV for qemu-devel@nongnu.org; Tue, 08 Dec 2020 13:02:07 -0500 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]:37237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmhJM-0006RO-5h for qemu-devel@nongnu.org; Tue, 08 Dec 2020 13:02:07 -0500 Received: by mail-oi1-x241.google.com with SMTP id l207so17416196oib.4 for ; Tue, 08 Dec 2020 10:02:03 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=G+qmvWx2TCzth2dVwX4A6/f1UaV19mtvUFXgAobfsjw=; b=h3owAu2hMeAY+B7TD+bDj+bXVSi28rrMbbBqCFpYlUHrZ0czpcmQxdrXpPoAbTWrW/ A89kukVEuUwwj/y/cd+/dHSwls2+SdiHAZh9y0WErEbaS6d6II0DS2Bb+VuflYs5GeX7 y5iCM62S64tsBM5kUWs6VRx5u+70ChKBUWipD8L52pnE/YU6HDh+syLDRZQ/J9blpTxA Eo0NVF/CUUf2Or7fGpyXQ+OEqwlDaL1N/mqpvsVdqPKeXjsUfkNSpDKHw/6B4HiZ2bOg cwktSxqfbEDMMeHRrFvaPTKv3ny4afwA31QDgfmG0bLbguay0dfqSkcKBtpEHF02UMrv kWkQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=G+qmvWx2TCzth2dVwX4A6/f1UaV19mtvUFXgAobfsjw=; b=qzbANkqgfeuPZLxlZGpDRNzIkdspFeLg+ujF4ROM3DVxYimTB7dzpNlIadR1iHeG+M g1g0K7EldtaLkMiTYZAJI0FYZifpjfXU+CoClFkHTUdZ2ehx5Jb3/GwWbJrgDULw/fyf wCB0U3s5WynUdkGtefdDbi2lLsIWPAqP8yNdBqn86QYexxT5A7yVpoeOCQSho8MBNDdQ ohXo5+7E5uFq4lROzjTVa/Y0eCZhnei4bD+OLBOCkRVm+/jdxjq4CkvJCwQ7qLUc+uj9 TelL3SD255HqTUFb4uGPwp/DpozU1EzH7hogPhFdkEDazC6v4dFkqmmqMLQ4+xDbJ2QZ PpAA== X-Gm-Message-State: AOAM532ZGi1REbusfQ1vNqU+/Bdt+7Y1mA67XMhbiVKyMF0apdAmOX/y BXykTskO9Q6YoQ92UMBiwDb+Z5Jk5PM7rTWI X-Received: by 2002:aca:59c2:: with SMTP id n185mr3652762oib.96.1607450522285; Tue, 08 Dec 2020 10:02:02 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id k20sm3886805oig.35.2020.12.08.10.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 10:02:01 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 23/24] target/arm: Enforce alignment for sve LD1R Date: Tue, 8 Dec 2020 12:01:17 -0600 Message-Id: <20201208180118.157911-24-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201208180118.157911-1-richard.henderson@linaro.org> References: <20201208180118.157911-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::241; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x241.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: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/arm/translate-sve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 Reviewed-by: Peter Maydell diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 0c3a6d2121..6125e734af 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -5011,7 +5011,7 @@ static bool trans_LD1R_zpri(DisasContext *s, arg_rpri_load *a) clean_addr = gen_mte_check1(s, temp, false, true, msz); tcg_gen_qemu_ld_i64(temp, clean_addr, get_mem_index(s), - s->be_data | dtype_mop[a->dtype]); + finalize_memop(s, dtype_mop[a->dtype])); /* Broadcast to *all* elements. */ tcg_gen_gvec_dup_i64(esz, vec_full_reg_offset(s, a->rd),