Message ID | 20180529105011.1914-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="CG4nFx3T"; 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 40wB3L3w9fz9s08 for <incoming@patchwork.ozlabs.org>; Tue, 29 May 2018 21:15:26 +1000 (AEST) Received: from localhost ([::1]:60222 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 1fNcb5-0003iw-N8 for incoming@patchwork.ozlabs.org; Tue, 29 May 2018 07:15:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDG-0001Y4-QG for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDF-00043J-U2 for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:46 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:44546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDF-00042s-Mt for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:45 -0400 Received: by mail-wr0-x236.google.com with SMTP id y15-v6so24693169wrg.11 for <qemu-devel@nongnu.org>; Tue, 29 May 2018 03:50:45 -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=j/JijYHshyuFgdzhlDHNDCj3gS11pDBX/59HGg4E4Vc=; b=CG4nFx3TcvWDdcAgQ7GCslHOV03pKctIYrOlqiRGrlrXv1soRALgPn3AKAeTKHNpl0 wfJQ3HqTcDKpBMuI+9hwdjFRGMEgnB6tdpJq+/Z8qgXKkyXIJICeJ8FcqeDCOQ1fSxWG d2dIIQ6sjzf8kP4ZzKBPoKk0HEizycxNVP14ZD8dKstFX5R/NTCLuSW4claQuWfLT5XO /wHKBC/O7YWghi2fjhrAdSw39PiYfxYlHHldByIJ6mG7v4jMPOmkHZQ1iP4fTLr6ZHku EBifXLnj3zHl6m89XCS1S7+wySi9riH87Gq1n5+jiBlziqyUXOSwSCi+cmcaGKBl8GoD OM8A== 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=j/JijYHshyuFgdzhlDHNDCj3gS11pDBX/59HGg4E4Vc=; b=BpBVtw0rbvH+WKYlUSsqc2xEm8QpirFlAMB6roa2/0S2/tvwL7CWLtb+K0/ki80yL6 UgaVTucMJYJy6aGkAzmrqI0bTkUsMp2rFsopmwtYFmj5lPSMlE3yRkjjvC3l29N3PSBn +cLn7uZTjlu0LmbziLc6il/+b8LVw/3TKGV0sELw/F/xV54r0xiXh581F+YzsH9Zsk2n QMqfWbyyZsBD8f0VV+UdkuG0eil+jJ8lT2RAhWJs6w9lLAp9E+lug6EPCEqvgY1NOtdC EXEi5e+d5+yh2ItyTxOVgW9uStakMVSTQTYz1sM2oV8Apu55fpH0b2xDnaEP4/JQdH7p hF3g== X-Gm-Message-State: ALKqPwdjpBAv3ylvDXOR5StDwY/ZuTlQARIywAVxKniy2WW+mJrovsnZ 6jCiYDjCkUSpAWMSb7t3WWf7LQ== X-Google-Smtp-Source: ADUXVKK1fj7buw50oe8QP4j8YtNV3/BMhP0zQnk3ILXF0P6jJkVnH/rVQi4EkfhwYTCqyLzx/AgMBQ== X-Received: by 2002:a19:7383:: with SMTP id h3-v6mr8775768lfk.115.1527591044314; Tue, 29 May 2018 03:50:44 -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 f26-v6sm6295994lje.69.2018.05.29.03.50.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 03:50:43 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Tue, 29 May 2018 12:49:52 +0200 Message-Id: <20180529105011.1914-20-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180529105011.1914-1-edgar.iglesias@gmail.com> References: <20180529105011.1914-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:c0c::236 Subject: [Qemu-devel] [PULL v1 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 Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Xilinx queue
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 6a270fbece..6f2cafa88a 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));