Message ID | 20210419202257.161730-19-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp3051554jaf; Mon, 19 Apr 2021 13:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQHqxPGy2nX501/tSok1AdJ6p14Y3yOa7yHsBSigi/+Isy72CUqG3A+yc5V6vqu6Chsk9y X-Received: by 2002:a6b:7202:: with SMTP id n2mr7120776ioc.86.1618865779953; Mon, 19 Apr 2021 13:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618865779; cv=none; d=google.com; s=arc-20160816; b=lOAcEkoFTZhWop6KP0cen+BETHAjklr+DzjOgNgZ3NqlQY6MevzrhCzhXgPSE61SSI ATA49s73Ls8SRk3vdLHWNbBg/XRgVTdP9OoBGoDQ+7GLrbvi5Mdbn4sXWvGvBA9TuNLF b8IZ+6JfNK8RSjJav5MUHP2qMBhI4h7OPfb+g4hGguW2xZ6wGge/Vwg0J6KP4iORFC73 Fp+Z7yG51K19opR/RXfbqUTUp+HY/987rajmj23TXW3GluoqpWJ9w7mmXc+5v140R3QX 8nUJ7898CSu/ZvbGNaQ0ScqN7eV8YETmn/lnw/7vH8oA7FwOPt3BK1orBtoeD7O+CsC2 +U8Q== 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=Ani1RQARSJNMvdPCb6o+N5qGQXgFXuDUDDCdjTRmkaM=; b=JdMcawEQmmJ0MixY7IDXIiCJGsseToEYECXL49966rdyVb8zsru26J8EedkhULk/fP U+Z/YPj9obdeR0UujFJrW12bOJTxGwenaAiFctHpFXkv7wCWitMJvTHN1scrbS4Ue0Ek DwqiQPdpFv6PAJCUihK0m1UoKx+EhmxNFrPpV6duPVXZppbW6367ddmmh+9LtBykB3r+ uTiOR5veNJ8jyIK54Cd5S7N7Fg7Q1U+HmWff41rBj45ssmMVw/cok5au7Ae3itOEoQIN njXX1t6Fy3lhbeGQsAQcJVGdjRMsq76NxzfIkGtZyWc6qGJiFx1CrkP5PyiAmsKTBHAC Wobw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bCWHmY6H; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u20si8885429ilk.61.2021.04.19.13.56.19 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Apr 2021 13:56:19 -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=bCWHmY6H; 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]:51578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lYawN-0000K2-BU for patch@linaro.org; Mon, 19 Apr 2021 16:56:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lYaQi-0007d8-HJ for qemu-devel@nongnu.org; Mon, 19 Apr 2021 16:23:36 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:36567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lYaQg-0002eg-04 for qemu-devel@nongnu.org; Mon, 19 Apr 2021 16:23:36 -0400 Received: by mail-qk1-x72e.google.com with SMTP id i12so5661949qke.3 for <qemu-devel@nongnu.org>; Mon, 19 Apr 2021 13:23:33 -0700 (PDT) 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=Ani1RQARSJNMvdPCb6o+N5qGQXgFXuDUDDCdjTRmkaM=; b=bCWHmY6HN7l+ILbW31SeegtWX/pXmZ9QJfgIZfPlwIjL2+CPN7zWjNTXD0AyJJxmXU RyKsNMjDAd4WKGhI39f0UfYkfmlGYtko1+zqp+ki1LxTrF1owELJThCz7ZTWFgjk5kLa 4xW8Vvk7SPGClrawJoraFsEQO74EI/SnfCL7sCr8yuTDFQT7aAlPbemX30Vnk7IE5JB+ gCXoAJHvRveVo5jorD3UfGZsY1RCilbQreq6qt0kU2tddNF7lknv3pP9buTw78HrAckz M61uamVOCZrW0U1pFW65+fAL7BoxUf0+sfuvtj4zUIkBE8QSmhly4gvrlv4tzBHJNnCw MnlA== 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=Ani1RQARSJNMvdPCb6o+N5qGQXgFXuDUDDCdjTRmkaM=; b=FgxsQgQVjb+N9HJR2hqidz8Mp97lR9b2tfTbQmY3eGINkoJ8nB+yppOIgaRTqcU4nk LfvLe3JZ+COAkKs6ottso+0i0FnqHmNvHYJuoWR+98MJL8t8dXB4Pb24zT50QgBILLw6 71Dm5ar6jnldQMeRqYahgWuhzf3ZQUl13vUopi7PIVnTYei+jQUST3VBskTX1yBLnmdB f9IW/On9ea17bkSMjv+ckSIR26jabB0Yh3Q20jTsl7YSCocfcga0da3BvP8KbdPlq+IT 7mfRzvbmoKUy0GdvLZChFqZ5ysTmsy+WaG53znDl0ehgg1ucp8a605P6A9Qwy5ImXwqm 6gQg== X-Gm-Message-State: AOAM5322sNJhos52PSXIrv+d+AYZBsfCau2PhtMHNyyIEm7Z5mR7IPJT SPPJTvr/FBqXg86ievLfbiPqzaZO8a7jpAjO X-Received: by 2002:a05:620a:1323:: with SMTP id p3mr5105821qkj.367.1618863813133; Mon, 19 Apr 2021 13:23:33 -0700 (PDT) Received: from localhost.localdomain ([2607:fb90:80c7:aba4:3594:91a:8889:c77a]) by smtp.gmail.com with ESMTPSA id c23sm10007835qtm.46.2021.04.19.13.23.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Apr 2021 13:23:32 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v5 18/31] target/arm: Enforce alignment for RFE Date: Mon, 19 Apr 2021 13:22:44 -0700 Message-Id: <20210419202257.161730-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210419202257.161730-1-richard.henderson@linaro.org> References: <20210419202257.161730-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72e.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: enforce alignment
|
expand
|
diff --git a/target/arm/translate.c b/target/arm/translate.c index f58ac4f018..2cdf58daa1 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -8341,10 +8341,10 @@ static bool trans_RFE(DisasContext *s, arg_RFE *a) /* Load PC into tmp and CPSR into tmp2. */ t1 = tcg_temp_new_i32(); - gen_aa32_ld32u(s, t1, addr, get_mem_index(s)); + gen_aa32_ld_i32(s, t1, addr, get_mem_index(s), MO_UL | MO_ALIGN); tcg_gen_addi_i32(addr, addr, 4); t2 = tcg_temp_new_i32(); - gen_aa32_ld32u(s, t2, addr, get_mem_index(s)); + gen_aa32_ld_i32(s, t2, addr, get_mem_index(s), MO_UL | MO_ALIGN); if (a->w) { /* Base writeback. */