Message ID | 20180516185146.30708-20-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mMdZndQ4"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mP8H5vF2z9s1w for <incoming@patchwork.ozlabs.org>; Thu, 17 May 2018 05:07:43 +1000 (AEST) Received: from localhost ([::1]:34259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fJ1m1-0006q1-DM for incoming@patchwork.ozlabs.org; Wed, 16 May 2018 15:07:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XB-0003H9-Ox for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XA-0000oB-Lp for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:21 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:53708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XA-0000ns-EW for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:20 -0400 Received: by mail-wm0-x241.google.com with SMTP id a67-v6so3839013wmf.3 for <qemu-devel@nongnu.org>; Wed, 16 May 2018 11:52:20 -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=xrBRk7Rln4ByM9Gx/uuZBTHV/ZtJJE64GlBhmA2iQAk=; b=mMdZndQ4Dq78kA+Ft8Sfde3zTrQ4t7VIylq/8gHcCs+HlKVCvvVHxRZ2U8RH58Plx7 ifzryIav70zwbGKzaNy5fwkYCj7nnCo/EhvzzLEIk8+hfhn6/rND84XAh5ma/A3N/KCm Nf/qy7oz/DZCMDx3OXY6Vy+8kIvS608xbVKAZukGNPAF/uK1TVojpI63ab2Sr4AtxPNc xp9b9huRR4YNadjO18TM/gU9OCI0/+w4tTo2brI9HKnBJTV61ZZv4KkoTETwzBRPZ5SN b3bCQmdZmnRCpu95ssso2c4w1zgZ6ItySjlyWPXXs/o7QFxQue5cZCbc/bLeCESEghXT VJeQ== 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=xrBRk7Rln4ByM9Gx/uuZBTHV/ZtJJE64GlBhmA2iQAk=; b=bBobVqj3gg41OlK2UDLOh7r/lzD587rr06k9uWelUsJr2nnq+phhGbnwvlUW6Kwu4z BhIsHuUc2NqeDAWdvJUskOJT/2rgB87MYtKZ856bR4Bly3sDMNtdh13imU6gkNLUs1O9 mfrybaQPxuPE7/GI8d4fZ0IGcY7GxM+7gGWEcZcd3KsuQQ0wHtuCqIyl8UPyY+RBY5+M Gzx0PKtDOZ6/K1R7ln5o197We6Ymr0FDo9bQnjLUPbdN/hmuloxV9mbPgK5GaOanv3On 1vGIo7nRgb+g0w2Th29VH82EVuyI3rXsZZqEPG7kq4n4fjI3a1/ZU/t+dzl/R0UClOQJ HqJQ== X-Gm-Message-State: ALKqPwfoDH0PS2TxfXqOA6BTRB+XaX9FGcvpEe+1ML8nZEPRPtrYj70N iHgDgE/z9bSeYg3/kFwTM0zKnQ== X-Google-Smtp-Source: AB8JxZrGbM+tb0r+zTcvXvZiXO+M22ZjNArGA69eIR6FkTeQtKQ6WvNzeZ5gHn1K1YyPJ5uTxfCNGw== X-Received: by 2002:a2e:985a:: with SMTP id e26-v6mr1233514ljj.124.1526496739104; Wed, 16 May 2018 11:52:19 -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 h5-v6sm775516lfc.8.2018.05.16.11.52.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 11:52:18 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Wed, 16 May 2018 20:51:27 +0200 Message-Id: <20180516185146.30708-20-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180516185146.30708-1-edgar.iglesias@gmail.com> References: <20180516185146.30708-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v3 19/38] target-microblaze: dec_msr: Fix MTS to FSR X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
target-microblaze: Add support for Extended Addressing
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 675db78030..528450a8e2 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -533,11 +533,9 @@ static void dec_msr(DisasContext *dc) break; case SR_EAR: case SR_ESR: + case SR_FSR: tcg_gen_mov_i32(cpu_SR[sr], cpu_R[dc->ra]); break; - case 0x7: - tcg_gen_andi_i32(cpu_SR[SR_FSR], cpu_R[dc->ra], 31); - break; case 0x800: tcg_gen_st_i32(cpu_R[dc->ra], cpu_env, offsetof(CPUMBState, slr));