From nobody Tue Feb 10 20:14:33 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1523390251035409.5714011801057; Tue, 10 Apr 2018 12:57:31 -0700 (PDT) Received: from localhost ([::1]:40331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5zOJ-0007vx-4w for importer@patchew.org; Tue, 10 Apr 2018 15:57:19 -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) 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) 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-Google-Smtp-Source: AIpwx489znD6GWT62XHNIhEQCjn+/hV0wkeK8Do8KmHgipP0bT5V6FbVKVjHwcW1JnKFDAfnQGN/yw== X-Received: by 10.28.16.18 with SMTP id 18mr510473wmq.81.1523389481602; Tue, 10 Apr 2018 12:44:41 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=20Benn=C3=A9e?= , famz@redhat.com, cota@braap.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Remove dependencies on QEMU's source tree and build directly. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/tcg/i386/test-i386-fprem.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/tcg/i386/test-i386-fprem.c b/tests/tcg/i386/test-i386-fp= rem.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 . */ =20 -#include "qemu/osdep.h" +#include +#include + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) =20 /* * 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; =20 /* 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; }; =20 #define IEEE854_LONG_DOUBLE_BIAS 0x3fff --=20 2.16.2