From patchwork Mon Dec 17 10:56:38 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: 153985 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2332341ljp; Mon, 17 Dec 2018 03:05:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vz4/R68xS7OCEqKmqT0q1N2YHtT2/Zm9WfILAclDfu1YdiGgpaP4phcP6Nt7gI804Q+Gig X-Received: by 2002:a37:5bc1:: with SMTP id p184mr12229113qkb.121.1545044753280; Mon, 17 Dec 2018 03:05:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545044753; cv=none; d=google.com; s=arc-20160816; b=r8DZA0MnLtpqOQJH1fmx3/8HdC7HSF2j97++bDFgk94Zznnk2j67LUpNuIrJnDnhad WU0bQiI/4jY3I6O7gkQbQon6wA2H3pQVz3L8oinU+i24mht9Z5wSJ10hewq6h01FEixM KPKiJEBX6bzQ4sXlX5Mww0YBMCd7MuqVZ5zODQwYb9R6LbbfgHJlwhQ2R1acl8Yd2V9m DEJTAoBCXvcRy/PHbk+DimxGmRHjXGxOfAPLewfQPG3/tSYMiH11YJ44iz4ztG1wvEdM 9VMNl8zO8r335r2iyHhtZQ96Ldzn0hOwEIEarl1ig6iRBJdlAiHJXOC6iEHD94/KVvwl V9Kg== 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=W3WVQtpARWBMwDnURB0qPc0YL++fE5ktLJLKpygkUfU+rFQnfom21Yt+0MLKat9U0j p/TarXqN9YT/CMsCv1m7NS/GMcvIGTPH685jG5AXNCdf5+v+QCC/BfGbsSEQQx5ZAy2I dQtET7MAghUcWWctrWmeyArdql86QLJ02Ap5yDaT3bAmkc5WEJj/757Nkv+dnL3KJsWh tZGYNVqqKVAFqQtYO9nBWAY+Q8GifYybeH/a1vc3tZlLDK/r1H7pSSh9EQmMREx9xd9r B0lJo3nz7QGhp1WKAQqD0UtjlNE+vcmUx5QbWWEfoXLtPw4L5JxlbYR+ew9GwxQojcpI 0c2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=jf7H40Mw; 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 n33si4342698qta.256.2018.12.17.03.05.53 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Dec 2018 03:05:53 -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=jf7H40Mw; 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]:45926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYqie-0006z4-Dg for patch@linaro.org; Mon, 17 Dec 2018 06:05:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYqc0-0002Y7-NF for qemu-devel@nongnu.org; Mon, 17 Dec 2018 05:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYqZz-00006a-A0 for qemu-devel@nongnu.org; Mon, 17 Dec 2018 05:56:58 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:40647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYqZz-00005w-2z for qemu-devel@nongnu.org; Mon, 17 Dec 2018 05:56:55 -0500 Received: by mail-wm1-x333.google.com with SMTP id q26so12077834wmf.5 for ; Mon, 17 Dec 2018 02:56:54 -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=jf7H40Mwucxxb5TL+u/RZTNcBzR+taNkv3QnRoAq7okLQ7TyYR03xSw87ZDiogVmGl jDXLpfNUOaXc8ECa4gQbemalf/rvBDYxhYaSiQiMwZysAbzKhMarA2Z+u16jy4U4sPND gU6cIoKAZ9GQli1B8b83zlHqaTfs+aPGCEbeg= 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=H2CqRZ3bWdmTjuJeMSg8qWOXkrFacaj5pWqo9/nqD3DHLgKz5vNTPUMyvQ/fI4GBal 69MdyPgSdXMsAALcVvBjxZywXk+LXYYFf0GCh/BpQfjzIIylUk2n53iWBhxY/kUr/vV+ n+GAAYljiktAmsOYohzV5kVJ8FaTp0a4soT5cxhLYtevHNbDhFZN5Tef4Mt+YBKu5At1 L/jdPVO9PCevYWI0x61j81efxNgHh/oE4pTkmxmXRWjJ36X1oG3P5n6Y9ece1/vjLZ5w 5Ewthqezg0d3dx1JQisGDBzQdX+M5whk+4MvKqDVQ3+znWP3GPU7/ZgIxTE0hQN6yK09 MHJw== X-Gm-Message-State: AA+aEWaNkFeRcu4ZZFn/C9Fn372X9hFqJrgLtpRpoSToO49lsBv17HqI 4/9kd3RuUyhUOK9sMiPmLfH3tw== X-Received: by 2002:a1c:f207:: with SMTP id s7mr10808557wmc.87.1545044213758; Mon, 17 Dec 2018 02:56:53 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id d2sm10218437wrs.97.2018.12.17.02.56.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Dec 2018 02:56:51 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DD4A43E055E; Mon, 17 Dec 2018 10:56:50 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 17 Dec 2018 10:56:38 +0000 Message-Id: <20181217105650.27361-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181217105650.27361-1-alex.bennee@linaro.org> References: <20181217105650.27361-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::333 Subject: [Qemu-devel] [PULL v3 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))