Message ID | 20180430150837.20470-3-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=208.118.235.17; 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="trGFd5/H"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40ZShh6N8hz9rx7 for <incoming@patchwork.ozlabs.org>; Tue, 1 May 2018 01:12:52 +1000 (AEST) Received: from localhost ([::1]:60166 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 1fDATy-0000T5-Rs for incoming@patchwork.ozlabs.org; Mon, 30 Apr 2018 11:12:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ1-00062G-My for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ0-0004ze-QJ for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:45 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:33986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ0-0004zB-IX for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:44 -0400 Received: by mail-lf0-x244.google.com with SMTP id h4-v6so12597628lfc.1 for <qemu-devel@nongnu.org>; Mon, 30 Apr 2018 08:08:44 -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=H64HEWKVeVSke19Rg7nkhOskfBgoN/6v2GFBKcOobvE=; b=trGFd5/HbVCd1UA0G/NPP3HF+vJpgIrN2giMFjUDs1AfKOqKtTyfccMfYpIFquxFiw x0jaaSLz+48aM5Xm7WUfKj2CdAUudyWxwVdW1rQngfrTHilL6jVhF/U/mOmcbWQkfWDM YkiUbO+x5u7rq2AOIpPFQPns5fczVd9E5bE5mrxRd6xVPaH2WMkrAC9YRNKpSfTRgAuJ AcQfALg9/KEvUagwwYM3DYtpqPgAdcgBWp+/aNyCrrafTpMvAmYPWffsodWITmwIz4sj Do9M3gQtPyUhZnyWnt0DUzbB0b1/44lrse10XPadsPP5N8zNDnByEAQfSBpPXCI9JTYI PCKA== 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=H64HEWKVeVSke19Rg7nkhOskfBgoN/6v2GFBKcOobvE=; b=FiM2PVLIGmNYqbYl38DQQR+ub/lZFMwTapVnOYboGEQCY3PXmO8u0Q8uz3rmDIgud7 Ljz8MN5lwbdvmG+isdwKbqzrAv/Hco54ihjOghsKoZX3Bqm06Ey7qJ8Eeq6i1sZHZHTn 6PD71MwbFxwMi6DEQq53rtSEitFUpBbpTJl5hwtZ0O7ISF7ZN8144MrP1KZmTPG1l8i5 Cip9XKGK+6SZ+cTUtoaHErH2MYWba1t4nB3SO1Nw3MB3qww6T8goU7kPEmrsD9ngkr9t alS9oDbkbsWjaTDFCyETkgCudPDgfAaDBT0IH4pUE0I3upoHdIBcabJXlDSuICMICdnp rorQ== X-Gm-Message-State: ALQs6tDo7Vk7jZU3K9b1xe6aGZZXa4KX56K/qizYyv+EkZIWqZt3n+Aa 3UIUhgVvvAP2iXoIUOSwVlBucw== X-Google-Smtp-Source: AB8JxZoNuNZWF8fgMgLaNxq6a7nCjwf/xHs6ivoCOMRDnP+H27N3B4S6TWGcVTUnnTFSaiPpCk4blQ== X-Received: by 2002:a19:5047:: with SMTP id z7-v6mr7933373lfj.129.1525100923076; Mon, 30 Apr 2018 08:08:43 -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 w2-v6sm1565417ljw.70.2018.04.30.08.08.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 08:08:42 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2018 17:08:34 +0200 Message-Id: <20180430150837.20470-3-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180430150837.20470-1-edgar.iglesias@gmail.com> References: <20180430150837.20470-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::244 Subject: [Qemu-devel] [PULL v1 2/5] target-microblaze: Fix trap checks for FPU insns 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: sai.pavan.boddu@xilinx.com, peter.maydell@linaro.org, alistair@alistair23.me, edgar.iglesias@xilinx.com, frasse.iglesias@gmail.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 |
Xilinx queue 2018-04-30
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index f739751930..ec12fed49d 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1412,7 +1412,7 @@ static void dec_fpu(DisasContext *dc) if ((dc->tb_flags & MSR_EE_FLAG) && (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK) - && (dc->cpu->cfg.use_fpu != 1)) { + && !dc->cpu->cfg.use_fpu) { tcg_gen_movi_tl(cpu_SR[SR_ESR], ESR_EC_ILLEGAL_OP); t_gen_raise_exception(dc, EXCP_HW_EXCP); return;