From patchwork Fri Aug 28 14:18:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 248512 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1123987ilg; Fri, 28 Aug 2020 07:21:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFZiLve6NPwXEoAcHPlhR82Aerlf7M4c4YET82yJyzklLbvMHWf5aJM+M2+IpYkfDQFre+ X-Received: by 2002:a25:d497:: with SMTP id m145mr2659157ybf.484.1598624488693; Fri, 28 Aug 2020 07:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598624488; cv=none; d=google.com; s=arc-20160816; b=hr7kS4whfL0t/XkWdnmxC0KiWjQLdUi+Q7rpHXsB+fIZXFrUD3SBcC7cHUcIBmFj7n BALE0hnwCLGCEHIWtUdnt5loPy4xOxVhs/W1pKf58v9IBWVspi4IDT1ZzDHECclMphYs OvIn4zZoxdkuDSPqs7DP7FUKEidbrSzuEAyLezXxkKBRXTGlZDkW5w/pGVkL5h3u471Z /VwmxATg/S4YdEHFFmR9h4PI/ZaJlzeuuIlzNWsaEr8PiVueNzsxV/0xwzbliXeZn1MF po+KKbmMerJmoVAhVH5exCkuM+5RCgriKZ9yrcLdiBGX0NeO/TN/B7lBJl4mYxN2sDXr M05A== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=LfqpuF2wNDM0fswn7p/0qMKThcYJi8mNAXbQlEHPUSw=; b=qXo/k3zSK3Psjndan4KS54X2rpwU7BR4ZwMpcg0rfwMi9k+90jU2ovJvXSrNdNwmeG W355GsGMaxPrtCGXTk7h/8RoajD24bZE3tyDCt8hOxcQ1tnHknYHctAxRkNlzYm2LFBe OYW5YEwBn+jwV7wGX2WAzauolTCI4UnAnER67MS7CAA5n7XhfVltt3ufa9JAE2+Q5p/t NNx/xZRbPf7JVKHNJRvdBSssvfdvIYCKznWsDhyn3DUonPMnWbzxt+GAnNIBFpd6/Y5E hdR//jg/XxwT/jU4u38hmxMu5jIre8rZJ0dMKe4R977a7eVsy3uwDY/0Q5bVSlup8sWc jgEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=peFYGHyy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 198si1069292ybf.12.2020.08.28.07.21.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Aug 2020 07:21:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=peFYGHyy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBfFw-00037h-6T for patch@linaro.org; Fri, 28 Aug 2020 10:21:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBfE8-0007p0-Rw for qemu-devel@nongnu.org; Fri, 28 Aug 2020 10:19:36 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:38928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBfE7-000515-3W for qemu-devel@nongnu.org; Fri, 28 Aug 2020 10:19:36 -0400 Received: by mail-pg1-x541.google.com with SMTP id v15so524833pgh.6 for ; Fri, 28 Aug 2020 07:19:34 -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=LfqpuF2wNDM0fswn7p/0qMKThcYJi8mNAXbQlEHPUSw=; b=peFYGHyyfRoK1cqkXVXZemlhp+wWLD4rGmYUfKmu1CJp1ILW2s/iEbz0T1nbeYcQO2 CLNfg+9YjtkwTdGIV6IUp70eZLunCvXzvIOfzVCoFWYMBF1OeeUzVpHXgttudpPaIibQ fKfD3gb7uYmXHsdBaRf4OdtkY0Gqf/kK24ESmC+Kp4MSYBb54DwHL2spA7wZ5Jqxwz11 ySI/+Un8r2fxonijiSF6p6Qv7zMMu0MB4yLrIRGKOclkNUeTaZ9KAGmWqmVihDrIMLRr OLvfThF8ikaHb+RLgpR3/J99zAFf0AigKr3QHl0udyFR3SvH+P/PhvBoixPRK+gcUVuz QdRg== 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=LfqpuF2wNDM0fswn7p/0qMKThcYJi8mNAXbQlEHPUSw=; b=BduXBUMqytf6S3VHNWTqs+7Mpr7x8EAY8OextVJV4CLJwIGJgIe7UirhXkvMxBJFKo x9PM1II4LHZdmnhE+SU6b1NboWcSOZSXd52c07eDtWkXrHOgNFt0QcvMaAQ60P4AwRsg ymnvilpI0/V9Qh5aN4eCod8F/r9KJx/vWE4WfIMUY3l3fqfItR3BfmEOVIK1kozLODvi ZsKQ5daxlB6jHd0nteJvOKiBycGjMPsgPJnlQ+YCFmsZoYyI078HMAC7RERA7fWqwvOk hrhdNnJ0w6Bd9BEyDG9BIIqo+stp3Ejk0cVvV2UXlnz/KCLwODbCV/Fbi0clr/1STs5b dBCA== X-Gm-Message-State: AOAM530Kln13VMhs2rFjn7/lYMJI0FWYhnxo01WaAJpv1Q2SBt9TyxEU bLDu27Iel/82ZIGGbsUYpIHK66pQX2Ubhw== X-Received: by 2002:a65:58c9:: with SMTP id e9mr1429009pgu.66.1598624373311; Fri, 28 Aug 2020 07:19:33 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id j3sm1403080pjw.23.2020.08.28.07.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 07:19:32 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 02/76] tests/tcg: Do not require FE_TOWARDZERO Date: Fri, 28 Aug 2020 07:18:15 -0700 Message-Id: <20200828141929.77854-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200828141929.77854-1-richard.henderson@linaro.org> References: <20200828141929.77854-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::541; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x541.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is optional in ISO C, and not all cpus provide it. Reviewed-by: Edgar E. Iglesias Signed-off-by: Richard Henderson --- tests/tcg/multiarch/float_convs.c | 2 ++ tests/tcg/multiarch/float_madds.c | 2 ++ 2 files changed, 4 insertions(+) -- 2.25.1 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

diff --git a/tests/tcg/multiarch/float_convs.c b/tests/tcg/multiarch/float_convs.c index 47e24b8b16..e9be75c2d5 100644 --- a/tests/tcg/multiarch/float_convs.c +++ b/tests/tcg/multiarch/float_convs.c @@ -30,7 +30,9 @@ float_mapping round_flags[] = { #ifdef FE_DOWNWARD { FE_DOWNWARD, "downwards" }, #endif +#ifdef FE_TOWARDZERO { FE_TOWARDZERO, "to zero" } +#endif }; static void print_input(float input) diff --git a/tests/tcg/multiarch/float_madds.c b/tests/tcg/multiarch/float_madds.c index eceb4ae38b..e422608ccd 100644 --- a/tests/tcg/multiarch/float_madds.c +++ b/tests/tcg/multiarch/float_madds.c @@ -29,7 +29,9 @@ float_mapping round_flags[] = { #ifdef FE_DOWNWARD { FE_DOWNWARD, "downwards" }, #endif +#ifdef FE_TOWARDZERO { FE_TOWARDZERO, "to zero" } +#endif };