From patchwork Fri Jul 6 10:46:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 940393 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-481111-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="ZhBXbeC2"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="gmZqd1ou"; 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 41MWd20XTjz9s4Z for ; Fri, 6 Jul 2018 20:47:00 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=soadXP9qxTnbNGdivgPda9+/ADbn/m6yfIVVXR8iezmLWPbufh d4uBAUbLdWINsZ8nW9tjb+gmnB2pSOI//BG6GdwBwkN9Tpk/3wwirIPGHyOZbx8W LpBBB5CyNP/VZzriFPJHWRuyAZwiEEHu5YaAVclxotRM67t0F7OV6Fl5A= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=4mxXJQ/ulkhxSWR7cPdnS8y8l6M=; b=ZhBXbeC2mOAFcFX6fRY0 TVcoPyYc/Gc0jblPt+lSIhzCNs3nY8y3wPRP4cGfvVGQ4KMv4yLwacbKthHQhE/l 1DdDS6cyIvcgyXx3fxB2bhqgxQjEWn0c4Ah8oF4swy59XaViQiK7FV+Hj/YeY7pd qJ3iDHxgfG/nQjnhsMyX7KU= Received: (qmail 125421 invoked by alias); 6 Jul 2018 10:46:53 -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 125411 invoked by uid 89); 6 Jul 2018 10:46:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1015 X-HELO: EUR03-DB5-obe.outbound.protection.outlook.com Received: from mail-eopbgr40045.outbound.protection.outlook.com (HELO EUR03-DB5-obe.outbound.protection.outlook.com) (40.107.4.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jul 2018 10:46:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JY8VuOuAj6o7QS/pzK6BufknYG8CPp4KCOce/a9N6xY=; b=gmZqd1oubjruq+ISSXkcLBSB6bJg47Indjsjv3L68+65HJagIzdtCdt7OA7/qbPU+dx455fE+aUzG59y2dVQ3K92tvJXdfRYCLriq4SZlAB+D6Aee1oW+VTfX5kK9GijxZWUTD14tFJmTmpH+fsNm1jChnRPTYxCWR3EIZofOHc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Tamar.Christina@arm.com; Received: from arm.com (217.140.96.140) by VI1PR08MB0752.eurprd08.prod.outlook.com (2a01:111:e400:5a04::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.26; Fri, 6 Jul 2018 10:46:46 +0000 Date: Fri, 6 Jul 2018 11:46:43 +0100 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, christophe.lyon@linaro.org, law@redhat.com, rguenther@suse.de, ian@airs.com Subject: [committed][gcc][patch] Require sse for testcase on i686. Message-ID: <20180706104640.GA18510@arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-IsSubscribed: yes Hi All, This fixes an ABI warning generated on i686-pc-linux-gnu when using `vector_size` with no sse enabled explicitly. Regtested single test on x86_64-pc-linux-gnu with -m32 and no issues. Committed under the GCC obvious rule. Thanks, Tamar gcc/testsuite/ 2018-07-06 Tamar Christina PR target/84711 * gcc.dg/vect/pr84711.c: Add -msse for i686 targets. diff --git a/gcc/testsuite/gcc.dg/vect/pr84711.c b/gcc/testsuite/gcc.dg/vect/pr84711.c index dbe61bef0dc35cdbcacf7a9217951888b64a99f1..87763aaabed22a043680223b466b3f43ca70744e 100644 --- a/gcc/testsuite/gcc.dg/vect/pr84711.c +++ b/gcc/testsuite/gcc.dg/vect/pr84711.c @@ -1,6 +1,8 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target sse { target i386*-*-* } } */ /* { dg-options "-O2" } */ +/* { dg-additional-options "-msse" { target i386*-*-* } } */ typedef int v4si __attribute__ ((vector_size (16)));