From patchwork Fri Aug 9 09:19:40 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: 170895 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9733145ile; Fri, 9 Aug 2019 02:20:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqykeK6wURuhzPUN94yEXVd933KCqv92MCrk+HXw48ILVIJ8qwm+bO2wXRlEzQwGNwpP6lFV X-Received: by 2002:a17:906:4890:: with SMTP id v16mr17813562ejq.296.1565342401034; Fri, 09 Aug 2019 02:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565342401; cv=none; d=google.com; s=arc-20160816; b=bgNBydbrVqfM/EQcVu0vNdz2aiPjPDCRmOc61FMdzlRfyF3BLVH78WBZru2aUnFw3L bO1QMmeYtp3l5qB58mjICJvC50S2v0x5jWt6KJlOvmhidlcGHUAO0iwOOieiBkJpbhfB 1tG0CfUXHzQJJ+WXRQPLG2zErdycCgbDvx0ALc5UFD4W9deqaAZwLhKZVBCmgqv7k6+j WmU4l6HHDxoRBAu4dNvv0feRzC0ZbIHZ1J5RSoIaClEX68yKBerGd7R2v/SqosYSrLMi R/mUm5T9FMl2kPc7ClwKYeUDJb1poAuIg4Ycujb070xj5CfX2HMwi4BRDemZEYaKAL96 Mj1Q== 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=jg/eQC5u9xh3QI/xnJki4J/dDhPvHCNndIskUdzw8E8=; b=iZujkrdpcX9TN6etver+EEx96JAlO8qEQmiM3RQE3hJDpUmTvs+4a2ftRWtLT+IBfw 4nWWwXg0L52+CT9IPeV8mJzEQVWNyOld4HT3Svx6jPjKkxmEmvIq/V/WubVRu6Gy1nM+ DmRbhqWUgMIQ+s/pSulzOPbKsle6mcHKTwJsASkzDSbsOihadu7UAjE34BK4uFbjDCJ6 G7cGGjeyiTUlj6EMGX9Z2ZsB3mLanlzOA1lKm3XAr0X6o9oz+HO7ms0JH88PyWXa8uyT ALzo4dqKUVFaWNvovAwGckaUzDB0nZb2nqPGPh1lb4dLqkbVgRqfWb0/piPGjCjDseUf 8BjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F6knsPHg; 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 ny22si31306382ejb.34.2019.08.09.02.20.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 02:20:01 -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=F6knsPHg; 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]:57544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw143-0006BV-W0 for patch@linaro.org; Fri, 09 Aug 2019 05:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48107) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw13t-00063F-PX for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw13s-0007gX-O2 for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:49 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:43220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw13s-0007fL-Gv for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:48 -0400 Received: by mail-wr1-x441.google.com with SMTP id p13so22980931wru.10 for ; Fri, 09 Aug 2019 02:19:48 -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=jg/eQC5u9xh3QI/xnJki4J/dDhPvHCNndIskUdzw8E8=; b=F6knsPHgbPXLBvUFks8QHXu9m4XQHH2xVA5M6n4ENY46YQBWlTQPO7xHYzYUQnwiTT 8Npc1+Oio0opINc8Xw81bXd5bjizSms8+RjBm1N+tqmUXT3nxDhYMcC5Mj7z2VHh3n+K GnwDFeGzXnWDb5ClSADwvcL5EvxQ/lV1DHm18KqaaybsQD8k0YTnqCZX+nMJSkdTUqiQ yNMxRWzpImSVCU7BjR/XP+dgMEuhQwhfgZeeGAhaKjRNqfosd9xXMEvTN53XbckRthxr XVuCXJCIrMNivpyZtIGdGskK7GcL+OQ8TBhk3Ujos7PXqRypo5+FK/ShJCpooS7kwoF3 WE2Q== 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=jg/eQC5u9xh3QI/xnJki4J/dDhPvHCNndIskUdzw8E8=; b=uc2r1zrGWgBgkSbVweEdYo5Q+Aa33yHSoZ6HOO78i3wm3oxDHV6AcapFHJzBzrmSiO 5NmhTeEkOEt6S4KlhiR0QDfaBx4k12o8wQ9cyQswBNF9ujETP/TutRQfEAqBb1BE73Xw QsveAAbvpNcHPvGLb8hKEQAfhx7h6xy2xjSs0N2+z7c+venpvqcN0gejmpdDkcNzsi2u mIth3uRwoNPWsKJZpywVYdBQgvfqdOImDrlL43xXBhnZJzCVNaEvbeypaeemeCAyQWc3 eRjwBGZyp55+aGsgZFmGgIGLDNcX8wa5A5lLlrLlIFdQ+PY2YQTJ29WX4SQu/mopQerm 8N1g== X-Gm-Message-State: APjAAAXk+pwIOmfQDheZTZYczfSDCWDIDO9U4ZXmsi+QZrSBZhbIgYxv 5TmHyTDz7CCSTQvi2YhlN8UuYyY8M7E= X-Received: by 2002:adf:e710:: with SMTP id c16mr13188156wrm.292.1565342387409; Fri, 09 Aug 2019 02:19:47 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r4sm63281255wrq.82.2019.08.09.02.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2019 02:19:44 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8D86C1FF96; Fri, 9 Aug 2019 10:19:41 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 9 Aug 2019 10:19:40 +0100 Message-Id: <20190809091940.1223-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190809091940.1223-1-alex.bennee@linaro.org> References: <20190809091940.1223-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::441 Subject: [Qemu-devel] [PATCH v2 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 , Richard Henderson , armbru@redhat.com, "open list:S390 general arch..." , "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 Reviewed-by: Richard Henderson --- 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 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) {