From patchwork Thu Aug 8 16:41:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 170824 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp8817865ile; Thu, 8 Aug 2019 09:45:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeAisaus2wt2z11efNFUvUvEj+2kdgLSoiO3oXSLeBEDaV0jWsVUOijzKCbgDuFXnsAPiU X-Received: by 2002:a17:906:b243:: with SMTP id ce3mr14082209ejb.176.1565282735601; Thu, 08 Aug 2019 09:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565282735; cv=none; d=google.com; s=arc-20160816; b=Krl4H37PIofaZanY8JpZl65F2/RPQxQM2bhd6GN03Wd9vtL/+sWf3coWaG+jInOhWf mEEP9JqYkADjzd57tMmoa3zfzhHCckUDzE37st6hTfm/U7VokRbTSEKGupFuA8BSc/72 uCIx9MhexOzlc26hGLn2MkpseTWHtgEtCpC6vcs2f/CnO+vjExoaK4NbCCq/ej1GxIvF hELBfAMf6NaqsxnurUcr34pzxyva82dmgdlgbOWr3jeJOJIBVaWXMGM54uJ+ZJl5MXGK bgur1Y+aoV2gaR05AXR7QIEfsjDiFrODvMVbHx6iTXJOY2iDTc+fU10hsgjwQsiDreGy 1fRQ== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=cJ7b4qbxHqVbTw2rsvioZwlEmWolzTmmuvqu1NwPYKI=; b=NyVDU3hzraCniN5QFuORkQG8WsQXsSeoL/McsD46sUjPfohdSI57cAC9x/jNaQKaNL /khmTMC0h3A33KmqevWhWquRvoo1s4fM6iMHFP+eysmDJgW6IfY/pIrR0yvrQnbBWHKH aehfc8BN3pPSMC4V3bkBGTeODJsXdx/ANZ/IHSWHl85F+GGEHxhqI5ilAALhKQNvxYZq Qan4lCQmi+J1O5JG//qCeCLROtxj9kN4clfgzlytEEk3dq/bjHi7QThdjKtDVmLmiYVT RyZbGaHSHBRn9UlwoOArClEbvt4TKnXUdg5KUJqXStT3/bdDy61vyN7WYcE8BRaUSu0v UTZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UB8rBUr8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id 58si36305812edz.364.2019.08.08.09.45.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2019 09:45:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UB8rBUr8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:54114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlXi-0001V5-JT for patch@linaro.org; Thu, 08 Aug 2019 12:45:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55170) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlTk-0004Ta-7L for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvlTi-0007e2-7t for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:28 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:35411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvlTh-0007aQ-Im for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:25 -0400 Received: by mail-wr1-x444.google.com with SMTP id k2so9730848wrq.2 for ; Thu, 08 Aug 2019 09:41:24 -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 :mime-version:content-transfer-encoding; bh=cJ7b4qbxHqVbTw2rsvioZwlEmWolzTmmuvqu1NwPYKI=; b=UB8rBUr8ukI8R6l4C6lBKbeHFZ4hGmWH95TQrChszpTCHJWnIkPLFSD+DQmzJBIwNe v9pIueEK6FpFToRnuxPnEBeSRpP1DQ/Dk5fF5lIFVg+2nORMtIN+SwW8zQgAICEPvOzj P5+dWrBB9tFAhVtfKRhO0PkjdSoe9+I73RRchQyd2XBMKXKDC56rJoJKT0jWKvI3HF4I sEMCV1oDl5Z5KLbBtMdX+fm0SGEZd3F8S6Qpukb9S8KBumwBK7oMIdGaXXiECiADfCzF AUOxxYID9FbyijuHp0eroBKMlpCJQbvn6Be+I6/R/nY2EmKu5Fpp4tJa0FtxnkvQWtmL RwHQ== 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:mime-version:content-transfer-encoding; bh=cJ7b4qbxHqVbTw2rsvioZwlEmWolzTmmuvqu1NwPYKI=; b=YD8IGmyj1p08R/vWnEidaLlcAVjk5Q+rswtBTA+wKGgxrFEmio2VUuI5dkkAomj0Cz 5ylo+TSI1X1dsRSPDHdorv2aqlYmVQ5bs/HnwgyWksvdRJQ2mHzu6WfjVMa4j9gkqqHg 3bfV35KBi+ICG9vxzjbSxQUKhjNBYpNk4YbtmGcPiLXVLBexXZNBdCNEwLSPohaUXFNG BmEAHHXzBN6Fo628s3kTdOL6W2MpMqK3tyRe+dOPNbLLRezj2CtY+9xwox1tL5HW+VQI UihLMwSlQqs1DfOaUqOQmIocdsBWKITy9fGKvACn71gE7589lpQGrNKi85gY00T/KWpv q8+Q== X-Gm-Message-State: APjAAAVtI8m1lh+7KSS579lptpqD89WIQFVgn0jyUiNAbWRYTTlN7ZfD IzDcPnG0yvltXTgg+LR0ZsifTw== X-Received: by 2002:adf:dd01:: with SMTP id a1mr17623099wrm.12.1565282483812; Thu, 08 Aug 2019 09:41:23 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 66sm17049115wrc.83.2019.08.08.09.41.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 09:41:21 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4A4661FF87; Thu, 8 Aug 2019 17:41:19 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 8 Aug 2019 17:41:17 +0100 Message-Id: <20190808164117.23348-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190808164117.23348-1-alex.bennee@linaro.org> References: <20190808164117.23348-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PATCH v1 7/7] targets (various): use softfloat-helpers.h where we can X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Hildenbrand , Bastian Koppelmann , Cornelia Huck , armbru@redhat.com, "open list:S390 TCG CPUs" , "Edgar E. Iglesias" , Guan Xuetao , =?utf-8?q?Alex_Benn=C3=A9e?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Generally the cpu and non-FP helper files just want to manipulate the softfloat flags. For this they can just use the -helpers.h include which brings in a minimal number of inline helpers. Signed-off-by: Alex Bennée --- target/alpha/helper.c | 2 +- target/microblaze/cpu.c | 2 +- target/s390x/cpu.c | 2 +- target/sh4/cpu.c | 3 +-- target/tricore/helper.c | 2 +- target/unicore32/cpu.c | 1 - 6 files changed, 5 insertions(+), 7 deletions(-) -- 2.20.1 Reviewed-by: Richard Henderson Reviewed-by: David Hildenbrand diff --git a/target/alpha/helper.c b/target/alpha/helper.c index 93b8e788b18..c6998348df4 100644 --- a/target/alpha/helper.c +++ b/target/alpha/helper.c @@ -21,7 +21,7 @@ #include "cpu.h" #include "exec/exec-all.h" -#include "fpu/softfloat.h" +#include "fpu/softfloat-types.h" #include "exec/helper-proto.h" #include "qemu/qemu-print.h" diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 0bec54b2f8a..9cfd7445e7d 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -28,7 +28,7 @@ #include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "exec/exec-all.h" -#include "fpu/softfloat.h" +#include "fpu/softfloat-helpers.h" static const struct { const char *name; diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index 736a7903e22..5db016672bb 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -42,7 +42,7 @@ #include "sysemu/sysemu.h" #include "sysemu/tcg.h" #endif -#include "fpu/softfloat.h" +#include "fpu/softfloat-helpers.h" #define CR0_RESET 0xE0UL #define CR14_RESET 0xC2000000UL; diff --git a/target/sh4/cpu.c b/target/sh4/cpu.c index 816d6d7f311..d0a7707991f 100644 --- a/target/sh4/cpu.c +++ b/target/sh4/cpu.c @@ -25,8 +25,7 @@ #include "cpu.h" #include "migration/vmstate.h" #include "exec/exec-all.h" -#include "fpu/softfloat.h" - +#include "fpu/softfloat-helpers.h" static void superh_cpu_set_pc(CPUState *cs, vaddr value) { diff --git a/target/tricore/helper.c b/target/tricore/helper.c index a6803368506..d5db7b2c03f 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -19,7 +19,7 @@ #include "cpu.h" #include "exec/exec-all.h" -#include "fpu/softfloat.h" +#include "fpu/softfloat-helpers.h" #include "qemu/qemu-print.h" enum { diff --git a/target/unicore32/cpu.c b/target/unicore32/cpu.c index 802e2f1eba5..b27fb9689ff 100644 --- a/target/unicore32/cpu.c +++ b/target/unicore32/cpu.c @@ -17,7 +17,6 @@ #include "cpu.h" #include "migration/vmstate.h" #include "exec/exec-all.h" -#include "fpu/softfloat.h" static void uc32_cpu_set_pc(CPUState *cs, vaddr value) {