From patchwork Sun Feb 24 22:57:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1047543 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=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-496963-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="av7HffJc"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4470q94r6Hz9sBF for ; Mon, 25 Feb 2019 09:58:08 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding; q=dns; s=default; b=ZwbwwRkxitA+ylvS MkGudzSWr4EJ4vzBC2wCZSpeaylbBbiG/0ipFwQJpk57SYyvIIZkmWp/GVaSMCHB fOzuS52X01/RfqI8bdOjVMe+feiTi2UMZEK0gOZ1C9kkH9KAOrMcZ2O94lrku1o+ LMJu2V3ogT1X52+ZjaeZOwI2vj8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding; s=default; bh=oZuta7Rk2DOuWVfQaXV7AR lse5w=; b=av7HffJcbdiE5l+/xL/h7fnWtdHCdSpRr30K9u9ok2Lxofgsr9+rfM NqQLCgyBvJj1YnVkXKTjscD357S2AXDu5ia60Su9UDz0rjU8I1w7w+aDYaWCEVFI OxRNfN3KyqI5pTNlm7Ox9SrLAEwAxQD+IgGQWdZjqqK57zC6VYAQI= Received: (qmail 115975 invoked by alias); 24 Feb 2019 22:58:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 115945 invoked by uid 89); 24 Feb 2019 22:57:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.2 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mga12.intel.com Received: from mga12.intel.com (HELO mga12.intel.com) (192.55.52.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Feb 2019 22:57:58 +0000 Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2019 14:57:56 -0800 Received: from gnu-cfl-1.sc.intel.com ([172.25.70.237]) by orsmga008.jf.intel.com with ESMTP; 24 Feb 2019 14:57:56 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH] i386: Compile PR target/87007 tests with -mfpmath=sse Date: Sun, 24 Feb 2019 14:57:56 -0800 Message-Id: <20190224225756.5595-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-IsSubscribed: yes -mfpmath=sse is needed to enable SSE for FP math in 32-bit. PR target/87007 * gcc.target/i386/pr87007-1.c: Compile with -mfpmath=sse. * gcc.target/i386/pr87007-2.c: Likewise. --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/pr87007-1.c | 2 +- gcc/testsuite/gcc.target/i386/pr87007-2.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 804cf456fe4..39d7ab5d9d7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-02-24 H.J. Lu + + PR target/87007 + * gcc.target/i386/pr87007-1.c: Compile with -mfpmath=sse. + * gcc.target/i386/pr87007-2.c: Likewise. + 2019-02-24 Harald Anlauf PR fortran/89266 diff --git a/gcc/testsuite/gcc.target/i386/pr87007-1.c b/gcc/testsuite/gcc.target/i386/pr87007-1.c index 93cf1dcdfa5..616a70c834a 100644 --- a/gcc/testsuite/gcc.target/i386/pr87007-1.c +++ b/gcc/testsuite/gcc.target/i386/pr87007-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=skylake" } */ +/* { dg-options "-O2 -march=skylake -mfpmath=sse" } */ extern float f; extern double d; diff --git a/gcc/testsuite/gcc.target/i386/pr87007-2.c b/gcc/testsuite/gcc.target/i386/pr87007-2.c index cca7ae7afbc..fc0b3f5d56f 100644 --- a/gcc/testsuite/gcc.target/i386/pr87007-2.c +++ b/gcc/testsuite/gcc.target/i386/pr87007-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=skylake" } */ +/* { dg-options "-O2 -march=skylake -mfpmath=sse" } */ extern float f; extern double d;