From patchwork Fri May 11 03:52:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135486 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp374401lji; Thu, 10 May 2018 20:59:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqd/Kj/fd/U8B6Gu/nfwNI7dzQ84D0zL2zTU1vnmM3DRQNP64sAdMT4thY/c0nh1mXSXJpz X-Received: by 2002:a0c:d8c1:: with SMTP id w1-v6mr3799574qvj.40.1526011166021; Thu, 10 May 2018 20:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526011166; cv=none; d=google.com; s=arc-20160816; b=k7RnDQSQWLgtAEer4/G5YLZ2Z51aRTPR7XF8NJHvgTJOlizYjaOZsysGrham8SqFBO WVLjQcGWfBOo2XgYpag5nXMtoWI2iPAW5NLvMNnArhavAzFDBegKDFF9H9Vc3qk0pfsI 2/xYmD7YY0IfdxV4258WddlA3L5e/T5+jTcSdLVJkLr4C7ORLO5uCtUvMigIBvxikeRi c6NgDtp6yZuLImXcTLNjVsoBVs/lm6OcDyI0TGtFCHFHHYjzXDgztc4U+QYfH7grW97L nj3ZympZywtj1+V+SRKlWoqrd4lcWhnMcYD4c3JMYed4L7mRvFdZBTISYWZZX6GxE/BA mFgA== 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:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=QtHNqo5+EZ9eBUa63naVmHHWBjHF6qH79m6GBneXDDY=; b=gJ+ai+WNtkIxMIXyrN8fvUshSMA5hve6jo0tyi6qgPd3Vg4fwYlCEM7q0tP37PDjge xsCokSXdjAHHOdSEd5FnjHy6IeM5Hx/qGSko4UowtKkL0u6VQuhzk9xTExXYxdGE/K0N xT5PVaplHidSn0xCfHBK8KkJeItitrUZXhneU6OCI0buw2RHlQ0LTs7oNTeIBKwL8zU2 N2qbdzMs3f6n9pMYtoMntjYEreyZ4kwivtI9XoAj2UEIAyjloK6j7tbB0UhQaB7BRezQ ucR7byb5lgALYZ83zvbDS2dgXy7tIp7tqsNXv8oPMxN5VNRcuT0OZm7kpZOjZ5wAOdPs Ax3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=D9hrjYrz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f202-v6si710753qka.28.2018.05.10.20.59.25 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 10 May 2018 20:59:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=D9hrjYrz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:36625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGzDJ-0002Y4-Ii for patch@linaro.org; Thu, 10 May 2018 23:59:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGz73-00055l-2L for qemu-devel@nongnu.org; Thu, 10 May 2018 23:52:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGz72-0006Bt-F2 for qemu-devel@nongnu.org; Thu, 10 May 2018 23:52:57 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:36492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGz72-0006Be-9F for qemu-devel@nongnu.org; Thu, 10 May 2018 23:52:56 -0400 Received: by mail-pl0-x242.google.com with SMTP id v24-v6so2509859plo.3 for ; Thu, 10 May 2018 20:52:56 -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; bh=QtHNqo5+EZ9eBUa63naVmHHWBjHF6qH79m6GBneXDDY=; b=D9hrjYrzL6svXSYsCl4vxN5kYvmPoVVvEmyuWWJ5ZIBEDJQXyzBGdqYRpJO8EvnMl6 QytOeivbR32UeYP3dAselzIb5dE11wwHbVpC5D78Ttsg3Da8QUBVYR7uUMnQA/E1DEuP h95w7u7/PvY2y7GMm/zw9Hk13pB4OjCBs92ho= 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=QtHNqo5+EZ9eBUa63naVmHHWBjHF6qH79m6GBneXDDY=; b=bpyB5wkPXrOmAp1tzDk70hKxmq4vUEAT/cY+yMhlPF+sHwEh+YHT0YxSUnCia+nzsb ZWF50jeP3uGwzNCOGDExz4U4eoN8gOTVN3TrUden1w4ODl4qB1BqOAQpLJzN1meu2Mat eTTOFQly6WFIs2+Eehl2tjSFAsVTY7LN2TUYxiY2PDW6S5s+9gwQwj6ae8cpthNeDiDM U+Rdopo9J4ipWbO7Bvniq8kbyfkCxuxF1UI666iVNB/ow/0G00YnxfRsopeT6Jpi2rNh Xo+ggvHvWM3Jmqxa8GuN1oRYxI48TG9o1LAMpKBpOxCBa0xMCrfh1+/9XMxTlswdv0GT TKHA== X-Gm-Message-State: ALKqPwdT7aW6IFXAGUBo0JcAllC7bsOC3pabZuvkTfiQMEBsUWtMgeQL XYyHPoiWWfBYaucswnEr1JCF0FVCF9k= X-Received: by 2002:a17:902:ab98:: with SMTP id f24-v6mr3816152plr.144.1526010775023; Thu, 10 May 2018 20:52:55 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id e18-v6sm3495636pfi.100.2018.05.10.20.52.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 May 2018 20:52:54 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 10 May 2018 20:52:40 -0700 Message-Id: <20180511035240.4016-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180511035240.4016-1-richard.henderson@linaro.org> References: <20180511035240.4016-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::242 Subject: [Qemu-devel] [PATCH 9/9] target/xtensa: Honor CPU_DUMP_FPU 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: Max Filippov Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Cc: Max Filippov Signed-off-by: Richard Henderson --- target/xtensa/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.0 Acked-by: Max Filippov Reviewed-by: Philippe Mathieu-Daudé diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 4f6d03059f..2afe395ecf 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -1244,7 +1244,8 @@ void xtensa_cpu_dump_state(CPUState *cs, FILE *f, } } - if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { + if ((flags & CPU_DUMP_FPU) && + xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { cpu_fprintf(f, "\n"); for (i = 0; i < 16; ++i) {