From patchwork Fri Aug 9 09:19:34 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: 170896 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9733250ile; Fri, 9 Aug 2019 02:20:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQwU+tKQSQ7dhOCJ24Z80I5a76A8VZWLMSh/RV0KbGYiJ6ZDTJKJKscDRTcjzu1Uj0hPZr X-Received: by 2002:a17:906:11da:: with SMTP id o26mr17568183eja.64.1565342409748; Fri, 09 Aug 2019 02:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565342409; cv=none; d=google.com; s=arc-20160816; b=SSF3IlLhQT6uHQVBUAGAPIebm+mDvAiOKeCwSLp7G2Yw0wbWGgPfrRTSwbRTZ1z3Y3 NNPFQwZmhFUD8cdm+2QCyD+gkWUSlimkO9e8T6gchqv0h52FtMp9Jr1utu8hLeP++a8D 3oTYINv+961SP4m639/XDjxj+0acIDPei0A7XVi4fMlTxt+plykGRGIq6sxdjyXczwVC DlNm2cg7slH0TjG0FuYFQyVOsMs3lJ8bJI3sXbRah0n766heV6Cm+iO1lD5UGE/JsmGj xaBLk6Trz/TfTvZN5KBTC4XU0A2i+dQjOmaXT4OBAB0kizqdr/l0UCQtV28hBbNN7oPF Xcow== 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=ds83hJyVy3euPF2S1v2mM17n4r45qbvhIwoyu2sO0lg=; b=cbRSNTYMz3vaSy8dLPGVM0L1UoMPtpvEZsnsxf0tMrqMI9dr2BnfXOZYsJZyEJFRXh vVngxiCY0b9z6iEhuortvdYuusmZMOngVTc+wwy29Bdf48bqy5MeMVnTRm1bZGUfcaD+ AcJ1jWXhRt5bzTu0Vl3hujtPk/n3AYY+xw53w5b2spmZwMk0MjZMdZBGF1vRNYhzQNrE 7Yr6v7B7Itv5pRFAxGB4fmUaxXpQZnxTLYzyLNk87JmhW7w/ADDzDf9Na0XFTzLAV1pz MFsAYVuP2NsRSTIAsh7ub3DDZvd6J5x1vaEGWy+WnRdImIbmf3KqVrIWHpb0NE3QMRVw /o6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="wG5LdLv/"; 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 y25si2616263ejk.130.2019.08.09.02.20.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 02:20:09 -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="wG5LdLv/"; 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]:57536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw14C-0005xR-PN for patch@linaro.org; Fri, 09 Aug 2019 05:20:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48007) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw13o-0005x7-OO 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-0007YG-QM for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:44 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:43219) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw13n-0007XG-GB for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:43 -0400 Received: by mail-wr1-x441.google.com with SMTP id p13so22980724wru.10 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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ds83hJyVy3euPF2S1v2mM17n4r45qbvhIwoyu2sO0lg=; b=wG5LdLv/jeloLlOka4BHFlK3tP7KftKjcNXc5AHuL983nTS26nFSgTpbaTl/nVdS99 UW6XB5KGwiQhCjsgTf+sEyl8mXlaZ5S2lGxqibMPnq3pWYZAuZoQeflFKlDYMhZ2mKoy fWS92ljiaPD+m7df9gsdpC19A35xtL1Yre6GyPfd3Nxa0BTTZGhaxCFkiAhdTWSandM+ 30SLb1R/wcc9n05n3cIXa6dBUUwHWArAvZTjf7T/JjPvfnNW8d6HR10oJ3uslSrxgPxy phSG6eU+RIGqcXlxC5qdJ6PSEHenvOZjJtnTlsCExTccAybXfglJ+pEG1AvUajY8n4NY x2OA== 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=ds83hJyVy3euPF2S1v2mM17n4r45qbvhIwoyu2sO0lg=; b=So3Np9xMdBkgDxjjbnUoHZpwBe+vfIlg19t4URAstWJV58974s2aTL6UzpO++lEyXM +Jk2/LJ6R9ghFaQRviFrFya2yn2iJdmt2Cs/VlaxVsaVgj90mtYZ5OeUl6ceCfkDXGPi BiPPoU5yk1PECSK1Zr8ZpqL6OBochN3K7KMSIUppk1LkT5f+ytmAeZMgZfabFjYtMeZt J+5QqqIZphAz5WYMcH256nn3YEZVQR9TacbS9Fu4nKiKNud/NOfe+joH3o4JrMfMc0Qk qpIxjbVVZEoATHYk61UVjFI2Vy0U4ysUBJ8YhhT4lDCZ8kKCV3ZEKJjtSOllHmwbiEiR AABw== X-Gm-Message-State: APjAAAUylddaxyhHM2agqqzJ6C1btfCyD2UMFfVtctcvxD7t/5aNWQjF U72+VVFrbeKijsPet9miZsP82w== X-Received: by 2002:a5d:4b41:: with SMTP id w1mr2997397wrs.23.1565342382417; Fri, 09 Aug 2019 02:19:42 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n12sm8239608wrw.25.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 005341FF8C; 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:34 +0100 Message-Id: <20190809091940.1223-2-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 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: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , armbru@redhat.com, Aurelien Jarno , Peter Maydell 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 Acked-by: Richard Henderson --- include/fpu/softfloat-types.h | 2 ++ include/fpu/softfloat.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 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 *----------------------------------------------------------------------------*/