From nobody Tue Feb 10 12:40:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524487018056756.3909892621801; Mon, 23 Apr 2018 05:36:58 -0700 (PDT) Received: from localhost ([::1]:43355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAaiD-0004Kz-2l for importer@patchew.org; Mon, 23 Apr 2018 08:36:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAae2-0001U7-N6 for qemu-devel@nongnu.org; Mon, 23 Apr 2018 08:32:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAae1-00088t-T0 for qemu-devel@nongnu.org; Mon, 23 Apr 2018 08:32:34 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:37437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAae1-00088Y-Kp for qemu-devel@nongnu.org; Mon, 23 Apr 2018 08:32:33 -0400 Received: by mail-lf0-x241.google.com with SMTP id b23-v6so14717956lfg.4 for ; Mon, 23 Apr 2018 05:32:33 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id x22sm2267558lji.27.2018.04.23.05.32.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 05:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZCuY4k3h7/iu4nZ8hSohnET1CvU6wF41pAlhlO11ors=; b=gHvjDUt8aT7EcbFIjuYVn6vTJyPWZ9C+frbsjvcTNwWGsGvjAbeJ1UpD/fX9usu/5q iEKMkfeC/GAVJnnYvSErlj9r0JRql+Oz2qoInwaO+Cj3pIlToiBkBj0lK6tn8nlqxD0s SBz1iB59YOnBvEEJmUFUzshy78TCl+My4oVXDSzqE9c+dyT7BUGe7EEcp6aGBxJTUaab ubNsvY4vV85F/jeRlppE6xnNuJ6gQMf+tvZOLtr7mQabWtHle7V1LvvQ2+1TOjX2k2pJ 7kpQT0b9aXRm/4/nsduHjo4sKxQp6GkwFK48elLq0zq63QKLbRqFboLwZ7WhM0v5Qe2v TjJA== 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; bh=ZCuY4k3h7/iu4nZ8hSohnET1CvU6wF41pAlhlO11ors=; b=h82ycuUhObT9xtMOClFs1C4X31GBeCVO4oqWSJ+LvGVmQZtxeBIFX207QlIqVuwamg IGPpr/yXh2GK1oUNb89gN3Waufemi+viH/KbhFovuaNMLJbTlsPWpZbKQcsu/KUj70Wa tQRAbzwYCFoQPBn/mK63s55sNc7mGDaVhGWD/8to4cYaawbSiUhRmo1ASLHzvETNOybt QfXHCX6H3RX0tqm6ZTjUXIfuRsfrvgRs6id3/UGF3I/KDdgyL0uOV9RTe+AzO1ZtLd2e FHazOupEO5cl/Wz54tQhP/eG+AK9BrfcTibSOF24ENI8PpYWXcsYtZb5NtWx/JycgrAI EXnw== X-Gm-Message-State: ALQs6tDsFEUfmhmLiG6D9TstZKh7ELMrZOUVKHlHtRJaK7ExtrMRi1FQ C9jl3/KlLbU/PhjL2dfKXAn2Rw== X-Google-Smtp-Source: AB8JxZqvfGT9bfBi7yOu4Gi3387j4aIA66dqBIndmO64N1/aRAc8Ws1ttw07UyAPIQKbhhlQ6nKjmw== X-Received: by 2002:a19:8f06:: with SMTP id r6-v6mr9321477lfd.56.1524486752124; Mon, 23 Apr 2018 05:32:32 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Mon, 23 Apr 2018 14:32:23 +0200 Message-Id: <20180423123225.30503-4-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180423123225.30503-1-edgar.iglesias@gmail.com> References: <20180423123225.30503-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::241 Subject: [Qemu-devel] [PATCH v2 3/5] target-microblaze: Don't clobber the IMM reg for ld/st reversed X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Do not clobber the IMM register on reversed load/stores. Signed-off-by: Edgar E. Iglesias Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index ec12fed49d..100883e2cc 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -952,7 +952,6 @@ static void dec_load(DisasContext *dc) tcg_gen_sub_tl(low, tcg_const_tl(3), low); tcg_gen_andi_tl(t, t, ~3); tcg_gen_or_tl(t, t, low); - tcg_gen_mov_tl(env_imm, t); tcg_temp_free(low); break; } @@ -1104,7 +1103,6 @@ static void dec_store(DisasContext *dc) tcg_gen_sub_tl(low, tcg_const_tl(3), low); tcg_gen_andi_tl(t, t, ~3); tcg_gen_or_tl(t, t, low); - tcg_gen_mov_tl(env_imm, t); tcg_temp_free(low); break; } --=20 2.14.1