From patchwork Fri Aug 9 09:19:33 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: 170898 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9733927ile; Fri, 9 Aug 2019 02:20:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3qIl1IQGFoQzaOWObrf3GZ0LCJ/0s0MNdgV17JFus84Vl57y8J9R8etV0FFTgD6sRXjHH X-Received: by 2002:a0c:9687:: with SMTP id a7mr17400140qvd.163.1565342449850; Fri, 09 Aug 2019 02:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565342449; cv=none; d=google.com; s=arc-20160816; b=Hfbz999pqPRRYpTdItkvsJzt+QQNXW9rcGEiOQMJzuz9j993r52RscUy1+wHZKfwJ1 9U6/Az7edC2spj3lupWWhdSIeU/g49joh7ScRfWc4r4Nb7/ycwJEZzdlSeboQcKgs4Hh UiCEk44jG3jJ4n9qXOA5bNSX7cOYz5UC8bk+AdP7l9D2i8eFlacZ1r18iUZGzZak/yVP j165S4WWbzqA6mU2SE2p6vyjvC8xCgSkwNMdly1xbiDA7uX4EutTEAMXval6i80Z2ano KMEQvGZdsgIna+G3V2zcwnl7pRDG/eEShniqhypBopHObpCy3rIdpDqQw/xAOHKdAMvi tuJw== 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:message-id:date:to:from :dkim-signature; bh=Eh67ZN+wSqNIEm1UhPEvUSAm2SqaYFM25aW3NNCzhgg=; b=mMLYOw9kldlhnnqEFuED2VNKWRXZJ2USf2WWujQhoa3YE9EjuxyXE4EFqyUSBcKjPC emMHch3rD5qQ/7w0R6OFXAKPV/Jh6AK9QozWUE1kqvdwqOPO+5t+0dS4+bWOvXGRuA5T u5eenQU45aNUJGtDsfpQvCl8Bkwv5bDoKS3K1YIxFtmDU3+mJuwcdkiYXgY6OAQnHIux MxuX74saHigzmRqxrtXMDbedGnEWfqUfHTuv5qrTM+EQJJ6efYhXpygUQ77mAVFrtCOt pLXVQQYYsjzIoRr4PzrOFX69uWJ//Hx5IM9Rye3BcZnu56Z+cO+y5/nENkPf+tBCMclK 88iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bAoBCUIN; 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 m51si62518333qvc.179.2019.08.09.02.20.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 02:20:49 -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=bAoBCUIN; 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]:57554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw14q-0000YZ-Ju for patch@linaro.org; Fri, 09 Aug 2019 05:20:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48010) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw13o-0005x8-SB for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw13n-0007YF-QI for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:44 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:37078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw13n-0007Wr-GT for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:43 -0400 Received: by mail-wm1-x341.google.com with SMTP id z23so4968170wmf.2 for ; Fri, 09 Aug 2019 02:19:43 -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:mime-version :content-transfer-encoding; bh=Eh67ZN+wSqNIEm1UhPEvUSAm2SqaYFM25aW3NNCzhgg=; b=bAoBCUIN9HoMrBqO6yu6WcJKfRSyMJVYp8id7TP6ybU2pFyciaQ2NwZXDfiQ48mIKR 1ZRwtGilXxSwTJ0l60dsMKGxGfLDme6DHSa8TvYJlW9LnoqLaKyQhowZQVe7KUzCmszX BzHJhZ9VHmSTVfpHCQsoX7v9FFQMiA+qVOQEvnAzeyeXGM8/fvXWZsVkCkCVHOVHdRNa Xo1cqwhS+Zmny6b9b0E9t6/uh5YwkNqNJj2SjzLGM2Wh3k7sSPIYKPSWaqXWfb8HWOcZ tbDYGgb6xMkiP4KHMHUbPMI22drFnScJ4KZRA2lePJZTUxu2ucFcAkmCSgJGnjRvxTpl QKCA== 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:mime-version :content-transfer-encoding; bh=Eh67ZN+wSqNIEm1UhPEvUSAm2SqaYFM25aW3NNCzhgg=; b=jgzWDeCccOnJDr5hGRmL/pgu7mCLfMQ++7FCC9nWaphmbwoAXIp1ps/klCxkB+FLGY toeF0xXlJSWqrehdvkBBVjon1v3K3NAVSTufLpK8oMolcYT0dzhyedmThSF9iHU1Raav LG63AXnck5GhR6okcQ385xGaLZIGh4emuLIBMw2BFbmSTZhQh5M89YbYSxSepeRnni9z nBXwyFWszkKctESUPdhpLVylMWeIpXh4V8tWOcgjKBv333LJ5gmz+rmKJBaCrVyt7OOv HaXiGSgTTVmhrhj5Al+c+/Dl4k2gOHHBZSEwjMTHhAqDTwyLItvtI0JKt1i0yUYkZeYV /jVQ== X-Gm-Message-State: APjAAAWzT9nNofJ3hd8jWoJzarJ65TQgR3FRVZq1Qtw8oBry0/V3y1IL QuyVPB/IY1nqWumiKVuqPoctLw== X-Received: by 2002:a7b:cd8e:: with SMTP id y14mr9660599wmj.155.1565342381928; Fri, 09 Aug 2019 02:19:41 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x8sm3771593wmc.5.2019.08.09.02.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2019 02:19:41 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E05981FF87; Fri, 9 Aug 2019 10:19:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 9 Aug 2019 10:19:33 +0100 Message-Id: <20190809091940.1223-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 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::341 Subject: [Qemu-devel] [PATCH v2 0/7] softfloat includes cleanup 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: =?utf-8?q?Alex_Benn=C3=A9e?= , armbru@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi Markus, Here is v2 of the softfloat headers cleanup which addresses Richards comments from yesterday. The following patches need review 01 - fpu move LIT64 helper to softfloat types (1 ack) 03 - fpu make softfloat macros self contained (1 ack) 05 - target mips rationalise softfloat includes Alex Bennée (7): fpu: move LIT64 helper to softfloat-types fpu: move inline helpers into a separate header fpu: make softfloat-macros "self-contained" fpu: rename softfloat-specialize.h -> .inc.c target/mips: rationalise softfloat includes target/riscv: rationalise softfloat includes targets (various): use softfloat-helpers.h where we can ...pecialize.h => softfloat-specialize.inc.c} | 0 fpu/softfloat.c | 2 +- include/fpu/softfloat-helpers.h | 132 ++++++++++++++++++ include/fpu/softfloat-macros.h | 2 + include/fpu/softfloat-types.h | 2 + include/fpu/softfloat.h | 65 +-------- linux-user/mips/cpu_loop.c | 1 + target/alpha/helper.c | 2 +- target/microblaze/cpu.c | 2 +- target/mips/cpu.h | 8 +- target/mips/internal.h | 7 + target/mips/msa_helper.c | 1 + target/mips/op_helper.c | 1 + target/riscv/cpu.c | 1 + target/riscv/cpu.h | 2 +- target/riscv/fpu_helper.c | 1 + target/s390x/cpu.c | 2 +- target/sh4/cpu.c | 3 +- target/tricore/helper.c | 2 +- target/unicore32/cpu.c | 1 - 20 files changed, 157 insertions(+), 80 deletions(-) rename fpu/{softfloat-specialize.h => softfloat-specialize.inc.c} (100%) create mode 100644 include/fpu/softfloat-helpers.h -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé