From patchwork Fri Dec 14 13:54:40 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: 153838 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2096250ljp; Fri, 14 Dec 2018 05:55:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/WU3UGgJNlOMltHoxFECHRW/nDCozLlOMqEOlaooH/mYosV7R1Hel9usUFXi+n+9rSBwfVs X-Received: by 2002:a0c:a086:: with SMTP id c6mr2697446qva.154.1544795729833; Fri, 14 Dec 2018 05:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544795729; cv=none; d=google.com; s=arc-20160816; b=LdZh6mKoFeJ0z/oNERPspLejFN96KAeMl4Y0SMcRwUAnYXrOvG5WCgdBUAT1ehdyKR G8Kw9rpe1vgJxyCa8wI+CiOYFYu9ag5yUUsajnbHC1G37hKpvoP4pofDZtoqWoSCob6T omRLCKwHzoHwR4cRCmo9/aCf6JdmXEUgDB0u4c1cDweBm8jPsAm1JVCMg7QvSax03OnG B8qiGerY6b+DM/YBneN7gzrHULq5PXPFoX/lj7GRu1SBSmS5kmb+kTmjFs6K53bf2YxE tSdHOVse+2vbl3DnZNvTlKnkE8HitI2f/DvAWRBt1/5hsONGy/GfBjmglpvk9aXlBjku U7ig== 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=IiPSkjJ5CpyJQD15Ltj0ZzJSbb/FiP/fKQ7Za7fFrVM=; b=JM1L2y+SL/5sOn7rTjpA3ughkIjOHWoRN9qKm3LTgf9GO7NCVIiEYhEFUmt3yMv3LO IZ34ApK4NcY9F2boYrJ8jr4XU4zpY8/d9h9BKtHUbK2c/jyRHBbAiZlE2ZsDb8WMgHOg /3VYR7eMnfqO0bqm44/0qV1LVGbSe2E2G8EvBGrZsZTxD7pPYLvclwLxiEvYhWPh/ilL /ZWjzLCInvdpmLGLZRVCCp80AM2qhtQvjV8VFbZzIHE8z5wJtN8I9d4vbiV/GX299Xxv 9ZC7unf314jLGlkyUPObhvi8q+q4MTm2UnlGruUCWBiSJJafUwxk2VqFWJ2U1Ac+XMGa vM1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UnJ8YHyz; 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 x195si2683615qka.224.2018.12.14.05.55.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 14 Dec 2018 05:55:29 -0800 (PST) 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=UnJ8YHyz; 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]:33643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXnw9-0008MO-6Z for patch@linaro.org; Fri, 14 Dec 2018 08:55:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXnvg-0008Kv-D8 for qemu-devel@nongnu.org; Fri, 14 Dec 2018 08:55:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXnve-0001vI-Ix for qemu-devel@nongnu.org; Fri, 14 Dec 2018 08:55:00 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:36222) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXnve-0001ur-CL for qemu-devel@nongnu.org; Fri, 14 Dec 2018 08:54:58 -0500 Received: by mail-wr1-x436.google.com with SMTP id u4so4543847wrp.3 for ; Fri, 14 Dec 2018 05:54:57 -0800 (PST) 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=IiPSkjJ5CpyJQD15Ltj0ZzJSbb/FiP/fKQ7Za7fFrVM=; b=UnJ8YHyzIeHVf4UK+fCndRGIwcY5STcPby3ZDqIe55yzSeQVFI1hmZpP36OktZR8DS 66oZGchgkheAuLrY1lwFb7CQ7ivBaiAKmvbp7gxfGt0RyevU7qIQcg5hx83hiaCqyRro VEKwWKtrqAdC/EtX7UlIXNgglgoiKFVPesekE= 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=IiPSkjJ5CpyJQD15Ltj0ZzJSbb/FiP/fKQ7Za7fFrVM=; b=srV79NBP9cT9YFwaQvumGN2vkkLyAzEJOaS6jo/y04QqFv9irrMGHUlmL9x5KeJxUC DYsdpLb6h51ept0TgE3VhYz5AcdXjtKP4LTlmS3gRWzWcOCIJFEIjLfOf4hg+gVS8yO9 6TOhbQZarZLn9Yd3UbCWc6gEv4zEZPd/cxxAAvKhrvAWI6N43BnSjY+eSfzSAwrq4+Q6 DLIWrM4r8opQsSB9xItvt1GzFhimgT/o2CG6qgLywlSAIwlpWmGanAbXCW6yZz6O4QUC RUBOXiVIxpPmjygrUEUr/xzrjAa8dWx/j5dGAYA5Lk/8TTKKwli2B9mhSopHqF4cUqBg xVoA== X-Gm-Message-State: AA+aEWaM+Qdh4qYQjQlOE+5c/VEe66kuGZcF6qnNoBDxN0LBStHMhldN EV6voB81K7sH6It/w4xyLTOXVQ== X-Received: by 2002:a05:6000:10d1:: with SMTP id b17mr2708063wrx.306.1544795696824; Fri, 14 Dec 2018 05:54:56 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r3sm7426286wrs.78.2018.12.14.05.54.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Dec 2018 05:54:54 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3D8363E035F; Fri, 14 Dec 2018 13:54:53 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 14 Dec 2018 13:54:40 +0000 Message-Id: <20181214135452.25936-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181214135452.25936-1-alex.bennee@linaro.org> References: <20181214135452.25936-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::436 Subject: [Qemu-devel] [PULL 03/15] fp-test: pick TARGET_ARM to get its specialization 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: "Emilio G. Cota" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" This gets rid of the muladd errors due to not raising the invalid flag. - Before: Errors found in f64_mulAdd, rounding near_even, tininess before rounding: +000.0000000000000 +7FF.0000000000000 +7FF.FFFFFFFFFFFFF => +7FF.FFFFFFFFFFFFF ..... expected -7FF.FFFFFFFFFFFFF v.... [...] - After: In 6133248 tests, no errors found in f64_mulAdd, rounding near_even, tininess before rounding. [...] Reviewed-by: Alex Bennée Tested-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Alex Bennée -- 2.17.1 diff --git a/tests/fp/Makefile b/tests/fp/Makefile index d649a5a1db..49cdcd1bd2 100644 --- a/tests/fp/Makefile +++ b/tests/fp/Makefile @@ -29,6 +29,9 @@ QEMU_INCLUDES += -I$(TF_SOURCE_DIR) # work around TARGET_* poisoning QEMU_CFLAGS += -DHW_POISON_H +# define a target to match testfloat's implementation-defined choices, such as +# whether to raise the invalid flag when dealing with NaNs in muladd. +QEMU_CFLAGS += -DTARGET_ARM # capstone has a platform.h file that clashes with softfloat's QEMU_CFLAGS := $(filter-out %capstone, $(QEMU_CFLAGS))