From patchwork Thu Aug 8 16:41:11 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: 170817 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp8813593ile; Thu, 8 Aug 2019 09:41:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwv01JcnbIgeJjR1VvXeMzvbeYVXCfivj7UVefG5gNm12C5HtGjNfT/2YqKZGFqnU8mWb8A X-Received: by 2002:ac8:23cc:: with SMTP id r12mr10224882qtr.241.1565282497630; Thu, 08 Aug 2019 09:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565282497; cv=none; d=google.com; s=arc-20160816; b=SybxoHTi9bNMdTSjTNwOdm1/FmgJZFeK0HLYoL8iiIpG/F5n1RZibxKqcDvs6KLS+k ZhJe3Qhs9LyzfW9xpaD6Hu/3+IvArUTTyJD8dDwXjZ7l8HuRb3xavn1LnbiOAnwgpzpZ fGMrqoxngaafoaTkFaJLhVYFknSa9q3fwMiHrWPs+eVEp+33Tszv3y+AaBH4XLQokwOa MfWiUbuHjtMgpHl97Agow2BVFsXj6gma9GMyqn/c9Xo++pqKAg8hSG0NhIqEEEhUaMYu NFMbTRASjUWvgzRUoqBsTpR4mMil0dGx6Iyq9QDjgz72FqDUVfMAP4xYc+TIKoZ7//ZS pS/Q== 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=hDv32oe4BfXiw2BHcRVZz1ojHlvhasaJvI/EtnY/8lY=; b=UhtP7NKgLm3GgZLlbCfaAgJZUpVgbLQjUW+uaxHKKQz1XjkuqkoT9BEoykiDPO1DS+ SD23NPFKTKS3/FNNlH5FVEbSbgM/U5t9hT554HTwu80UJ70BnMvqEwvOC1KpvprdJ0ax 1+6b+AkBn9pEGeDtk0xKrK2Kf/yw+Age5beJ5YKgnUX8AreiJlpp4IJsE8U+cZXulFeu C4mF8y7EHTYfMAEzX9s8B+d2doamR8t8EU15chTyv1GyCIJq1qLCPC/tFLrvmWlxncwK iK1nYrhKvjkAWKA6HNuQVuMSORk3y3x9WzHhi9Ce2CChUNUOwZxKqXEvtxEyb7Tco4n2 /orA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=A25eAQcw; 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 j1si4099601qkk.273.2019.08.08.09.41.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2019 09:41:37 -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=A25eAQcw; 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]:54076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlTt-0004TI-8P for patch@linaro.org; Thu, 08 Aug 2019 12:41:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55068) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlTe-0004Sn-Ba for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvlTd-0007SO-1t for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:22 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:40365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvlTc-0007RQ-SQ for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:21 -0400 Received: by mail-wr1-x444.google.com with SMTP id r1so95538927wrl.7 for ; Thu, 08 Aug 2019 09:41:20 -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=hDv32oe4BfXiw2BHcRVZz1ojHlvhasaJvI/EtnY/8lY=; b=A25eAQcwD93kvb2oHHXf0hTq1oWW0jP1Ts28fDn+SwSx54U0fr9H58IoQm/mSz0uON eqA2Aq59bqLEvg4Ixu/ukqSeFDbb7dWfOm8TGHy+BvS3/TQgdQoT/G07S5YsH4Szsaim 5OL55EkUCspbfQyagEUI/mmM9SA5qYm1Hs8+FlqpZNV+ScLPmDSae2pc0IND2SxUFIQI v3/9KXjOhCTtdiWSjAaFYqgxJzF/tkpn2p+Q6+ut1DOLoCMCcPxEwExWEk7GJqBEaEeS 9kD+ErwWvTJfU3JGVcbflR3Tp5WJ37R0eIklTccNasDYDEU2t1jPF0XtA6YS/1tR9Dit dqGA== 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=hDv32oe4BfXiw2BHcRVZz1ojHlvhasaJvI/EtnY/8lY=; b=UbGSCcbKUEqKDN/2NlUTk/IQejpG2rKXA9gTQLXePBQr+bizRezroEAUE3xGdCdSxx lK3jUGczXu2rcJ0hZrSRGiQ1yyGhvQmabmf5vWX7kJeQFX+x9ZFrarMjUA28qmERR+Ed Of7acr4gAUzQiNvG4VC4jQCqZglG77vg5ceJ9GTyV5LQvrNFZI7vk6Lyl5BHRBe8Xv9w tQOTPYtPLynuQPEUSLWRfwV3BXgHocNb8svl0qBd/KbZQQGcn27h3LctniW0jGEpoOpn A32KcxLbPeJgSsC9c+WQu7JwtlE3cdYrUOXKhiO7IFwi5oXQZtT24j1dKROqOh8z/goJ uEQg== X-Gm-Message-State: APjAAAXFsYBIiq7AwI1a5U2K2Tz7988ODrm4tw3IGHg+B507QiiDI5q+ bcTn3v8cMWYtHlicrSzMB7TeEw== X-Received: by 2002:adf:f591:: with SMTP id f17mr18650558wro.119.1565282479691; Thu, 08 Aug 2019 09:41:19 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a6sm2729198wmj.15.2019.08.08.09.41.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 09:41:19 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 406841FF8C; Thu, 8 Aug 2019 17:41:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 8 Aug 2019 17:41:11 +0100 Message-Id: <20190808164117.23348-2-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 1/7] fpu: move LIT64 helper to softfloat-types 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: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , armbru@redhat.com, Aurelien Jarno Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This simple pasting helper can be used by those who don't need the entire softfloat api. Move it to the smaller types header. Signed-off-by: Alex Bennée --- include/fpu/softfloat-types.h | 2 ++ include/fpu/softfloat.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 Acked-by: Richard Henderson diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h index 2aae6a89b19..7e88152dfc4 100644 --- a/include/fpu/softfloat-types.h +++ b/include/fpu/softfloat-types.h @@ -80,6 +80,8 @@ this code that are retained. #ifndef SOFTFLOAT_TYPES_H #define SOFTFLOAT_TYPES_H +#define LIT64( a ) a##LL + /* This 'flag' type must be able to hold at least 0 and 1. It should * probably be replaced with 'bool' but the uses would need to be audited * to check that they weren't accidentally relying on it being a larger type. diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index 3ff3fa52245..d9333eb65b8 100644 --- a/include/fpu/softfloat.h +++ b/include/fpu/softfloat.h @@ -82,8 +82,6 @@ this code that are retained. #ifndef SOFTFLOAT_H #define SOFTFLOAT_H -#define LIT64( a ) a##LL - /*---------------------------------------------------------------------------- | Software IEC/IEEE floating-point ordering relations *----------------------------------------------------------------------------*/