From patchwork Tue Apr 10 19:39:11 2018 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: 133113 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1644676ljb; Tue, 10 Apr 2018 12:58:02 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ot8fsJSu3uGiS9Swmc9bYm6ort/jXuguBToUKnSnp7jlaMCuozpQitCSJ/AGKOUYplDKr X-Received: by 10.200.55.215 with SMTP id e23mr2957051qtc.158.1523390282042; Tue, 10 Apr 2018 12:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523390282; cv=none; d=google.com; s=arc-20160816; b=yM64uLncKbfFRKVhmd91HeQuiDWfDtybNegNq2TwqdTaRgSZuEaoQOaQT9RGDfGr0b IJGe0VHyEjF6850HbpI7iQ3ZmPTWRZkaWjkMNcoZF8yAx2v8pAnZ1u9iRYUCWLMuzMlp dE1IVSwOMmayQXRUSue8qk/lgPfTqyV88Ztq1X2dtrodEHg6vQZuxXcuPN7Lj/1o9PyX 7FIvPo8SxflbadWiuNWDjLdlq7CJQQ07q7PTPAowkGj0A/NZG9zJeKPlM5pvr2cxVsQT GYyXxccBN78uitopymhHtfXrxj71NbHdO2z7FZDgqIib7FRYxZuU3YJGRLeZJ9krrKkf NeoA== 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:arc-authentication-results; bh=GwZAl7NvydkzsvTJf8QLZpERA2O9JiLxJ/KxnhhVL7Q=; b=UwcoxU5JgxT/d0puiSqwyAh/mZ+qhdVHB2DH5kbYnS/W7Lc7+Sv7aTX8l/9O+NDsuj U0YNIuvNTE1ycOh5O5N9cQ2Ni3a2URKcPHnep8vh7QC251jtXxdBPNMQ3NiXEWGXYvtE Z76moOiiI7JZJ1WGO+UI6PV52HeQH++hGEEv2CLOPUBMHqaSnW26Yv0yWSeFAHgNPO8c BrUwStfPp4vo8v7g5tJVF01XlhdqbCibvPczxRS1lWE87EJlKp5RnNWimS32+t4cgca3 nGkV16F8qK3E4ThPcnx6nFuL0LBu7WL4hUX4kl39VM250fS1n391OUwF4+iEPcLTA8ui XEKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IYB/XHtM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g6si2965343qto.11.2018.04.10.12.58.01 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 10 Apr 2018 12:58:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IYB/XHtM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:40331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5zOz-0007vx-IK for patch@linaro.org; Tue, 10 Apr 2018 15:58:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5zC8-0004xj-10 for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:44:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5zC6-0001Gh-TC for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:44:44 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:37182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5zC6-0001Fd-Me for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:44:42 -0400 Received: by mail-wm0-x242.google.com with SMTP id r131so25460259wmb.2 for ; Tue, 10 Apr 2018 12:44:42 -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=GwZAl7NvydkzsvTJf8QLZpERA2O9JiLxJ/KxnhhVL7Q=; b=IYB/XHtMxXopPA3K+BYueiHDB8mO146GdlUkGsxBeoycBiF+mQFPQolRNsQ1zvOdpu cRQm1kjyCktkXgn6B53B2hJnf7H0aJhgxyIPTr1F81ktFdpDyrF597EJRsVlLP0qcE9a CEj6cqKPR1knr9PezshFQaDU3sFrsiHDjCeE4= 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=GwZAl7NvydkzsvTJf8QLZpERA2O9JiLxJ/KxnhhVL7Q=; b=KwhdEvoR/ZfYO4o4u005Q06ambO1ub6+hLnV0n13mCZjdf/4Lo0M7N8G0nHIbJqPM6 uSXzPJSkvb2L31PRezZZDE2VI+FQiNRntozVs+eEQYPBxj2l6xUtmS4NOEsHgkOyNucw hIPeX2yksxzb23O7eMq7vWZg7s4X34I3fmzMFdC7pZ8NQ27e/FFpidzq8YJW8sNQ9me3 Xg2+gI3Fe1abXU+zZE5V7ejVDvcqUDAaU1cwyZ6F1g6rnyuOecIUbFqc41iQR3lpDvu4 atxgix/YFi8c1oUe6CEBlvoLeXbQA56wDUFrTNzvR3slZrIko5DELMnhRjE++tIfQpdz kTbA== X-Gm-Message-State: ALQs6tBXelO07+S1WaQ3n1YXGQo82BhVxhdugcewXjMzol760ilfyoTb 09vzAm+tib61GmTQ1E3f8OXYLw== X-Received: by 10.28.16.18 with SMTP id 18mr510473wmq.81.1523389481602; Tue, 10 Apr 2018 12:44:41 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t8sm2119016wmc.20.2018.04.10.12.44.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 12:44:38 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 901633E021D; Tue, 10 Apr 2018 20:39:20 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 10 Apr 2018 20:39:11 +0100 Message-Id: <20180410193919.28026-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180410193919.28026-1-alex.bennee@linaro.org> References: <20180410193919.28026-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:400c:c09::242 Subject: [Qemu-devel] [PATCH v1 16/24] tests/tcg/i386: fix test-i386-fprem X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , famz@redhat.com, cota@braap.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Remove dependencies on QEMU's source tree and build directly. Signed-off-by: Alex Bennée --- tests/tcg/i386/test-i386-fprem.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.16.2 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/tcg/i386/test-i386-fprem.c b/tests/tcg/i386/test-i386-fprem.c index 1a71623204..771dc07433 100644 --- a/tests/tcg/i386/test-i386-fprem.c +++ b/tests/tcg/i386/test-i386-fprem.c @@ -23,7 +23,10 @@ * along with this program; if not, see . */ -#include "qemu/osdep.h" +#include +#include + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) /* * Inspired by 's union ieee854_long_double, but with single @@ -39,7 +42,7 @@ union float80u { unsigned int exponent:15; unsigned int negative:1; unsigned int empty:16; - } QEMU_PACKED ieee; + } __attribute__((packed)) ieee; /* This is for NaNs in the IEEE 854 double-extended-precision format. */ struct { @@ -49,7 +52,7 @@ union float80u { unsigned int exponent:15; unsigned int negative:1; unsigned int empty:16; - } QEMU_PACKED ieee_nan; + } __attribute__((packed)) ieee_nan; }; #define IEEE854_LONG_DOUBLE_BIAS 0x3fff