From patchwork Wed Feb 19 19:42:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 1240976 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519812-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.a=rsa-sha1 header.s=default header.b=SMrXuo/L; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=RWNRNcNL; 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 48N7Rr1SRZz9sRJ for ; Thu, 20 Feb 2020 06:43:02 +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 :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=bJMGr7i+p20n/dpk4QFiM3w58AzJS4X3gLraJiwzLBzKQw NJl+wuwnDzcoFg2jyVOfTQT6sYQRVc2Oe73XMde1YlNyj85K5XoILhIZ+Uiy5xzV i9XSyKei7tl1N8hCsOJv/WD+plfBKKM2Wji1KFGFCoUfM/5GOB1TvzSMiSFTg= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=P82Ct7nkQyS77FN4Me1rPObwWIc=; b=SMrXuo/LUrsXZ9X24la1 9nuDIgIWd8KqxMJ8S3H0DFTHk8EYvWT9UhoL97gUdEhTzfAesZsNOMsWylJ+Rd/W ud4wn9OkI/lLY+jT/ifALs4XYjKmtJ+LYzUKFhyqQvMEkb8R2pFrex6xhHfihWcb I+8fh9tn1PC3hE2CAe0bYls= Received: (qmail 125922 invoked by alias); 19 Feb 2020 19:42:54 -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 125912 invoked by uid 89); 19 Feb 2020 19:42:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-il1-f182.google.com Received: from mail-il1-f182.google.com (HELO mail-il1-f182.google.com) (209.85.166.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Feb 2020 19:42:52 +0000 Received: by mail-il1-f182.google.com with SMTP id f70so21616357ill.6 for ; Wed, 19 Feb 2020 11:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rTw3H3AOwWVw0VEeiWN/xdkruCIpKdY8pBu1mtpvT6A=; b=RWNRNcNLf0WbM6V6C4tSU1OFyV2M6vF2OK5d340dlld2Fu93vUjAHobwGMzzZL3Ghp 77V0MS+77A+6BotIDS8JnJajz+HSqjwv5xesDEZtLV/u+84TriWkPIlDQb5HDklgquzW xm7O4R+SmTtW4d070g3wggfcCmHmZ74JvSQgTc9RruDeX61G39083wsAen1yWiy7D91e f91keh6OnumKFDuU06ydYLLMNELdKzmH3jdXzXjGaalhgA/U8jOFLrycv/qQgFqNc3cZ 7HGy/ebMJtwNLrAqN4qnSXU+NlrpjvP04ITqZCNOfsSs4N4J0lpDgSYNIRYB3rD9hYoc EfBg== MIME-Version: 1.0 From: Uros Bizjak Date: Wed, 19 Feb 2020 20:42:39 +0100 Message-ID: Subject: [committed] testsuite: Add -msse2 to fix ia32 tests. To: "gcc-patches@gcc.gnu.org" testsuite: Add -msse2 to fix ia32 tests. Tested on x86_64-linux-gnu {,-m32}. 2020-02-19 Uroš Bizjak * gcc.dg/gimplefe-41.c: Add -msse2 additional options for x86 targets. * gcc.dg/ipa/ipa-sra-19.c: Ditto. Uros. diff --git a/gcc/testsuite/gcc.dg/gimplefe-41.c b/gcc/testsuite/gcc.dg/gimplefe-41.c index c3e2f0ecef8..e52a3a559a9 100644 --- a/gcc/testsuite/gcc.dg/gimplefe-41.c +++ b/gcc/testsuite/gcc.dg/gimplefe-41.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { vect_double && vect_long_long } } } */ /* { dg-options "-fgimple -Wno-psabi -w" } */ +/* { dg-additional-options "-msse2" { target x86_64-*-* i?86-*-* } } */ typedef double __v2df __attribute__ ((__vector_size__ (16))); typedef unsigned long long __v2di __attribute__ ((__vector_size__ (16))); diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c index 6186d891a29..681a303523a 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ +/* { dg-additional-options "-msse2" { target ia32 } } */ typedef int __attribute__((__vector_size__(16))) vectype;