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: 1014401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="jf7H40Mw"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43JJD73jjNz9sD4 for ; Mon, 17 Dec 2018 22:03:19 +1100 (AEDT) Received: from localhost ([::1]:45919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYqg9-0005Yy-02 for incoming@patchwork.ozlabs.org; Mon, 17 Dec 2018 06:03:17 -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-Google-Smtp-Source: AFSGD/XTBy6ocKWApA4SlXAEvJ3E6pz0t0T8VPRloYnLCpkdgzuOAyCMNQlC+MrKq3FBpNpY/99gcQ== 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+incoming=patchwork.ozlabs.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 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))