From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2089.outbound.protection.outlook.com [40.107.20.89]) by sourceware.org (Postfix) with ESMTPS id 18B1F3858D39 for ; Wed, 28 Jun 2023 13:43:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 18B1F3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nO9t3oPzEIZZoQ9r2ZAg9dr1Yj7N6VF6+YQhRCAmnWY=; b=MNguiy+BrTpHttZFxZUFaapFRH00xHtVqfKGhHVBR/bSvlLJNaqNzA3HRy8peA0wIR3QcUWtA1nyhiT/q3qHq83nWVtCB8SopagHS4/sEJsfy+S5z4Zqz6IyzdwPyK9b97lGaxieeih8o6OAydwXccoAzehNX+nB5tMNKnOIxY0= Received: from DU2PR04CA0023.eurprd04.prod.outlook.com (2603:10a6:10:3b::28) by AS8PR08MB10291.eurprd08.prod.outlook.com (2603:10a6:20b:629::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Wed, 28 Jun 2023 13:43:03 +0000 Received: from DBAEUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:3b:cafe::fe) by DU2PR04CA0023.outlook.office365.com (2603:10a6:10:3b::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.34 via Frontend Transport; Wed, 28 Jun 2023 13:43:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT005.mail.protection.outlook.com (100.127.142.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.20 via Frontend Transport; Wed, 28 Jun 2023 13:43:03 +0000 Received: ("Tessian outbound e2424c13b707:v142"); Wed, 28 Jun 2023 13:43:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c6b965b7a91f2e32 X-CR-MTA-TID: 64aa7808 Received: from c68165860b30.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 47F3BD26-0879-4B4E-85F8-BDFA540260A2.1; Wed, 28 Jun 2023 13:42:52 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c68165860b30.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 28 Jun 2023 13:42:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EmcTTohpUNmrdOm1fLaeB2aHdnG+QzuHaz8/cBvwHFxgzlNtFn23a7NnBK3zefKft/vyNk5W2safrJT33s1Nl6ahzPFhuR2kHLPuP4R1U/ZbsJhi4g0kCpJPgN2Px2yfyvzV07SCPKHnZeeYe5DiW+CikFAIL/a0kK3TC2cJzmk6NYPPUy6cpiI1J+xogEo5Wbb7GUO48X8ctzzl4QxngK/Xi8eT/Slxm0J9VrtZboOYrIfC/IHafmKRs3fA4qG/E5x7vO3/kMmWwYebsci0pxnfrZawjIXcOlI2RFwSXAHytoJueDj1ZvZ29wjtVQaEOnBhpFdOE94tQmSMICKdfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nO9t3oPzEIZZoQ9r2ZAg9dr1Yj7N6VF6+YQhRCAmnWY=; b=khKLDIfcCyHqN/tLNtjGzSnr3jTvhVethOBRjf6aF7RIsbPPTrUAlCeXpi0wynSDImD0TDZYepvPNA9iF3vxfo2BejniXJEY+uyEivg+mMQG0drvYAHIV35R6HrG9wzkQazgV3db8bQIP2x/hXhx341pkLu4M5QSRU8bjnmjRvn7Gi5LHezK5WXthOAoeleFXLLNLJdclifYBj1Pwh8uiAHqdw+LO/mIhdPqUqx6np7U4oMowM6B0h3ZPi9D9zdN5FrBuCod47gARUjhSHipkZW1Lb4wfeNf+Xbm6EEKxipHH2mstP5Ei/i4L16j2JTA3o15C5uMU1Z3d4eR6wjV8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nO9t3oPzEIZZoQ9r2ZAg9dr1Yj7N6VF6+YQhRCAmnWY=; b=MNguiy+BrTpHttZFxZUFaapFRH00xHtVqfKGhHVBR/bSvlLJNaqNzA3HRy8peA0wIR3QcUWtA1nyhiT/q3qHq83nWVtCB8SopagHS4/sEJsfy+S5z4Zqz6IyzdwPyK9b97lGaxieeih8o6OAydwXccoAzehNX+nB5tMNKnOIxY0= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by DBAPR08MB5576.eurprd08.prod.outlook.com (2603:10a6:10:1ae::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Wed, 28 Jun 2023 13:42:28 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::2301:1cde:cfe7:eaf0]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::2301:1cde:cfe7:eaf0%6]) with mapi id 15.20.6521.026; Wed, 28 Jun 2023 13:42:27 +0000 Date: Wed, 28 Jun 2023 14:42:19 +0100 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, rguenther@suse.de, jlaw@ventanamicro.com Subject: [PATCH 3/19]middle-end clean up vect testsuite using pragma novector Message-ID: Content-Type: multipart/mixed; boundary="UZHgILI7OHyjjHdk" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: DS7P222CA0013.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::22) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|DBAPR08MB5576:EE_|DBAEUR03FT005:EE_|AS8PR08MB10291:EE_ X-MS-Office365-Filtering-Correlation-Id: 96cf5000-ea69-4a65-45b0-08db77dd986e x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6FrGbrMAcRvMb+0ydIQoy/112rrwpx9Zpn+J5NY7QnB8JNlCjeXFNbcyYEILdeDDONTjlJoHYpCdjajaFrMyxbY7Mkc2pC+Yf4LQDS0OKgr00QyV9LyI8QuMX0GCHyKmF5xlIM7fT3FBz0do7LBnaMB14ejmfiOd1n5jeDzvSqAWpnJ5xwVhMWRVjLw/Om1+CH4DCoKtKP0W8N6Alf6p74ckJGX2oTLniTpFHh0DTFaVS9b4yICz30MMF7VSDuIkDgVNPOs/yjUvGslsTdUA3gdNhfDae9W5VZ+7OlQ6EMhoum9Xr4jS6JaR+fn4Irru69qrh/nO5Yog60M6SlsUb6vL1/2kznB8vlWJ8sjogSVF17SZvUQSRuTE7EpzuPZ2mCpkfnz7bfxXrPRpMiYcfuSB7UTJnc3GEzbYMAcoYfVIn3S29XlGTsPKxXLXXJinNpVSyOtZJDAR8ANy5++dtbo7TfL0Pw4YRWEGi0Lr9XV4GxtJYv0yGp73Xy2f5TvQw8FGU8Zlpob1Mvk4S2uDAUwJvUcVC6yjvKgEwbIGZo4Z8NcfMUsgUtIwBYiLwVg8y0n2mVTpxXfx5gCLIiIa8zPiTLwLNRCiNwJkB60qg2zOQwCTn1euSHxfPLs9gYCtf/EFJU8PBgthgQ2C7KFgtgZY+yTB6uTCh5zgea4eh3n4QzXwQtxmtuDlcxuRR+g7 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB5325.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(39860400002)(396003)(376002)(366004)(451199021)(6486002)(2616005)(83380400001)(33964004)(6666004)(6512007)(6506007)(26005)(44144004)(2906002)(186003)(478600001)(235185007)(30864003)(44832011)(6916009)(5660300002)(36756003)(4326008)(66946007)(316002)(38100700002)(8936002)(41300700001)(66476007)(8676002)(86362001)(84970400001)(66556008)(2700100001)(579004)(559001)(77204004)(357404004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5576 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c4a16025-8e54-4cd6-72fd-08db77dd82d1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zLY7D1mQmyGYxZgozBcsXuLNnJZZGkWxf6mBKDL9RSV96IQeD7YcByneIVvpPi2d66swko4fA6w2rWhX1Hf0KWqWUESAOEkrqJQ71g3+A6bgwsYgD15Q0o8Unu4poXJGBuQSoP2Fn9eKhD3egy/YnEyIDoVk5t8LmxPTjA5xZ8U/nB8K6wIGOvLaPHw/mPniGOJRfBauqzObEG9BqiWI04fXl75yXDgdUaF0iyclrgErnzH7L8CC9BTshhi7eIBkVJSL8a+PT/foOlJW46iKAAE5l1JDobdfzXwwYfdAQEzV1rI/QO8ZiELIyupYAHSYoUgNrDZaHAh8DD7rE5Evq1SGM6+qiBgJTjHfIZ5CBUojpZRoZ6+391owtrdJFWTpJnm56zb6WzAM7naJdIs2/t1fb1QZwXIjY6IHzMNjB/8AHUz7S8XhcNzuBO+Z2BNSgtxvPOevVb4+FZ6cvAIcUAsjMNj5Dnh0XMGVDUYzuVkgl56XdaS50E5Qd1wvocFMGYcQGVPHVZytizS+DH6XkO8q6hZ/aPP+DZoAyDmwgcfderGCd4OeV2rccIFEfoEiJY1nq47F15WxoWWaP5rLedmmHRv8VG2cheUPY1rk4qFR3FYSLr3kyy4j/6aYpK/Q47AR6PUPBJC/QV5voOxrOUtnzpQkngKH8yNV59y/qTGUOSr19I3x2ZgsumeH2ssts7XS8tUSpo+z6KEwVoLrWYqO1fbx8CrMZrGTOje1poBpSMEViBXWLZgj2ndnYwc4ufa8VY+bGXkSDdKwBOQuDUr+IPO7PN4aaRyKsT7XD0zRU1hvwlJJ46Y1XzLejnAfgcbEIyvV9QG2fagkmi0tkmcON3sgwmPQV7Udr3Lm/jU= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(136003)(346002)(396003)(376002)(451199021)(46966006)(36840700001)(40470700004)(81166007)(356005)(82740400003)(84970400001)(47076005)(36756003)(36860700001)(83380400001)(86362001)(2616005)(8936002)(6486002)(40460700003)(33964004)(44144004)(6666004)(41300700001)(70206006)(8676002)(70586007)(316002)(6916009)(336012)(26005)(4326008)(6512007)(107886003)(186003)(6506007)(44832011)(82310400005)(40480700001)(30864003)(478600001)(2906002)(5660300002)(235185007)(2700100001)(559001)(579004)(77204004)(357404004);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2023 13:43:03.1742 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96cf5000-ea69-4a65-45b0-08db77dd986e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10291 X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,GIT_PATCH_0,KAM_DMARC_NONE,KAM_LOTSOFHASH,KAM_SOMETLD_ARE_BAD_TLD,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --UZHgILI7OHyjjHdk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi All, The support for early break vectorization breaks lots of scan vect and slp testcases because they assume that loops with abort () in them cannot be vectorized. Additionally it breaks the point of having a scalar loop to check the output of the vectorizer if that loop is also vectorized. For that reason this adds #pragma GCC novector to all tests which have a scalar loop that we would have vectorized using this patch series. FWIW, none of these tests were failing to vectorize or run before the pragma. The tests that did point to some issues were copies to the early break test suit as well. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/testsuite/ChangeLog: * g++.dg/vect/pr84556.cc: Add novector pragma. * g++.dg/vect/simd-1.cc: Add novector pragma. * g++.dg/vect/simd-2.cc: Add novector pragma. * g++.dg/vect/simd-3.cc: Add novector pragma. * g++.dg/vect/simd-4.cc: Add novector pragma. * g++.dg/vect/simd-5.cc: Add novector pragma. * g++.dg/vect/simd-6.cc: Add novector pragma. * g++.dg/vect/simd-7.cc: Add novector pragma. * g++.dg/vect/simd-8.cc: Add novector pragma. * g++.dg/vect/simd-9.cc: Add novector pragma. * g++.dg/vect/simd-clone-6.cc: Add novector pragma. * gcc.dg/vect/O3-pr70130.c: Add novector pragma. * gcc.dg/vect/Os-vect-95.c: Add novector pragma. * gcc.dg/vect/bb-slp-1.c: Add novector pragma. * gcc.dg/vect/bb-slp-16.c: Add novector pragma. * gcc.dg/vect/bb-slp-2.c: Add novector pragma. * gcc.dg/vect/bb-slp-24.c: Add novector pragma. * gcc.dg/vect/bb-slp-25.c: Add novector pragma. * gcc.dg/vect/bb-slp-26.c: Add novector pragma. * gcc.dg/vect/bb-slp-27.c: Add novector pragma. * gcc.dg/vect/bb-slp-28.c: Add novector pragma. * gcc.dg/vect/bb-slp-29.c: Add novector pragma. * gcc.dg/vect/bb-slp-42.c: Add novector pragma. * gcc.dg/vect/bb-slp-cond-1.c: Add novector pragma. * gcc.dg/vect/bb-slp-over-widen-1.c: Add novector pragma. * gcc.dg/vect/bb-slp-over-widen-2.c: Add novector pragma. * gcc.dg/vect/bb-slp-pattern-1.c: Add novector pragma. * gcc.dg/vect/bb-slp-pattern-2.c: Add novector pragma. * gcc.dg/vect/bb-slp-pow-1.c: Add novector pragma. * gcc.dg/vect/bb-slp-pr101615-2.c: Add novector pragma. * gcc.dg/vect/bb-slp-pr65935.c: Add novector pragma. * gcc.dg/vect/bb-slp-subgroups-1.c: Add novector pragma. * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: Add novector pragma. * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: Add novector pragma. * gcc.dg/vect/costmodel/i386/costmodel-vect-68.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-slp-12.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-31c.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-68a.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-68b.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-68c.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c: Add novector pragma. * gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Add novector pragma. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: Add novector pragma. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: Add novector pragma. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-68.c: Add novector pragma. * gcc.dg/vect/fast-math-bb-slp-call-1.c: Add novector pragma. * gcc.dg/vect/fast-math-bb-slp-call-2.c: Add novector pragma. * gcc.dg/vect/fast-math-vect-call-1.c: Add novector pragma. * gcc.dg/vect/fast-math-vect-call-2.c: Add novector pragma. * gcc.dg/vect/fast-math-vect-complex-3.c: Add novector pragma. * gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c: Add novector pragma. * gcc.dg/vect/no-scevccp-noreassoc-outer-1.c: Add novector pragma. * gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Add novector pragma. * gcc.dg/vect/no-scevccp-noreassoc-outer-3.c: Add novector pragma. * gcc.dg/vect/no-scevccp-noreassoc-outer-5.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-10.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-10a.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-10b.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-11.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-12.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-15.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-16.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-17.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-18.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-19.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-20.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-21.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-22.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-3.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-4.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-5.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-6-global.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-6.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-7.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-8.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-9.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-9a.c: Add novector pragma. * gcc.dg/vect/no-scevccp-outer-9b.c: Add novector pragma. * gcc.dg/vect/no-scevccp-slp-30.c: Add novector pragma. * gcc.dg/vect/no-scevccp-slp-31.c: Add novector pragma. * gcc.dg/vect/no-scevccp-vect-iv-2.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-31.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-34.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-36.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-64.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-65.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-66.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-68.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-69.c: Add novector pragma. * gcc.dg/vect/no-section-anchors-vect-outer-4h.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-2.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-111.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c: Add novector pragma. * gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c: Add novector pragma. * gcc.dg/vect/no-tree-dom-vect-bug.c: Add novector pragma. * gcc.dg/vect/no-tree-pre-slp-29.c: Add novector pragma. * gcc.dg/vect/no-vfa-pr29145.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-101.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-102.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-102a.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-37.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-43.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-45.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-49.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-51.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-53.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-57.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-61.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-79.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-depend-1.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-depend-2.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-depend-3.c: Add novector pragma. * gcc.dg/vect/no-vfa-vect-dv-2.c: Add novector pragma. * gcc.dg/vect/pr101445.c: Add novector pragma. * gcc.dg/vect/pr103581.c: Add novector pragma. * gcc.dg/vect/pr105219.c: Add novector pragma. * gcc.dg/vect/pr108608.c: Add novector pragma. * gcc.dg/vect/pr18400.c: Add novector pragma. * gcc.dg/vect/pr18536.c: Add novector pragma. * gcc.dg/vect/pr20122.c: Add novector pragma. * gcc.dg/vect/pr25413.c: Add novector pragma. * gcc.dg/vect/pr30784.c: Add novector pragma. * gcc.dg/vect/pr37539.c: Add novector pragma. * gcc.dg/vect/pr40074.c: Add novector pragma. * gcc.dg/vect/pr45752.c: Add novector pragma. * gcc.dg/vect/pr45902.c: Add novector pragma. * gcc.dg/vect/pr46009.c: Add novector pragma. * gcc.dg/vect/pr48172.c: Add novector pragma. * gcc.dg/vect/pr51074.c: Add novector pragma. * gcc.dg/vect/pr51581-3.c: Add novector pragma. * gcc.dg/vect/pr51581-4.c: Add novector pragma. * gcc.dg/vect/pr53185-2.c: Add novector pragma. * gcc.dg/vect/pr56826.c: Add novector pragma. * gcc.dg/vect/pr56918.c: Add novector pragma. * gcc.dg/vect/pr56920.c: Add novector pragma. * gcc.dg/vect/pr56933.c: Add novector pragma. * gcc.dg/vect/pr57705.c: Add novector pragma. * gcc.dg/vect/pr57741-2.c: Add novector pragma. * gcc.dg/vect/pr57741-3.c: Add novector pragma. * gcc.dg/vect/pr59591-1.c: Add novector pragma. * gcc.dg/vect/pr59591-2.c: Add novector pragma. * gcc.dg/vect/pr59594.c: Add novector pragma. * gcc.dg/vect/pr59984.c: Add novector pragma. * gcc.dg/vect/pr60276.c: Add novector pragma. * gcc.dg/vect/pr61194.c: Add novector pragma. * gcc.dg/vect/pr61680.c: Add novector pragma. * gcc.dg/vect/pr62021.c: Add novector pragma. * gcc.dg/vect/pr63341-2.c: Add novector pragma. * gcc.dg/vect/pr64252.c: Add novector pragma. * gcc.dg/vect/pr64404.c: Add novector pragma. * gcc.dg/vect/pr64421.c: Add novector pragma. * gcc.dg/vect/pr64493.c: Add novector pragma. * gcc.dg/vect/pr64495.c: Add novector pragma. * gcc.dg/vect/pr66251.c: Add novector pragma. * gcc.dg/vect/pr66253.c: Add novector pragma. * gcc.dg/vect/pr68502-1.c: Add novector pragma. * gcc.dg/vect/pr68502-2.c: Add novector pragma. * gcc.dg/vect/pr69820.c: Add novector pragma. * gcc.dg/vect/pr70021.c: Add novector pragma. * gcc.dg/vect/pr70354-1.c: Add novector pragma. * gcc.dg/vect/pr70354-2.c: Add novector pragma. * gcc.dg/vect/pr71259.c: Add novector pragma. * gcc.dg/vect/pr78005.c: Add novector pragma. * gcc.dg/vect/pr78558.c: Add novector pragma. * gcc.dg/vect/pr80815-2.c: Add novector pragma. * gcc.dg/vect/pr80815-3.c: Add novector pragma. * gcc.dg/vect/pr80928.c: Add novector pragma. * gcc.dg/vect/pr81410.c: Add novector pragma. * gcc.dg/vect/pr81633.c: Add novector pragma. * gcc.dg/vect/pr81740-1.c: Add novector pragma. * gcc.dg/vect/pr81740-2.c: Add novector pragma. * gcc.dg/vect/pr85586.c: Add novector pragma. * gcc.dg/vect/pr87288-1.c: Add novector pragma. * gcc.dg/vect/pr87288-2.c: Add novector pragma. * gcc.dg/vect/pr87288-3.c: Add novector pragma. * gcc.dg/vect/pr88903-1.c: Add novector pragma. * gcc.dg/vect/pr88903-2.c: Add novector pragma. * gcc.dg/vect/pr90018.c: Add novector pragma. * gcc.dg/vect/pr92420.c: Add novector pragma. * gcc.dg/vect/pr94994.c: Add novector pragma. * gcc.dg/vect/pr96783-1.c: Add novector pragma. * gcc.dg/vect/pr96783-2.c: Add novector pragma. * gcc.dg/vect/pr97081-2.c: Add novector pragma. * gcc.dg/vect/pr97558-2.c: Add novector pragma. * gcc.dg/vect/pr97678.c: Add novector pragma. * gcc.dg/vect/section-anchors-pr27770.c: Add novector pragma. * gcc.dg/vect/section-anchors-vect-69.c: Add novector pragma. * gcc.dg/vect/slp-1.c: Add novector pragma. * gcc.dg/vect/slp-10.c: Add novector pragma. * gcc.dg/vect/slp-11a.c: Add novector pragma. * gcc.dg/vect/slp-11b.c: Add novector pragma. * gcc.dg/vect/slp-11c.c: Add novector pragma. * gcc.dg/vect/slp-12a.c: Add novector pragma. * gcc.dg/vect/slp-12b.c: Add novector pragma. * gcc.dg/vect/slp-12c.c: Add novector pragma. * gcc.dg/vect/slp-13-big-array.c: Add novector pragma. * gcc.dg/vect/slp-13.c: Add novector pragma. * gcc.dg/vect/slp-14.c: Add novector pragma. * gcc.dg/vect/slp-15.c: Add novector pragma. * gcc.dg/vect/slp-16.c: Add novector pragma. * gcc.dg/vect/slp-17.c: Add novector pragma. * gcc.dg/vect/slp-18.c: Add novector pragma. * gcc.dg/vect/slp-19a.c: Add novector pragma. * gcc.dg/vect/slp-19b.c: Add novector pragma. * gcc.dg/vect/slp-19c.c: Add novector pragma. * gcc.dg/vect/slp-2.c: Add novector pragma. * gcc.dg/vect/slp-20.c: Add novector pragma. * gcc.dg/vect/slp-21.c: Add novector pragma. * gcc.dg/vect/slp-22.c: Add novector pragma. * gcc.dg/vect/slp-23.c: Add novector pragma. * gcc.dg/vect/slp-24-big-array.c: Add novector pragma. * gcc.dg/vect/slp-24.c: Add novector pragma. * gcc.dg/vect/slp-25.c: Add novector pragma. * gcc.dg/vect/slp-26.c: Add novector pragma. * gcc.dg/vect/slp-28.c: Add novector pragma. * gcc.dg/vect/slp-3-big-array.c: Add novector pragma. * gcc.dg/vect/slp-3.c: Add novector pragma. * gcc.dg/vect/slp-33.c: Add novector pragma. * gcc.dg/vect/slp-34-big-array.c: Add novector pragma. * gcc.dg/vect/slp-34.c: Add novector pragma. * gcc.dg/vect/slp-35.c: Add novector pragma. * gcc.dg/vect/slp-37.c: Add novector pragma. * gcc.dg/vect/slp-4-big-array.c: Add novector pragma. * gcc.dg/vect/slp-4.c: Add novector pragma. * gcc.dg/vect/slp-41.c: Add novector pragma. * gcc.dg/vect/slp-43.c: Add novector pragma. * gcc.dg/vect/slp-45.c: Add novector pragma. * gcc.dg/vect/slp-46.c: Add novector pragma. * gcc.dg/vect/slp-47.c: Add novector pragma. * gcc.dg/vect/slp-48.c: Add novector pragma. * gcc.dg/vect/slp-49.c: Add novector pragma. * gcc.dg/vect/slp-5.c: Add novector pragma. * gcc.dg/vect/slp-6.c: Add novector pragma. * gcc.dg/vect/slp-7.c: Add novector pragma. * gcc.dg/vect/slp-8.c: Add novector pragma. * gcc.dg/vect/slp-9.c: Add novector pragma. * gcc.dg/vect/slp-cond-1.c: Add novector pragma. * gcc.dg/vect/slp-cond-2-big-array.c: Add novector pragma. * gcc.dg/vect/slp-cond-2.c: Add novector pragma. * gcc.dg/vect/slp-cond-3.c: Add novector pragma. * gcc.dg/vect/slp-cond-4.c: Add novector pragma. * gcc.dg/vect/slp-cond-5.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-1.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-10.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-11-big-array.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-11.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-12.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-2.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-3.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-4.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-5.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-6.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-7.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-8.c: Add novector pragma. * gcc.dg/vect/slp-multitypes-9.c: Add novector pragma. * gcc.dg/vect/slp-perm-1.c: Add novector pragma. * gcc.dg/vect/slp-perm-10.c: Add novector pragma. * gcc.dg/vect/slp-perm-11.c: Add novector pragma. * gcc.dg/vect/slp-perm-12.c: Add novector pragma. * gcc.dg/vect/slp-perm-2.c: Add novector pragma. * gcc.dg/vect/slp-perm-3.c: Add novector pragma. * gcc.dg/vect/slp-perm-4.c: Add novector pragma. * gcc.dg/vect/slp-perm-5.c: Add novector pragma. * gcc.dg/vect/slp-perm-6.c: Add novector pragma. * gcc.dg/vect/slp-perm-7.c: Add novector pragma. * gcc.dg/vect/slp-perm-8.c: Add novector pragma. * gcc.dg/vect/slp-perm-9.c: Add novector pragma. * gcc.dg/vect/slp-widen-mult-half.c: Add novector pragma. * gcc.dg/vect/slp-widen-mult-s16.c: Add novector pragma. * gcc.dg/vect/slp-widen-mult-u8.c: Add novector pragma. * gcc.dg/vect/vect-100.c: Add novector pragma. * gcc.dg/vect/vect-103.c: Add novector pragma. * gcc.dg/vect/vect-104.c: Add novector pragma. * gcc.dg/vect/vect-105-big-array.c: Add novector pragma. * gcc.dg/vect/vect-105.c: Add novector pragma. * gcc.dg/vect/vect-106.c: Add novector pragma. * gcc.dg/vect/vect-107.c: Add novector pragma. * gcc.dg/vect/vect-108.c: Add novector pragma. * gcc.dg/vect/vect-109.c: Add novector pragma. * gcc.dg/vect/vect-11.c: Add novector pragma. * gcc.dg/vect/vect-110.c: Add novector pragma. * gcc.dg/vect/vect-113.c: Add novector pragma. * gcc.dg/vect/vect-114.c: Add novector pragma. * gcc.dg/vect/vect-115.c: Add novector pragma. * gcc.dg/vect/vect-116.c: Add novector pragma. * gcc.dg/vect/vect-117.c: Add novector pragma. * gcc.dg/vect/vect-11a.c: Add novector pragma. * gcc.dg/vect/vect-12.c: Add novector pragma. * gcc.dg/vect/vect-122.c: Add novector pragma. * gcc.dg/vect/vect-124.c: Add novector pragma. * gcc.dg/vect/vect-13.c: Add novector pragma. * gcc.dg/vect/vect-14.c: Add novector pragma. * gcc.dg/vect/vect-15-big-array.c: Add novector pragma. * gcc.dg/vect/vect-15.c: Add novector pragma. * gcc.dg/vect/vect-17.c: Add novector pragma. * gcc.dg/vect/vect-18.c: Add novector pragma. * gcc.dg/vect/vect-19.c: Add novector pragma. * gcc.dg/vect/vect-2-big-array.c: Add novector pragma. * gcc.dg/vect/vect-2.c: Add novector pragma. * gcc.dg/vect/vect-20.c: Add novector pragma. * gcc.dg/vect/vect-21.c: Add novector pragma. * gcc.dg/vect/vect-22.c: Add novector pragma. * gcc.dg/vect/vect-23.c: Add novector pragma. * gcc.dg/vect/vect-24.c: Add novector pragma. * gcc.dg/vect/vect-25.c: Add novector pragma. * gcc.dg/vect/vect-26.c: Add novector pragma. * gcc.dg/vect/vect-27.c: Add novector pragma. * gcc.dg/vect/vect-28.c: Add novector pragma. * gcc.dg/vect/vect-29.c: Add novector pragma. * gcc.dg/vect/vect-3.c: Add novector pragma. * gcc.dg/vect/vect-30.c: Add novector pragma. * gcc.dg/vect/vect-31-big-array.c: Add novector pragma. * gcc.dg/vect/vect-31.c: Add novector pragma. * gcc.dg/vect/vect-32-big-array.c: Add novector pragma. * gcc.dg/vect/vect-32.c: Add novector pragma. * gcc.dg/vect/vect-33-big-array.c: Add novector pragma. * gcc.dg/vect/vect-33.c: Add novector pragma. * gcc.dg/vect/vect-34-big-array.c: Add novector pragma. * gcc.dg/vect/vect-34.c: Add novector pragma. * gcc.dg/vect/vect-35-big-array.c: Add novector pragma. * gcc.dg/vect/vect-35.c: Add novector pragma. * gcc.dg/vect/vect-36-big-array.c: Add novector pragma. * gcc.dg/vect/vect-36.c: Add novector pragma. * gcc.dg/vect/vect-38.c: Add novector pragma. * gcc.dg/vect/vect-4.c: Add novector pragma. * gcc.dg/vect/vect-40.c: Add novector pragma. * gcc.dg/vect/vect-42.c: Add novector pragma. * gcc.dg/vect/vect-44.c: Add novector pragma. * gcc.dg/vect/vect-46.c: Add novector pragma. * gcc.dg/vect/vect-48.c: Add novector pragma. * gcc.dg/vect/vect-5.c: Add novector pragma. * gcc.dg/vect/vect-50.c: Add novector pragma. * gcc.dg/vect/vect-52.c: Add novector pragma. * gcc.dg/vect/vect-54.c: Add novector pragma. * gcc.dg/vect/vect-56.c: Add novector pragma. * gcc.dg/vect/vect-58.c: Add novector pragma. * gcc.dg/vect/vect-6-big-array.c: Add novector pragma. * gcc.dg/vect/vect-6.c: Add novector pragma. * gcc.dg/vect/vect-60.c: Add novector pragma. * gcc.dg/vect/vect-62.c: Add novector pragma. * gcc.dg/vect/vect-63.c: Add novector pragma. * gcc.dg/vect/vect-64.c: Add novector pragma. * gcc.dg/vect/vect-65.c: Add novector pragma. * gcc.dg/vect/vect-66.c: Add novector pragma. * gcc.dg/vect/vect-67.c: Add novector pragma. * gcc.dg/vect/vect-68.c: Add novector pragma. * gcc.dg/vect/vect-7.c: Add novector pragma. * gcc.dg/vect/vect-70.c: Add novector pragma. * gcc.dg/vect/vect-71.c: Add novector pragma. * gcc.dg/vect/vect-72.c: Add novector pragma. * gcc.dg/vect/vect-73-big-array.c: Add novector pragma. * gcc.dg/vect/vect-73.c: Add novector pragma. * gcc.dg/vect/vect-74-big-array.c: Add novector pragma. * gcc.dg/vect/vect-74.c: Add novector pragma. * gcc.dg/vect/vect-75-big-array.c: Add novector pragma. * gcc.dg/vect/vect-75.c: Add novector pragma. * gcc.dg/vect/vect-76-big-array.c: Add novector pragma. * gcc.dg/vect/vect-76.c: Add novector pragma. * gcc.dg/vect/vect-77-alignchecks.c: Add novector pragma. * gcc.dg/vect/vect-77-global.c: Add novector pragma. * gcc.dg/vect/vect-77.c: Add novector pragma. * gcc.dg/vect/vect-78-alignchecks.c: Add novector pragma. * gcc.dg/vect/vect-78-global.c: Add novector pragma. * gcc.dg/vect/vect-78.c: Add novector pragma. * gcc.dg/vect/vect-8.c: Add novector pragma. * gcc.dg/vect/vect-80-big-array.c: Add novector pragma. * gcc.dg/vect/vect-80.c: Add novector pragma. * gcc.dg/vect/vect-82.c: Add novector pragma. * gcc.dg/vect/vect-82_64.c: Add novector pragma. * gcc.dg/vect/vect-83.c: Add novector pragma. * gcc.dg/vect/vect-83_64.c: Add novector pragma. * gcc.dg/vect/vect-85-big-array.c: Add novector pragma. * gcc.dg/vect/vect-85.c: Add novector pragma. * gcc.dg/vect/vect-86.c: Add novector pragma. * gcc.dg/vect/vect-87.c: Add novector pragma. * gcc.dg/vect/vect-88.c: Add novector pragma. * gcc.dg/vect/vect-89-big-array.c: Add novector pragma. * gcc.dg/vect/vect-89.c: Add novector pragma. * gcc.dg/vect/vect-9.c: Add novector pragma. * gcc.dg/vect/vect-92.c: Add novector pragma. * gcc.dg/vect/vect-93.c: Add novector pragma. * gcc.dg/vect/vect-95.c: Add novector pragma. * gcc.dg/vect/vect-96.c: Add novector pragma. * gcc.dg/vect/vect-97-big-array.c: Add novector pragma. * gcc.dg/vect/vect-97.c: Add novector pragma. * gcc.dg/vect/vect-98-big-array.c: Add novector pragma. * gcc.dg/vect/vect-98.c: Add novector pragma. * gcc.dg/vect/vect-99.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-10.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-11.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-12.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-14.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-15.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-16.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-18.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-19.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-20.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-8.c: Add novector pragma. * gcc.dg/vect/vect-alias-check-9.c: Add novector pragma. * gcc.dg/vect/vect-align-1.c: Add novector pragma. * gcc.dg/vect/vect-align-2.c: Add novector pragma. * gcc.dg/vect/vect-all-big-array.c: Add novector pragma. * gcc.dg/vect/vect-all.c: Add novector pragma. * gcc.dg/vect/vect-avg-1.c: Add novector pragma. * gcc.dg/vect/vect-avg-11.c: Add novector pragma. * gcc.dg/vect/vect-avg-15.c: Add novector pragma. * gcc.dg/vect/vect-avg-16.c: Add novector pragma. * gcc.dg/vect/vect-avg-5.c: Add novector pragma. * gcc.dg/vect/vect-bitfield-write-1.c: Add novector pragma. * gcc.dg/vect/vect-bitfield-write-2.c: Add novector pragma. * gcc.dg/vect/vect-bitfield-write-3.c: Add novector pragma. * gcc.dg/vect/vect-bitfield-write-4.c: Add novector pragma. * gcc.dg/vect/vect-bitfield-write-5.c: Add novector pragma. * gcc.dg/vect/vect-bool-cmp.c: Add novector pragma. * gcc.dg/vect/vect-bswap16.c: Add novector pragma. * gcc.dg/vect/vect-bswap32.c: Add novector pragma. * gcc.dg/vect/vect-bswap64.c: Add novector pragma. * gcc.dg/vect/vect-complex-1.c: Add novector pragma. * gcc.dg/vect/vect-complex-2.c: Add novector pragma. * gcc.dg/vect/vect-complex-4.c: Add novector pragma. * gcc.dg/vect/vect-cond-1.c: Add novector pragma. * gcc.dg/vect/vect-cond-10.c: Add novector pragma. * gcc.dg/vect/vect-cond-11.c: Add novector pragma. * gcc.dg/vect/vect-cond-3.c: Add novector pragma. * gcc.dg/vect/vect-cond-4.c: Add novector pragma. * gcc.dg/vect/vect-cond-5.c: Add novector pragma. * gcc.dg/vect/vect-cond-6.c: Add novector pragma. * gcc.dg/vect/vect-cond-7.c: Add novector pragma. * gcc.dg/vect/vect-cond-8.c: Add novector pragma. * gcc.dg/vect/vect-cond-9.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-1.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-3.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-4.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-5.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-6.c: Add novector pragma. * gcc.dg/vect/vect-cond-arith-7.c: Add novector pragma. * gcc.dg/vect/vect-cselim-1.c: Add novector pragma. * gcc.dg/vect/vect-cselim-2.c: Add novector pragma. * gcc.dg/vect/vect-div-bitmask-4.c: Add novector pragma. * gcc.dg/vect/vect-div-bitmask-5.c: Add novector pragma. * gcc.dg/vect/vect-div-bitmask.h: Add novector pragma. * gcc.dg/vect/vect-double-reduc-1.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-2.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-3.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-4.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-5.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-6-big-array.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-6.c: Add novector pragma. * gcc.dg/vect/vect-double-reduc-7.c: Add novector pragma. * gcc.dg/vect/vect-float-extend-1.c: Add novector pragma. * gcc.dg/vect/vect-float-truncate-1.c: Add novector pragma. * gcc.dg/vect/vect-floatint-conversion-1.c: Add novector pragma. * gcc.dg/vect/vect-floatint-conversion-2.c: Add novector pragma. * gcc.dg/vect/vect-fma-1.c: Add novector pragma. * gcc.dg/vect/vect-gather-1.c: Add novector pragma. * gcc.dg/vect/vect-gather-3.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-11.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-16.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-17.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-2.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-3.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-4.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-5.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-6.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-7.c: Add novector pragma. * gcc.dg/vect/vect-ifcvt-9.c: Add novector pragma. * gcc.dg/vect/vect-intfloat-conversion-1.c: Add novector pragma. * gcc.dg/vect/vect-intfloat-conversion-2.c: Add novector pragma. * gcc.dg/vect/vect-intfloat-conversion-3.c: Add novector pragma. * gcc.dg/vect/vect-intfloat-conversion-4a.c: Add novector pragma. * gcc.dg/vect/vect-intfloat-conversion-4b.c: Add novector pragma. * gcc.dg/vect/vect-iv-1.c: Add novector pragma. * gcc.dg/vect/vect-iv-10.c: Add novector pragma. * gcc.dg/vect/vect-iv-2.c: Add novector pragma. * gcc.dg/vect/vect-iv-3.c: Add novector pragma. * gcc.dg/vect/vect-iv-4.c: Add novector pragma. * gcc.dg/vect/vect-iv-5.c: Add novector pragma. * gcc.dg/vect/vect-iv-6.c: Add novector pragma. * gcc.dg/vect/vect-iv-7.c: Add novector pragma. * gcc.dg/vect/vect-iv-8-big-array.c: Add novector pragma. * gcc.dg/vect/vect-iv-8.c: Add novector pragma. * gcc.dg/vect/vect-iv-8a-big-array.c: Add novector pragma. * gcc.dg/vect/vect-iv-8a.c: Add novector pragma. * gcc.dg/vect/vect-live-1.c: Add novector pragma. * gcc.dg/vect/vect-live-2.c: Add novector pragma. * gcc.dg/vect/vect-live-3.c: Add novector pragma. * gcc.dg/vect/vect-live-4.c: Add novector pragma. * gcc.dg/vect/vect-live-5.c: Add novector pragma. * gcc.dg/vect/vect-live-slp-1.c: Add novector pragma. * gcc.dg/vect/vect-live-slp-2.c: Add novector pragma. * gcc.dg/vect/vect-live-slp-3.c: Add novector pragma. * gcc.dg/vect/vect-mask-load-1.c: Add novector pragma. * gcc.dg/vect/vect-mask-loadstore-1.c: Add novector pragma. * gcc.dg/vect/vect-mulhrs-1.c: Add novector pragma. * gcc.dg/vect/vect-mult-const-pattern-1.c: Add novector pragma. * gcc.dg/vect/vect-mult-const-pattern-2.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-1.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-10.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-11.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-12.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-13.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-14.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-16.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-17.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-2.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-3.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-4.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-5.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-6.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-8.c: Add novector pragma. * gcc.dg/vect/vect-multitypes-9.c: Add novector pragma. * gcc.dg/vect/vect-nb-iter-ub-1.c: Add novector pragma. * gcc.dg/vect/vect-nb-iter-ub-2.c: Add novector pragma. * gcc.dg/vect/vect-nb-iter-ub-3.c: Add novector pragma. * gcc.dg/vect/vect-neg-store-1.c: Add novector pragma. * gcc.dg/vect/vect-neg-store-2.c: Add novector pragma. * gcc.dg/vect/vect-nest-cycle-1.c: Add novector pragma. * gcc.dg/vect/vect-nest-cycle-2.c: Add novector pragma. * gcc.dg/vect/vect-nest-cycle-3.c: Add novector pragma. * gcc.dg/vect/vect-outer-2-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-2.c: Add novector pragma. * gcc.dg/vect/vect-outer-2a-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-2a.c: Add novector pragma. * gcc.dg/vect/vect-outer-2b.c: Add novector pragma. * gcc.dg/vect/vect-outer-2c-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-2c.c: Add novector pragma. * gcc.dg/vect/vect-outer-2d.c: Add novector pragma. * gcc.dg/vect/vect-outer-3-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-3.c: Add novector pragma. * gcc.dg/vect/vect-outer-3a-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-3a.c: Add novector pragma. * gcc.dg/vect/vect-outer-3b.c: Add novector pragma. * gcc.dg/vect/vect-outer-3c.c: Add novector pragma. * gcc.dg/vect/vect-outer-4.c: Add novector pragma. * gcc.dg/vect/vect-outer-4d-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-4d.c: Add novector pragma. * gcc.dg/vect/vect-outer-5.c: Add novector pragma. * gcc.dg/vect/vect-outer-6.c: Add novector pragma. * gcc.dg/vect/vect-outer-fir-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-fir-lb-big-array.c: Add novector pragma. * gcc.dg/vect/vect-outer-fir-lb.c: Add novector pragma. * gcc.dg/vect/vect-outer-fir.c: Add novector pragma. * gcc.dg/vect/vect-outer-simd-1.c: Add novector pragma. * gcc.dg/vect/vect-outer-simd-2.c: Add novector pragma. * gcc.dg/vect/vect-outer-simd-3.c: Add novector pragma. * gcc.dg/vect/vect-outer-slp-2.c: Add novector pragma. * gcc.dg/vect/vect-outer-slp-3.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-1-big-array.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-1.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-11.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-13.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-15.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-17.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-18.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-19.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-2-big-array.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-2.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-20.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-21.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-22.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-3-big-array.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-3.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-4-big-array.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-4.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-5.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-7.c: Add novector pragma. * gcc.dg/vect/vect-over-widen-9.c: Add novector pragma. * gcc.dg/vect/vect-peel-1-src.c: Add novector pragma. * gcc.dg/vect/vect-peel-2-src.c: Add novector pragma. * gcc.dg/vect/vect-peel-4-src.c: Add novector pragma. * gcc.dg/vect/vect-recurr-1.c: Add novector pragma. * gcc.dg/vect/vect-recurr-2.c: Add novector pragma. * gcc.dg/vect/vect-recurr-3.c: Add novector pragma. * gcc.dg/vect/vect-recurr-4.c: Add novector pragma. * gcc.dg/vect/vect-recurr-5.c: Add novector pragma. * gcc.dg/vect/vect-recurr-6.c: Add novector pragma. * gcc.dg/vect/vect-sdiv-pow2-1.c: Add novector pragma. * gcc.dg/vect/vect-sdivmod-1.c: Add novector pragma. * gcc.dg/vect/vect-shift-1.c: Add novector pragma. * gcc.dg/vect/vect-shift-3.c: Add novector pragma. * gcc.dg/vect/vect-shift-4.c: Add novector pragma. * gcc.dg/vect/vect-simd-1.c: Add novector pragma. * gcc.dg/vect/vect-simd-10.c: Add novector pragma. * gcc.dg/vect/vect-simd-11.c: Add novector pragma. * gcc.dg/vect/vect-simd-12.c: Add novector pragma. * gcc.dg/vect/vect-simd-13.c: Add novector pragma. * gcc.dg/vect/vect-simd-14.c: Add novector pragma. * gcc.dg/vect/vect-simd-15.c: Add novector pragma. * gcc.dg/vect/vect-simd-16.c: Add novector pragma. * gcc.dg/vect/vect-simd-17.c: Add novector pragma. * gcc.dg/vect/vect-simd-18.c: Add novector pragma. * gcc.dg/vect/vect-simd-19.c: Add novector pragma. * gcc.dg/vect/vect-simd-20.c: Add novector pragma. * gcc.dg/vect/vect-simd-8.c: Add novector pragma. * gcc.dg/vect/vect-simd-9.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-1.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-10.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-11.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-15.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-2.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-3.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-4.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-5.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-6.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-7.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-8.c: Add novector pragma. * gcc.dg/vect/vect-simd-clone-9.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-mult.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u16-i2.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u16-i4.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u16-mult.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u32-mult.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u8-i2-gap.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u8-i8-gap2.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c: Add novector pragma. * gcc.dg/vect/vect-strided-a-u8-i8-gap7.c: Add novector pragma. * gcc.dg/vect/vect-strided-float.c: Add novector pragma. * gcc.dg/vect/vect-strided-mult-char-ls.c: Add novector pragma. * gcc.dg/vect/vect-strided-mult.c: Add novector pragma. * gcc.dg/vect/vect-strided-same-dr.c: Add novector pragma. * gcc.dg/vect/vect-strided-shift-1.c: Add novector pragma. * gcc.dg/vect/vect-strided-store-a-u8-i2.c: Add novector pragma. * gcc.dg/vect/vect-strided-store-u16-i4.c: Add novector pragma. * gcc.dg/vect/vect-strided-store-u32-i2.c: Add novector pragma. * gcc.dg/vect/vect-strided-store.c: Add novector pragma. * gcc.dg/vect/vect-strided-u16-i2.c: Add novector pragma. * gcc.dg/vect/vect-strided-u16-i3.c: Add novector pragma. * gcc.dg/vect/vect-strided-u16-i4.c: Add novector pragma. * gcc.dg/vect/vect-strided-u32-i4.c: Add novector pragma. * gcc.dg/vect/vect-strided-u32-i8.c: Add novector pragma. * gcc.dg/vect/vect-strided-u32-mult.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i2-gap.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i2.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap2.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap4.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8-gap7.c: Add novector pragma. * gcc.dg/vect/vect-strided-u8-i8.c: Add novector pragma. * gcc.dg/vect/vect-vfa-01.c: Add novector pragma. * gcc.dg/vect/vect-vfa-02.c: Add novector pragma. * gcc.dg/vect/vect-vfa-03.c: Add novector pragma. * gcc.dg/vect/vect-vfa-04.c: Add novector pragma. * gcc.dg/vect/vect-vfa-slp.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-1.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-const-s16.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-const-u16.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-half-u8.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-half.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-s16.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-s8.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-u16.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-u8-s16-s32.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-u8-u32.c: Add novector pragma. * gcc.dg/vect/vect-widen-mult-u8.c: Add novector pragma. * gcc.dg/vect/vect-widen-shift-s16.c: Add novector pragma. * gcc.dg/vect/vect-widen-shift-s8.c: Add novector pragma. * gcc.dg/vect/vect-widen-shift-u16.c: Add novector pragma. * gcc.dg/vect/vect-widen-shift-u8.c: Add novector pragma. * gcc.dg/vect/wrapv-vect-7.c: Add novector pragma. --- inline copy of patch -- diff --git a/gcc/testsuite/g++.dg/vect/pr84556.cc b/gcc/testsuite/g++.dg/vect/pr84556.cc index e0655536f7a0a1c32a918f4b112604a7e6b5e389..e2c97e917bed3e7c5e709f61384d75588f522308 100644 --- a/gcc/testsuite/g++.dg/vect/pr84556.cc +++ b/gcc/testsuite/g++.dg/vect/pr84556.cc @@ -15,6 +15,7 @@ main () }; x (); x (); +#pragma GCC novector for (int i = 0; i < 8; ++i) if (y[i] != i + 3) __builtin_abort (); diff --git a/gcc/testsuite/g++.dg/vect/simd-1.cc b/gcc/testsuite/g++.dg/vect/simd-1.cc index 76ce45d939dca8ddbc4953885ac71cf9f6ad298b..991db1d5dfee2a8d89de4aeae659b797629406c1 100644 --- a/gcc/testsuite/g++.dg/vect/simd-1.cc +++ b/gcc/testsuite/g++.dg/vect/simd-1.cc @@ -88,12 +88,14 @@ main () s.foo (x, y); if (x != 1024 || s.s != 2051 || s.t != 2054) abort (); +#pragma GCC novector for (int i = 0; i < 1025; ++i) if (a[i] != 2 * i) abort (); s.bar (x, y); if (x != 2049 || s.s != 4101 || s.t != 4104) abort (); +#pragma GCC novector for (int i = 0; i < 1025; ++i) if (a[i] != 4 * i) abort (); @@ -102,12 +104,14 @@ main () s.baz (x, y); if (x != 1024 || s.s != 2051 || s.t != 2054) abort (); +#pragma GCC novector for (int i = 0; i < 1025; ++i) if (a[i] != 2 * i) abort (); s.qux (x, y); if (x != 2049 || s.s != 4101 || s.t != 4104) abort (); +#pragma GCC novector for (int i = 0; i < 1025; ++i) if (a[i] != 4 * i) abort (); diff --git a/gcc/testsuite/g++.dg/vect/simd-2.cc b/gcc/testsuite/g++.dg/vect/simd-2.cc index 6f5737b7e40b5c2889f26cb4e4c3445e1c3822dd..0ff57e3178d1d79393120529ceea282498015d09 100644 --- a/gcc/testsuite/g++.dg/vect/simd-2.cc +++ b/gcc/testsuite/g++.dg/vect/simd-2.cc @@ -110,6 +110,7 @@ main () foo (a, b); if (r.s != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += i; @@ -121,6 +122,7 @@ main () if (bar ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += 2 * i; @@ -132,6 +134,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += i; @@ -143,6 +146,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += 2 * i; diff --git a/gcc/testsuite/g++.dg/vect/simd-3.cc b/gcc/testsuite/g++.dg/vect/simd-3.cc index d9981719f58ced487c4ffbbecb7c8a5564165bc7..47148f050ed056a2b3340f1e60604606f6cc1311 100644 --- a/gcc/testsuite/g++.dg/vect/simd-3.cc +++ b/gcc/testsuite/g++.dg/vect/simd-3.cc @@ -75,6 +75,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -86,6 +87,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -99,6 +101,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -110,6 +113,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/g++.dg/vect/simd-4.cc b/gcc/testsuite/g++.dg/vect/simd-4.cc index 8f3198943a7427ae3d4800bfbc5575c5849627ff..15b1bc1c99d5d42ecca330e063fed19a50fb3276 100644 --- a/gcc/testsuite/g++.dg/vect/simd-4.cc +++ b/gcc/testsuite/g++.dg/vect/simd-4.cc @@ -77,6 +77,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/g++.dg/vect/simd-5.cc b/gcc/testsuite/g++.dg/vect/simd-5.cc index dd817b8888b1b17d822f576d6d6b123f338e984f..31c2ce8e7129983e02237cdd32e41ef0a8f25f90 100644 --- a/gcc/testsuite/g++.dg/vect/simd-5.cc +++ b/gcc/testsuite/g++.dg/vect/simd-5.cc @@ -110,6 +110,7 @@ main () foo (a, b, r); if (r.s != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += i; @@ -121,6 +122,7 @@ main () if (bar ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += 2 * i; @@ -132,6 +134,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += i; @@ -143,6 +146,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s.s += 2 * i; diff --git a/gcc/testsuite/g++.dg/vect/simd-6.cc b/gcc/testsuite/g++.dg/vect/simd-6.cc index 883b769a9b854bd8c1915648d15ea8996d461f05..7de41a90cae3d80c0ccafad8a9b041bee89764d3 100644 --- a/gcc/testsuite/g++.dg/vect/simd-6.cc +++ b/gcc/testsuite/g++.dg/vect/simd-6.cc @@ -118,6 +118,7 @@ main () foo (a, b); if (r.s != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -129,6 +130,7 @@ main () if (bar ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -140,6 +142,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -151,6 +154,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) diff --git a/gcc/testsuite/g++.dg/vect/simd-7.cc b/gcc/testsuite/g++.dg/vect/simd-7.cc index 1467849e0c6baa791016b039ca21cfa2cc63ce7f..b543efb191cfbf9c561b243996cdd3a4b66b7533 100644 --- a/gcc/testsuite/g++.dg/vect/simd-7.cc +++ b/gcc/testsuite/g++.dg/vect/simd-7.cc @@ -79,6 +79,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/g++.dg/vect/simd-8.cc b/gcc/testsuite/g++.dg/vect/simd-8.cc index 8e297e246bd41a2f63469260f4fdcfcb5a68a62e..4d76a97a97233cecd4d35797a4cc52f70a4c5e3b 100644 --- a/gcc/testsuite/g++.dg/vect/simd-8.cc +++ b/gcc/testsuite/g++.dg/vect/simd-8.cc @@ -77,6 +77,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/g++.dg/vect/simd-9.cc b/gcc/testsuite/g++.dg/vect/simd-9.cc index 4c5b0508fbd79f0e6aa311072062725536d8e2a3..5d1a174e0fc5425f33769fd017b4fd6a51a2fb14 100644 --- a/gcc/testsuite/g++.dg/vect/simd-9.cc +++ b/gcc/testsuite/g++.dg/vect/simd-9.cc @@ -110,6 +110,7 @@ main () foo (a, b, r); if (r.s != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -121,6 +122,7 @@ main () if (bar ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -132,6 +134,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -143,6 +146,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) diff --git a/gcc/testsuite/g++.dg/vect/simd-clone-6.cc b/gcc/testsuite/g++.dg/vect/simd-clone-6.cc index fb00e8816a5fc157b780edd1d7064804a67d6373..2d9bb62555ff6c9473db2d1b754aed0123f2cb62 100644 --- a/gcc/testsuite/g++.dg/vect/simd-clone-6.cc +++ b/gcc/testsuite/g++.dg/vect/simd-clone-6.cc @@ -30,6 +30,7 @@ do_main () #pragma omp simd for (i = 0; i < N; i++) e[i] = foo (c[i], d[i], f[i]); +#pragma GCC novector for (i = 0; i < N; i++) if (e[i] != 6 * i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c index f8b84405140e87a2244ae9f5db6136af2fe9cf57..17ce6c392546f7e46a6db9f30f76dcaedb96d08c 100644 --- a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c +++ b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c @@ -90,6 +90,7 @@ main (void) for (i = 0; i < 8; i++) Loop_err (images + i, s, -1); +#pragma GCC novector for (i = 0; i < 8; i++) if (__builtin_memcmp (&expected, images + i, sizeof (expected))) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/Os-vect-95.c b/gcc/testsuite/gcc.dg/vect/Os-vect-95.c index 97e516ed68e6166eb5f0631004d89f8eedde1cc4..8039be89febdb150226b513ffe267f6065613ccb 100644 --- a/gcc/testsuite/gcc.dg/vect/Os-vect-95.c +++ b/gcc/testsuite/gcc.dg/vect/Os-vect-95.c @@ -10,6 +10,7 @@ void bar (float *pd, float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-1.c index 793c41f6b724d2b6f5ecca6511ea8504e1731a8c..3dc5e746cd0d5c99dcb0c88a05b94c73b44b0e65 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-1.c @@ -29,6 +29,7 @@ main1 (int dummy) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-16.c b/gcc/testsuite/gcc.dg/vect/bb-slp-16.c index 82fae06e3244a9bbb4a471faecdc5f1174970229..76430e0915e2d6ad342dae602fd22337f4559b63 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-16.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-16.c @@ -37,6 +37,7 @@ main1 (int dummy) a = 0; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] + a diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-2.c index fcf1cd327e0b20582e3512faacfebfe6b7db7278..cb1b38dda14785c6755d311683fbe9703355b39a 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-2.c @@ -28,6 +28,7 @@ main1 (int dummy) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-24.c b/gcc/testsuite/gcc.dg/vect/bb-slp-24.c index ca049c81ba05482813dbab50ab3f4c6df94570e4..6de8dd8affce8e6f6ad40a36d6a163fc25b3fcf9 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-24.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-24.c @@ -44,6 +44,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N; i++) { if (dst[i] != A * i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-25.c b/gcc/testsuite/gcc.dg/vect/bb-slp-25.c index 7a9cf955e3e540e08b42cd80872bb99b53cabcb2..d44d585ff25aed7394945cff64f20923b5600061 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-25.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-25.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * i + i + 8) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c index df529673f6c817620a8423ab14724fe4e72bca49..fde062e86c7a01ca29d6e7eb8367414bd734500b 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * src[i] + src[i+8]) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-27.c b/gcc/testsuite/gcc.dg/vect/bb-slp-27.c index bc27f2fca04de8f837ce51090657c8f2cc250c24..3647dd97c69df8a36fc66ca8e9988e215dad71eb 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-27.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-27.c @@ -35,6 +35,7 @@ int main (void) foo (A); +#pragma GCC novector for (i = 0; i < 8; i++) { if (dst[i] != A * i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-28.c b/gcc/testsuite/gcc.dg/vect/bb-slp-28.c index 8749a1f22a6cc1e62a15bd988c50f6f63f26a0a2..c92b687aa44705118f21421a817ac3067e2023c6 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-28.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-28.c @@ -56,6 +56,7 @@ int main (void) foo (A); +#pragma GCC novector for (i = 0; i < N; i++) { if (dst[i] != A * i diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-29.c b/gcc/testsuite/gcc.dg/vect/bb-slp-29.c index b531350ff3073b7f54b9c03609d6c8279e0374db..9272f02b2aa14f52b04e3d6bb08f15be17ce6a2f 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-29.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-29.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * src[i] + B * src[i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-42.c b/gcc/testsuite/gcc.dg/vect/bb-slp-42.c index 1dfa301184aad4c8edf00af80fb861562c941049..69fd0968491544f98d1406ff8a166b723714dd23 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-42.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-42.c @@ -36,6 +36,7 @@ main () foo (a, b); for (int i = 0; i < 4; ++i) +#pragma GCC novector for (int j = 0; j < ARR_SIZE; ++j) if (a[i][j] != (i + 1) * ARR_SIZE - j + 20 * i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c index ccb4ef659e47e3524d0dd602fa9d1291847dee3c..c8024429e9c44d924f5bb2af2fcc6b5eaa1b7db7 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c @@ -35,6 +35,7 @@ int main () foo (a, 4); +#pragma GCC novector for (i = 1; i < N; i++) if (a[i] != i%4 + 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c index 5a9fe423691e549ea877c42e46e9ba70d6ab5b00..b556a1d627865f5425e644df11f98661e6a85c29 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c @@ -45,6 +45,7 @@ DEF_LOOP (unsigned) asm volatile ("" ::: "memory"); \ } \ f_##SIGNEDNESS (a, b, c); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ if (a[i] != (BASE_B + BASE_C + i * 29) >> 1) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c index 15a94e680be4568232e31956732d7416549a18ff..d1aa161c3adcfad1d916de486a04c075f0aaf958 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c @@ -44,6 +44,7 @@ DEF_LOOP (unsigned) asm volatile ("" ::: "memory"); \ } \ f_##SIGNEDNESS (a, b, C); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ if (a[i] != (BASE_B + C + i * 15) >> 1) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c index 47b1a43665130e11f902f5aea11b01faf307101b..a3ff0f5b3da2f25ce62a5e9fabe5b38e9b952fa9 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c @@ -37,6 +37,7 @@ int main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { __asm__ volatile (""); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c index c50560b53696c340b0c071296f002f65bcb91631..05fde3a7feba81caf54acff82870079b87b7cf53 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c @@ -39,6 +39,7 @@ int main () foo (a, b, 8); +#pragma GCC novector for (i = 1; i < N; i++) if (a[i] != i%8 + 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c index fc76700ced3d4f439b0f12eaf9dbc2b1fec72c20..c186c7b66c65e5f62edee25a924fdcfb25b252ab 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c @@ -16,6 +16,7 @@ int main (void) { f (a); +#pragma GCC novector for (int i = 0; i < 4; ++i) { if (a[i] != (i + 1) * (i + 1)) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c index ac89883de22c9f647041fb373618dae5b7c036f3..dda74ebe03c35811ee991a181379e688430d8412 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c @@ -16,6 +16,8 @@ int main() for (int e = 0; e <= 4; e++) a[e + 1] |= 3; } + +#pragma GCC novector for (int d = 0; d < 6; d++) if (a[d] != res[d]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c index ee12136491071c6bfd7678c164df7a1c0a71818f..77d3ae7d424e208409c5baf18c6f39f294f7e351 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c @@ -51,6 +51,7 @@ int main() rephase (); for (i = 0; i < 32; ++i) for (j = 0; j < 3; ++j) +#pragma GCC novector for (k = 0; k < 3; ++k) if (lattice->link[i].e[j][k].real != i || lattice->link[i].e[j][k].imag != i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c index 40a02ed1309e2b6b4dc44cf56018a4bb71cc519f..bea3b92ba775a4e8b547d4edccf3ae4a4aa50b40 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c @@ -31,9 +31,11 @@ main (int argc, char **argv) __asm__ volatile ("" : : : "memory"); test (a, b); __asm__ volatile ("" : : : "memory"); +#pragma GCC novector for (int i = 0; i < 4; i++) if (a[i] != i+4) abort (); +#pragma GCC novector for (int i = 4; i < 8; i++) if (a[i] != 0) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c index cc50a5bde01315be13058ac3409db07f4ce6de5f..085cb986b99c00cb1449db61bb68ccec4e7aa0ba 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i = 0.0001f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c b/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c index 6d67d12f9961f5cbc53d6f7df5240ac2178a08ac..76bb044914f462cf6d76b559b751f1338a3fc0f8 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c @@ -44,12 +44,14 @@ main1 () b[i] = ((i & 1) ? -4 * i : 4 * i) + 0.25; } f1 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + i) abort (); else a[i] = 131.25; f2 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c index 495c0319c9dabd65436b5f6180114dfa8967f071..ad22f6e82b3c3312c9f10522377c4749e87ce3aa 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c @@ -65,24 +65,28 @@ main1 () d[i] = i * i; } f1 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i & 3) + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f2 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i & 1) + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f3 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f4 (10); +#pragma GCC novector for (i = 0; i < 60; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i % 3) + i - a[i]) >= 0.0001f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c index 274ff0f9942c5aff6c6aaca5243ef21bd8708856..d51e17ff656b7cc7ef3d87d207f78aae8eec9373 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c @@ -82,36 +82,42 @@ main1 () b[i] = ((i & 1) ? -4 * i : 4 * i) + 0.25; } f1 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + (i & 3)) abort (); else a[i] = 131.25; f2 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + (i & 1)) abort (); else a[i] = 131.25; f3 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1) abort (); else a[i] = 131.25; f4 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); else a[i] = 131.25; f5 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); else a[i] = 131.25; f6 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c index 893e521ed8b83768699bc9b70f7d33b91dd89c9b..07992cf72dcfa4da5211a7a160fb146cf0b7ba5c 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c @@ -47,6 +47,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (c[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c b/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c index 71f2db3e0f281c4cdb1bf89315cc959382459e83..fc710637ac8142778b18810cefadf00dda3f39a6 100644 --- a/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c +++ b/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c @@ -56,6 +56,7 @@ main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i].a != result[2*i] || out[i].b != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c index 82b37d4ca71344d15e00e0453dae6470c8d5ba9b..aeaf8146b1a817379a09dc3bf09f542524522f99 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c @@ -32,6 +32,7 @@ int main (void) foo (); /* check results: */ +#pragma GCC novector for (i=0; i 0 ? b[i] : 0); } +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c index d718b5923b11aaee4d259c62cab1a82c714cc934..ae5d23fab86a4dd363e3df7310571ac93fc93f81 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c @@ -20,6 +20,7 @@ main1 (void) a[i] = (b[i] > 0 ? b[i] : 0); } +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c index 7316985829f589dbbbe782b037096b2c5bd2be3c..4aaff3430a4cb110d586da83e2db410ae88bc977 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] >= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c index e87bcb8b43d3b82d30f8d3c2340b4968c8dd8da4..c644523a0047a6dfaa0ec8f3d74db79f71b82ec7 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c @@ -21,6 +21,7 @@ int main () A[i] = ( A[i] > MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c index 9bd583fde6e71096b9cfd07d2668a9f32b50bf17..5902f61f954c5f65929616b0f924b8941cac847c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c index 9bd583fde6e71096b9cfd07d2668a9f32b50bf17..5902f61f954c5f65929616b0f924b8941cac847c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c index dcb09b7e7c7a3c983763fb3e57ea036e26d2d1ba..7f436a69e99bff6cebbc19a35c2dbbe5dce94c5a 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] < MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c index ebde13167c863d91376d7c17d65191c047a7c9e7..d31157713bf3d0f0fadf305053dfae0612712b8d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c +++ b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c @@ -21,6 +21,7 @@ int main () check_vect (); main1 (32); +#pragma GCC novector for (si = 0; si < 32; ++si) if (stack_vars_sorted[si] != si) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c b/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c index e965910d66d06434a367f08553fde8a733a53e41..8491d5f0070233af5c0baf64f9123d270fe1d51c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c +++ b/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c @@ -22,6 +22,7 @@ main1 (unsigned short *in) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*4] != in[i*4] @@ -48,6 +49,7 @@ main2 (unsigned short * __restrict__ in, unsigned short * __restrict__ out) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*4] != in[i*4] diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c index a92ec9c1656275e1b0e31cfe1dcde3be78dfac7e..45cca1d1991c126fdef29bb129c443aae249a295 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c @@ -41,6 +41,7 @@ int main(void) with_restrict(a + 1); without_restrict(b + 1); +#pragma GCC novector for (i = 0; i < 1002; ++i) { if (a[i] != b[i]) abort(); diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c index ce934279ddfe073a96ef8cd7e0d383ca979bda7a..73b92177dabf5193d9d158a92e0383d389b67c82 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c @@ -30,6 +30,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != a[i] || p->b[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c index d9e0529e73f0a566220020ad671f432f3e72299f..9a3fdab128a3bf2609018f92a38a7a6de8b7270b 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c @@ -35,6 +35,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != 1) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c index 581438823fd2d1fa83ae4cb770995ff30c18abf8..439347c3bb10711911485a9c1f3bc6abf1c7798c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c @@ -34,6 +34,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != 1) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c index 6f4c84b4cd2b928c5df21a44e910620c1937e863..f59eb69d99fbe2794f3f6c6822cc87b209e8295f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c @@ -24,6 +24,7 @@ int main1 (char *y) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -38,6 +39,7 @@ int main1 (char *y) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c index 18d4d1bbe6d0fdd357a95ab997437ab6b9a46ded..6b4542f5948bc32ca736ad92328a0fd37e44334c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c @@ -11,6 +11,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) @@ -66,6 +67,7 @@ main2 (float *pa, float *pb, float *pc) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (b[i] * c[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c index cad507a708f3079f36e2c85c594513514a1e172b..5db05288c81bf5c4c158efbc50f6d4862bf3f335 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c index a364c7b0d6f1f19292b937eedf0854163c1f549a..a33375f94fec55183493f96c84099224b7f4af6f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c @@ -11,6 +11,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c index 69e921b95031b9275e6f4edeb120f247e93646a3..5ebb8fea0b7cb101f73fa2b079f4a37092eb6f2d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c index b1c1d86587e5bd9b1dcd364ad495ee7a52ccfb2b..b6d251ec48950dacdecc4d141ebceb4cedaa0755 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c index 83dc628f0b0803eab9489101c6f3c26f87cf429c..6291dd9d53c33160a0aacf05aeb6febb79fdadf0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c @@ -12,6 +12,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (pa[i] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c index 9524454d367db2a45ab744d55a9d32a32e773140..d0334e3ba90f511fd6c0bc5faa72d78c07510cd9 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c @@ -13,6 +13,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (pa[i] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c index 6e9ddcfa5ce61f7a53829e81cab277165ecd1d91..37e474f8a06f1f7df7e9a83290e865d1baa12fce 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c @@ -23,6 +23,7 @@ main1 (float *pa, float *pb, float *pc) pa[i] = q[i] * pc[i]; } +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != q[i] * pc[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c index da3506a4cecdce11bf929a98c533026d31fc5f96..e808c87158076d3430eac124df9fdd55192821a8 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N - 1; i++) { if (ia[i] != 0) @@ -34,6 +35,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N - 1; i++) { if (ib[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c index 89958378fca009fba6b59509c2ea7f96fa53805b..25a3409ae5e2ebdb6f7ebabc7974cd49ac7b7d47 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != 0) @@ -34,6 +35,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ib[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c index e5914d970e3596a082e015725ba99369670db4e7..d1d70dda2eb9b3d7b462ebe0c30536a1f2744af4 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c @@ -130,6 +130,7 @@ main1 (void) case 7: f8 (); break; } +#pragma GCC novector for (i = 0; i <= N; i++) { int ea = i + 3; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c index 8cc69ab22c5ab7cc193eeba1aa50365db640b254..407b683961ff0f5caaa1f168913fb7011b7fd2a3 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c @@ -37,6 +37,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < N-20; i++) { if (A[i] != D[i+20]) @@ -50,6 +51,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < 16; i++) { if (B[i] != C[i] + 5) @@ -63,6 +65,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < 4; i++) { if (C[i] != E[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr101445.c b/gcc/testsuite/gcc.dg/vect/pr101445.c index f8a6e9ce6f7fa514cacd8b58d9263636d1d28eff..143156f2464e84e392c04231e4717ef9ec7d8a6e 100644 --- a/gcc/testsuite/gcc.dg/vect/pr101445.c +++ b/gcc/testsuite/gcc.dg/vect/pr101445.c @@ -21,6 +21,7 @@ int main() { check_vect (); foo (); +#pragma GCC novector for (int d = 0; d < 25; d++) if (a[d] != 0) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr103581.c b/gcc/testsuite/gcc.dg/vect/pr103581.c index d072748de31d2c6beb5d6dd86bf762ee1f4d0182..92695c83d99bf048b52c8978634027bcfd71c13d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr103581.c +++ b/gcc/testsuite/gcc.dg/vect/pr103581.c @@ -39,6 +39,7 @@ main() unsigned int *resusiusi = maskgatherusiusi (16, idx4, data4); unsigned long long *resudiudi = maskgatherudiudi (16, idx8, data8); unsigned int *resusiudi = maskgatherusiudi (16, idx8, data4); +#pragma GCC novector for (int i = 0; i < 16; ++i) { unsigned int d = idx4[i]; diff --git a/gcc/testsuite/gcc.dg/vect/pr105219.c b/gcc/testsuite/gcc.dg/vect/pr105219.c index 4bca5bbba30a9740a54e6205bc0d0c8011070977..2289f5e1a633b56218d089d81528599d4f1f282b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr105219.c +++ b/gcc/testsuite/gcc.dg/vect/pr105219.c @@ -22,6 +22,7 @@ int main() { __builtin_memset (data, 0, sizeof (data)); foo (&data[start], n); +#pragma GCC novector for (int j = 0; j < n; ++j) if (data[start + j] != j) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr108608.c b/gcc/testsuite/gcc.dg/vect/pr108608.c index e968141ba03639ab86ccf77e5e9ad5dd56a66e0d..fff5c1a89365665edc3478263ee909b2b260e178 100644 --- a/gcc/testsuite/gcc.dg/vect/pr108608.c +++ b/gcc/testsuite/gcc.dg/vect/pr108608.c @@ -13,6 +13,7 @@ main (void) { check_vect (); float ptr[256]; +#pragma GCC novector for (int j = 0; j < 16; ++j) { for (int i = 0; i < 256; ++i) diff --git a/gcc/testsuite/gcc.dg/vect/pr18400.c b/gcc/testsuite/gcc.dg/vect/pr18400.c index 012086138f7199fdf2b4b40666795f7df03a89d2..dd96d87be99287da19df4634578e2e073ab42455 100644 --- a/gcc/testsuite/gcc.dg/vect/pr18400.c +++ b/gcc/testsuite/gcc.dg/vect/pr18400.c @@ -19,6 +19,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr18536.c b/gcc/testsuite/gcc.dg/vect/pr18536.c index 6d02675913b68c811f4e3bc1f71df830d7f4e2aa..33ee3a5ddcfa296672924678b40474bea947b9ea 100644 --- a/gcc/testsuite/gcc.dg/vect/pr18536.c +++ b/gcc/testsuite/gcc.dg/vect/pr18536.c @@ -22,6 +22,7 @@ int main (void) main1 (0, x); /* check results: */ +#pragma GCC novector while (++i < 4) { if (x[i-1] != 2) diff --git a/gcc/testsuite/gcc.dg/vect/pr20122.c b/gcc/testsuite/gcc.dg/vect/pr20122.c index 4f1b7bd6c1e723405b6625f7c7c890a46d3272bc..3a0387e7728fedc9872cb385dd7817f7f5cf07ac 100644 --- a/gcc/testsuite/gcc.dg/vect/pr20122.c +++ b/gcc/testsuite/gcc.dg/vect/pr20122.c @@ -27,6 +27,7 @@ static void VecBug2(short Kernel[8][24]) Kernshort2[i] = Kernel[k][i]; for (k = 0; k<8; k++) +#pragma GCC novector for (i = 0; i<24; i++) if (Kernshort2[i] != Kernel[k][i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr25413.c b/gcc/testsuite/gcc.dg/vect/pr25413.c index e80d6970933e675b6056e5d119c6eb0e817a40f9..266ef3109f20df7615e85079a5d2330f26cf540d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr25413.c +++ b/gcc/testsuite/gcc.dg/vect/pr25413.c @@ -26,6 +26,7 @@ int main (void) check_vect (); main1 (); +#pragma GCC novector for (i=0; i>16 || dest[i*4 + 1] != (src[i*2 + 1])>>8 diff --git a/gcc/testsuite/gcc.dg/vect/pr40074.c b/gcc/testsuite/gcc.dg/vect/pr40074.c index 143ee05b1fda4b0f858e31cad2ecd4211530e7b6..b75061a8116c34f609eb9ed59256b6eea87976a4 100644 --- a/gcc/testsuite/gcc.dg/vect/pr40074.c +++ b/gcc/testsuite/gcc.dg/vect/pr40074.c @@ -30,6 +30,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N-1; i++) { if (res[i] != arr[i].b + arr[i].d + arr[i+1].b) diff --git a/gcc/testsuite/gcc.dg/vect/pr45752.c b/gcc/testsuite/gcc.dg/vect/pr45752.c index 4ddac7ad5097c72f08b948f64caa54421d4f55d0..e8b364f29eb0c4b20bb2b2be5d49db3aab5ac39b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr45752.c +++ b/gcc/testsuite/gcc.dg/vect/pr45752.c @@ -146,6 +146,7 @@ int main (int argc, const char* argv[]) foo (input, output, input2, output2); +#pragma GCC novector for (i = 0; i < N; i++) if (output[i] != check_results[i] || output2[i] != check_results2[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr45902.c b/gcc/testsuite/gcc.dg/vect/pr45902.c index ac8e1ca6d38159d3c26497a414b638f49846381e..74510bf94b82850b6492c6d1ed0abacb73f65a16 100644 --- a/gcc/testsuite/gcc.dg/vect/pr45902.c +++ b/gcc/testsuite/gcc.dg/vect/pr45902.c @@ -34,6 +34,7 @@ main () main1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != a[i] >> 8) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr46009.c b/gcc/testsuite/gcc.dg/vect/pr46009.c index 9649e2fb4bbfd74e134a9ef3d068d50b9bcb86c0..fe73dbf5db08732cc74115281dcf6a020f893cb6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr46009.c +++ b/gcc/testsuite/gcc.dg/vect/pr46009.c @@ -49,6 +49,7 @@ main (void) e[i] = -1; } foo (); +#pragma GCC novector for (i = 0; i < 1024; i++) { int g; @@ -59,6 +60,7 @@ main (void) e[i] = -1; } bar (); +#pragma GCC novector for (i = 0; i < 1024; i++) { int g; diff --git a/gcc/testsuite/gcc.dg/vect/pr48172.c b/gcc/testsuite/gcc.dg/vect/pr48172.c index a7fc05cae9119076efad4ca13a0f6fd0aff004b7..850e9b92bc15ac5f51fee8ac7fd2c9122def66b6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr48172.c +++ b/gcc/testsuite/gcc.dg/vect/pr48172.c @@ -25,6 +25,7 @@ int main() { array[HALF+i] = array[2*i] + array[2*i + 1]; /* see if we have any failures */ +#pragma GCC novector for (i = 0; i < HALF - 1; i++) if (array[HALF+i] != array[2*i] + array[2*i + 1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr51074.c b/gcc/testsuite/gcc.dg/vect/pr51074.c index 4144572126e9de36f5b2e85bb56ff9fdff372bce..d6c8cea1f842e08436a3d04af513307d3e980d27 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51074.c +++ b/gcc/testsuite/gcc.dg/vect/pr51074.c @@ -15,6 +15,7 @@ main () s[i].a = i; } asm volatile ("" : : : "memory"); +#pragma GCC novector for (i = 0; i < 8; i++) if (s[i].b != 0 || s[i].a != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr51581-3.c b/gcc/testsuite/gcc.dg/vect/pr51581-3.c index 76c156adf9d0dc083b7eb5fb2e6f056398e2b845..25acceef0e5ca6f8c180a41131cd190b9c84b533 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51581-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr51581-3.c @@ -97,17 +97,20 @@ main () } f1 (); f2 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != b[i] / 8 || c[i] != d[i] / 3) abort (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < 8; i+= 2) if (a[i] != b[i] / 8 || a[i + 1] != b[i + 1] / 4 || c[i] != d[i] / 3 || c[i + 1] != d[i + 1] / 5) abort (); f5 (); f6 (); +#pragma GCC novector for (i = 0; i < 8; i+= 2) if (a[i] != b[i] / 14 || a[i + 1] != b[i + 1] / 15 || c[i] != d[i] / (i == 6 ? 13 : 6) || c[i + 1] != d[i + 1] / 5) diff --git a/gcc/testsuite/gcc.dg/vect/pr51581-4.c b/gcc/testsuite/gcc.dg/vect/pr51581-4.c index 632c96e7481339a6dfac92913a519ad5501d34c4..f6234f3e7c09194dba54af08832171798c7d9c09 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51581-4.c +++ b/gcc/testsuite/gcc.dg/vect/pr51581-4.c @@ -145,17 +145,20 @@ main () } f1 (); f2 (); +#pragma GCC novector for (i = 0; i < 16; i++) if (a[i] != b[i] / 8 || c[i] != d[i] / 3) abort (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < 16; i+= 2) if (a[i] != b[i] / 8 || a[i + 1] != b[i + 1] / 4 || c[i] != d[i] / 3 || c[i + 1] != d[i + 1] / 5) abort (); f5 (); f6 (); +#pragma GCC novector for (i = 0; i < 16; i+= 2) if (a[i] != b[i] / 14 || a[i + 1] != b[i + 1] / 15 || c[i] != d[i] / ((i & 7) == 6 ? 13 : 6) || c[i + 1] != d[i + 1] / 5) diff --git a/gcc/testsuite/gcc.dg/vect/pr53185-2.c b/gcc/testsuite/gcc.dg/vect/pr53185-2.c index 6057c69a24a81be20ecc5582685fb4516f47803d..51614e70d8feac0004644b2e6bb7deb52eeeefea 100644 --- a/gcc/testsuite/gcc.dg/vect/pr53185-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr53185-2.c @@ -20,6 +20,7 @@ int main () for (off = 0; off < 8; ++off) { fn1 (&a[off], &b[off], 32 - off, 3); +#pragma GCC novector for (i = 0; i < 32 - off; ++i) if (a[off+i] != b[off+i*3]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56826.c b/gcc/testsuite/gcc.dg/vect/pr56826.c index e8223808184e6b7b37a6d458bdb440566314e959..2f2da458b89ac04634cb809873d7a60e55484499 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56826.c +++ b/gcc/testsuite/gcc.dg/vect/pr56826.c @@ -35,6 +35,7 @@ int main() __asm__ volatile (""); } bar (&A[0], &B[0], 100); +#pragma GCC novector for (i=0; i<300; i++) if (A[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56918.c b/gcc/testsuite/gcc.dg/vect/pr56918.c index 1c88d324b902e9389afe4c5c729f20b2ad790dbf..4941453bbe9940b4e775239c4c2c9606435ea20a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56918.c +++ b/gcc/testsuite/gcc.dg/vect/pr56918.c @@ -22,6 +22,7 @@ main () foo (); if (data[0] != 3 || data[7] != 1) abort (); +#pragma GCC novector for (i = 1; i < 4; ++i) if (data[i] != i || data[i + 3] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56920.c b/gcc/testsuite/gcc.dg/vect/pr56920.c index 865cfda760d1978eb1f3f063c75e2bac558254bd..ef73471468392b573e999a59e282b4d796556b8d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56920.c +++ b/gcc/testsuite/gcc.dg/vect/pr56920.c @@ -12,6 +12,7 @@ main () check_vect (); for (i = 0; i < 15; ++i) a[i] = (i * 2) % 15; +#pragma GCC novector for (i = 0; i < 15; ++i) if (a[i] != (i * 2) % 15) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56933.c b/gcc/testsuite/gcc.dg/vect/pr56933.c index 7206682d7935a0436aaf502537bb56642d5e4648..2f2afe6df134163d2e7761be4906d778dbd6b670 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56933.c +++ b/gcc/testsuite/gcc.dg/vect/pr56933.c @@ -25,6 +25,7 @@ int main() for (i = 0; i < 2*1024; i++) d[i] = 1.; foo (b, d, f); +#pragma GCC novector for (i = 0; i < 1024; i+= 2) { if (d[2*i] != 2.) @@ -32,6 +33,7 @@ int main() if (d[2*i+1] != 4.) abort (); } +#pragma GCC novector for (i = 0; i < 1024; i++) { if (b[i] != 1.) diff --git a/gcc/testsuite/gcc.dg/vect/pr57705.c b/gcc/testsuite/gcc.dg/vect/pr57705.c index e17ae09beb68051637c3ece69ac2f29e1433008d..39c32946d74ef01efce6fbc2f23c72dd0b33091d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57705.c +++ b/gcc/testsuite/gcc.dg/vect/pr57705.c @@ -47,14 +47,17 @@ main () int i; check_vect (); foo (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 5 + 4 * i) abort (); bar (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 9 + 4 * i) abort (); baz (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 5 + 4 * i || b[i] != (unsigned char) i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr57741-2.c b/gcc/testsuite/gcc.dg/vect/pr57741-2.c index df63a49927d38badb2503787bcd828b796116199..6addd76b422614a2e28272f4d696e3cba4bb0376 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57741-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr57741-2.c @@ -34,6 +34,7 @@ main () int i; check_vect (); foo (p, q, 1.5f); +#pragma GCC novector for (i = 0; i < 1024; i++) if (p[i] != 1.0f + i * 1.5f || q[i] != 2.0f + i * 0.5f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr57741-3.c b/gcc/testsuite/gcc.dg/vect/pr57741-3.c index 2e4954ac7f14b21463b0ef0ca97e05c4eb96e8fd..916fa131513b88321d36cdbe46f101361b4f8244 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57741-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr57741-3.c @@ -33,6 +33,7 @@ main () check_vect (); r[0] = 0; foo (1.5f); +#pragma GCC novector for (i = 0; i < 1024; i++) if (p[i] != 1.0f + i * 1.5f || q[i] != 2.0f + i * 0.5f || r[i] != 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr59591-1.c b/gcc/testsuite/gcc.dg/vect/pr59591-1.c index 892fce58e36b37e5412cc6c100f82b6077ace77e..e768fb3e1de48cf43b389cf83b4f7f1f030c4f91 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59591-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr59591-1.c @@ -31,6 +31,7 @@ bar (void) t[i] = i * 13; } foo (); +#pragma GCC novector for (i = 0; i < 256; i++) if ((i >> 2) & (1 << (i & 3))) { diff --git a/gcc/testsuite/gcc.dg/vect/pr59591-2.c b/gcc/testsuite/gcc.dg/vect/pr59591-2.c index bd82d765794a32af6509ffd60d1f552ce10570a3..3bdf4252cffe63830b5b47cd17fa29a3c65afc73 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59591-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr59591-2.c @@ -32,6 +32,7 @@ bar (void) t[i] = i * 13; } foo (); +#pragma GCC novector for (i = 0; i < 256; i++) if ((i >> 2) & (1 << (i & 3))) { diff --git a/gcc/testsuite/gcc.dg/vect/pr59594.c b/gcc/testsuite/gcc.dg/vect/pr59594.c index 947fa4c0c301d98cbdfeb5da541482858b69180f..e3ece8abf7131aa4ed0a2d5af79d4bdea90bd8c1 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59594.c +++ b/gcc/testsuite/gcc.dg/vect/pr59594.c @@ -22,6 +22,7 @@ main () } if (b[0] != 1) __builtin_abort (); +#pragma GCC novector for (i = 0; i < N; i++) if (b[i + 1] != i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr59984.c b/gcc/testsuite/gcc.dg/vect/pr59984.c index d6977f0020878c043376b7e7bfdc6a0e85ac2663..c00c2267158667784fb084b0ade19e2ab763c6a3 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59984.c +++ b/gcc/testsuite/gcc.dg/vect/pr59984.c @@ -37,6 +37,7 @@ test (void) foo (a[i], &v1, &v2); a[i] = v1 * v2; } +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * i * i * i - 1) __builtin_abort (); @@ -49,6 +50,7 @@ test (void) bar (a[i], &v1, &v2); a[i] = v1 * v2; } +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * i * i * i - 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr60276.c b/gcc/testsuite/gcc.dg/vect/pr60276.c index 9fc18ac7428cf71903b6ebb04b90eb21b2e8b3c7..824e2a336b6d9fad2e7a72c445ec2edf80be8138 100644 --- a/gcc/testsuite/gcc.dg/vect/pr60276.c +++ b/gcc/testsuite/gcc.dg/vect/pr60276.c @@ -44,6 +44,7 @@ int main(void) foo (out + 2, lp + 1, 48); foo_novec (out2 + 2, lp + 1, 48); +#pragma GCC novector for (s = 0; s < 49; s++) if (out[s] != out2[s]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr61194.c b/gcc/testsuite/gcc.dg/vect/pr61194.c index 8421367577278cdf5762327d83cdc4a0e65c9411..8cd38b3d5da616d65ba131d048280b1d5644339d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr61194.c +++ b/gcc/testsuite/gcc.dg/vect/pr61194.c @@ -32,6 +32,7 @@ int main() barX(); +#pragma GCC novector for (i = 0; i < 1024; ++i) if (z[i] != ((x[i]>0 && w[i]<0) ? 0. : 1.)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr61680.c b/gcc/testsuite/gcc.dg/vect/pr61680.c index e25bf78090ce49d68cb3694233253b403709331a..bb24014bdf045f22a0c9c5234481f07153c25d41 100644 --- a/gcc/testsuite/gcc.dg/vect/pr61680.c +++ b/gcc/testsuite/gcc.dg/vect/pr61680.c @@ -8,6 +8,7 @@ bar (double p[][4]) { int i; double d = 172.0; +#pragma GCC novector for (i = 0; i < 4096; i++) { if (p[i][0] != 6.0 || p[i][1] != 6.0 || p[i][2] != 10.0) diff --git a/gcc/testsuite/gcc.dg/vect/pr62021.c b/gcc/testsuite/gcc.dg/vect/pr62021.c index 40c64429d6382821af4a31b3569c696ea0e5fa2a..460fadb3f6cd73c7cac2bbba65cc09d4211396e8 100644 --- a/gcc/testsuite/gcc.dg/vect/pr62021.c +++ b/gcc/testsuite/gcc.dg/vect/pr62021.c @@ -24,6 +24,7 @@ main () #pragma omp simd for (i = 0; i < 1024; i++) b[i] = foo (b[i], i); +#pragma GCC novector for (i = 0; i < 1024; i++) if (b[i] != &a[1023]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr63341-2.c b/gcc/testsuite/gcc.dg/vect/pr63341-2.c index 2004a79b80ef4081136ade20df9b6acd5b6428c1..aa338263a7584b06f10e4cb4a6baf19dea20f40a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr63341-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr63341-2.c @@ -16,6 +16,7 @@ foo () int i; for (i = 0; i < 32; i++) d[i] = t.s[i].s + 4; +#pragma GCC novector for (i = 0; i < 32; i++) if (d[i] != t.s[i].s + 4) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64252.c b/gcc/testsuite/gcc.dg/vect/pr64252.c index b82ad017c16fda6e031b503a9b11fe39a3691a6c..89070c27ff0f9763bd8eaff4a81b5b0197ae12dc 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64252.c +++ b/gcc/testsuite/gcc.dg/vect/pr64252.c @@ -57,6 +57,7 @@ int main() int i; check_vect (); bar(2, q); +#pragma GCC novector for (i = 0; i < N; i++) if (q[0].a[i].f != 0 || q[0].a[i].c != i || q[0].a[i].p != -1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64404.c b/gcc/testsuite/gcc.dg/vect/pr64404.c index 26fceb6cd8936f7300fb0067c0f18c3d35ac4595..6fecf9ecae18e49808a58fe17a6b912786bdbad3 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64404.c +++ b/gcc/testsuite/gcc.dg/vect/pr64404.c @@ -42,6 +42,7 @@ main (void) Compute (); +#pragma GCC novector for (d = 0; d < 1024; d++) { if (Y[d].l != X[d].l + X[d].h diff --git a/gcc/testsuite/gcc.dg/vect/pr64421.c b/gcc/testsuite/gcc.dg/vect/pr64421.c index 3b5ab2d980c207c1d5e7fff73cd403ac38790080..47afd22d93e5ed8fbfff034cd2a03d8d70f7e422 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64421.c +++ b/gcc/testsuite/gcc.dg/vect/pr64421.c @@ -27,6 +27,7 @@ main () a[i] = foo (a[i], i); if (a[0] != 1 || a[1] != 3) abort (); +#pragma GCC novector for (i = 2; i < 1024; i++) if (a[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64493.c b/gcc/testsuite/gcc.dg/vect/pr64493.c index 6fb13eb6d96fe67471fdfafd2eed2a897ae8b670..d3faf84bcc16d31fc11dd2d0cd7242972fdbafdc 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64493.c +++ b/gcc/testsuite/gcc.dg/vect/pr64493.c @@ -9,6 +9,7 @@ main () for (; a; a--) for (d = 1; d <= 0; d++) +#pragma GCC novector for (; d;) if (h) { diff --git a/gcc/testsuite/gcc.dg/vect/pr64495.c b/gcc/testsuite/gcc.dg/vect/pr64495.c index 5cbaeff8389dafd3444f90240a910e7d5e4f2431..c48f9389aa325a8b8ceb5697684f563b8c13a72d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64495.c +++ b/gcc/testsuite/gcc.dg/vect/pr64495.c @@ -11,6 +11,7 @@ main () for (; a;) for (; g; g++) +#pragma GCC novector for (; f; f++) if (j) { diff --git a/gcc/testsuite/gcc.dg/vect/pr66251.c b/gcc/testsuite/gcc.dg/vect/pr66251.c index 26afbc96a5d57a49fbbac95753f4df006cb36018..355590e69a98687084fee2c5486d14c2a20f3fcb 100644 --- a/gcc/testsuite/gcc.dg/vect/pr66251.c +++ b/gcc/testsuite/gcc.dg/vect/pr66251.c @@ -51,6 +51,7 @@ int main () test1(da, ia, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != ia[i*stride]) @@ -66,6 +67,7 @@ int main () test2(ia, da, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != ia[i*stride]) diff --git a/gcc/testsuite/gcc.dg/vect/pr66253.c b/gcc/testsuite/gcc.dg/vect/pr66253.c index bdf3ff9ca51f7f656fad687fd8c77c6ee053794f..6b99b4f3b872cbeab14e035f2e2d40aab6e438e4 100644 --- a/gcc/testsuite/gcc.dg/vect/pr66253.c +++ b/gcc/testsuite/gcc.dg/vect/pr66253.c @@ -39,6 +39,7 @@ int main () test1(da, ia, ca, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != 0.5 * ia[i*stride] * ca[i*stride]) diff --git a/gcc/testsuite/gcc.dg/vect/pr68502-1.c b/gcc/testsuite/gcc.dg/vect/pr68502-1.c index 4f7d0bfca38693877ff080842d6ef7abf3d3e17b..cc6e6cd9a2be0e921382bda3c653f6a6b730b905 100644 --- a/gcc/testsuite/gcc.dg/vect/pr68502-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr68502-1.c @@ -41,6 +41,7 @@ int main () for (i = 0; i < numf1s; i++) f1_layer[i].I = (double *)-1; reset_nodes (); +#pragma GCC novector for (i = 0; i < numf1s; i++) if (f1_layer[i].I != (double *)-1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr68502-2.c b/gcc/testsuite/gcc.dg/vect/pr68502-2.c index a3eddafc7ca76cbe4c21f6ed873249cb2c94b7a6..11f87125b75df9db29669aa55cdc3c202b0fedda 100644 --- a/gcc/testsuite/gcc.dg/vect/pr68502-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr68502-2.c @@ -41,6 +41,7 @@ int main () for (i = 0; i < numf1s; i++) f1_layer[i].I = -1; reset_nodes (); +#pragma GCC novector for (i = 0; i < numf1s; i++) if (f1_layer[i].I != -1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr69820.c b/gcc/testsuite/gcc.dg/vect/pr69820.c index be24e4fa9a1343e4308bfd967f1ccfdd3549db5c..72d10b65c16b54764aac0cf271138ffa187f4052 100644 --- a/gcc/testsuite/gcc.dg/vect/pr69820.c +++ b/gcc/testsuite/gcc.dg/vect/pr69820.c @@ -28,6 +28,7 @@ main () c[i] = 38364; } foo (); +#pragma GCC novector for (i = 0; i < 100; ++i) if (b[i] != 0xed446af8U) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr70021.c b/gcc/testsuite/gcc.dg/vect/pr70021.c index 988fc53216d12908bbbc564c9efc4d63a5c057d7..d4d5db12bc0e646413ba393b57edc60ba1189059 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70021.c +++ b/gcc/testsuite/gcc.dg/vect/pr70021.c @@ -32,6 +32,7 @@ main () e[i] = 14234165565810642243ULL; } foo (); +#pragma GCC novector for (i = 0; i < N; ++i) if (e[i] != ((i & 3) ? 14234165565810642243ULL : 1ULL)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr70354-1.c b/gcc/testsuite/gcc.dg/vect/pr70354-1.c index 9d601dc9d4a92922e4114b8b4d1b7ef2f49c0c44..2687758b022b01af3eb7b444fee25be8bc1f8b3c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70354-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr70354-1.c @@ -41,6 +41,7 @@ main () h[i] = 8193845517487445944ULL; } foo (); +#pragma GCC novector for (i = 0; i < 64; i++) if (d[i] != 8193845517487445944ULL || e[i] != 1 || g[i] != 4402992416302558097ULL) diff --git a/gcc/testsuite/gcc.dg/vect/pr70354-2.c b/gcc/testsuite/gcc.dg/vect/pr70354-2.c index 160e1e083e03e0652d06bf29df060192cbe75fd5..cb4cdaae30ba5760fc32e255b651072ca397a499 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70354-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr70354-2.c @@ -29,6 +29,7 @@ main () b[i] = 0x1200000000ULL + (i % 54); } foo (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != (0x1234ULL << (i % 54))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr71259.c b/gcc/testsuite/gcc.dg/vect/pr71259.c index 587a8e3c8f378f3c57f8a9a2e9fa5aee3a968860..6cb22f622ee2ce2d6de51c440472e36fe7294362 100644 --- a/gcc/testsuite/gcc.dg/vect/pr71259.c +++ b/gcc/testsuite/gcc.dg/vect/pr71259.c @@ -20,6 +20,7 @@ main () asm volatile ("" : : : "memory"); for (i = 0; i < 44; i++) for (j = 0; j < 17; j++) +#pragma GCC novector for (k = 0; k < 2; k++) if (c[i][j][k] != -5105075050047261684) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr78005.c b/gcc/testsuite/gcc.dg/vect/pr78005.c index 7cefe73fe1b3d0050befeb5e25aec169867fd96a..6da7acf50c2a1237b817abf8e6b9191b3c3e1378 100644 --- a/gcc/testsuite/gcc.dg/vect/pr78005.c +++ b/gcc/testsuite/gcc.dg/vect/pr78005.c @@ -22,6 +22,7 @@ foo (int n, int d) #define check_u(x) \ foo (x, 2); \ + _Pragma("GCC novector") \ for (i = 0; i < N; i++) \ { \ if (u[i] != res##x[i]) \ diff --git a/gcc/testsuite/gcc.dg/vect/pr78558.c b/gcc/testsuite/gcc.dg/vect/pr78558.c index 2606d4ec10d3fa18a4c0e4b8e9dd02131cb57ba7..2c28426eb85fc6663625c542e84860fa7bcfd3c2 100644 --- a/gcc/testsuite/gcc.dg/vect/pr78558.c +++ b/gcc/testsuite/gcc.dg/vect/pr78558.c @@ -37,6 +37,7 @@ main () asm volatile ("" : : "g" (s), "g" (d) : "memory"); foo (); asm volatile ("" : : "g" (s), "g" (d) : "memory"); +#pragma GCC novector for (i = 0; i < 50; ++i) if (d[i].q != i || d[i].r != 50 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80815-2.c b/gcc/testsuite/gcc.dg/vect/pr80815-2.c index 83557daa6963632ccf2cf0a641a4106b4dc833f5..3ffff0be3be96df4c3e6a3d5caa68b7d4b6bad9a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80815-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr80815-2.c @@ -38,6 +38,7 @@ int main (void) foo (a, b); +#pragma GCC novector for (i = 973; i < 1020; i++) if (arr[i] != res[i - 973]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80815-3.c b/gcc/testsuite/gcc.dg/vect/pr80815-3.c index 50392ab1a417de2af81af6473bf0a85bd9eb7279..5e2be5262ebb639d4bd771e326f9a07ed2ee0680 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80815-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr80815-3.c @@ -35,6 +35,7 @@ int main (void) foo (a, b, 50); +#pragma GCC novector for (i = 975; i < 1025; i++) if (arr[i] != res[i - 975]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80928.c b/gcc/testsuite/gcc.dg/vect/pr80928.c index e6c1f1ab5a7f4ca7eac98cf91fccffbff2dcfc7a..34566c4535247d2fa39c5d856d1e0c32687e9a2a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80928.c +++ b/gcc/testsuite/gcc.dg/vect/pr80928.c @@ -25,6 +25,7 @@ int main () foo (); /* check results */ +#pragma GCC novector for (int i = 0; i < 1020; ++i) if (a[i] != ((i + 4) / 5) * 5) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81410.c b/gcc/testsuite/gcc.dg/vect/pr81410.c index 9c91c08d33c729d8ff26cae72f4651081850b550..6b7586992fe46918aab537a06f166ce2e25f90d8 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81410.c +++ b/gcc/testsuite/gcc.dg/vect/pr81410.c @@ -26,6 +26,7 @@ int main() __asm__ volatile ("" : : : "memory"); } foo (); +#pragma GCC novector for (int i = 0; i < 8; ++i) if (y[2*i] != 3*i || y[2*i+1] != 3*i + 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81633.c b/gcc/testsuite/gcc.dg/vect/pr81633.c index 9689ab3959cd9df8234b89ec307b7cd5d6f9d795..2ad144a60444eb82b8e8575efd8fcec94fcd6f01 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81633.c +++ b/gcc/testsuite/gcc.dg/vect/pr81633.c @@ -24,6 +24,7 @@ int main(void) double A[4][4] = {{0.0}}; kernel(A); for ( int i = 0; i < 4; i++ ) +#pragma GCC novector for ( int j = 0; j < 4; j++ ) if (A[i][j] != expected[i][j]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81740-1.c b/gcc/testsuite/gcc.dg/vect/pr81740-1.c index f6fd43c7c87e0aad951ba092796f0aae39b80d54..b01e1994834934bbd50f3fc1cbcf494ecc62c315 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81740-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr81740-1.c @@ -14,6 +14,7 @@ main () for (c = 0; c <= 6; c++) a[c + 1][b + 2] = a[c][b + 1]; for (i = 0; i < 8; i++) +#pragma GCC novector for (d = 0; d < 10; d++) if (a[i][d] != (i == 3 && d == 6) * 4) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81740-2.c b/gcc/testsuite/gcc.dg/vect/pr81740-2.c index 1e0d6645a03f77c9c042313fd5377b71ba75c4d6..7b2bfe139f20fb66c90cfd643b65df3edb9b536e 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81740-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr81740-2.c @@ -15,6 +15,7 @@ main () for (c = 6; c >= 0; c--) a[c + 1][b + 2] = a[c][b + 1]; for (i = 0; i < 8; i++) +#pragma GCC novector for (d = 0; d < 10; d++) if (a[i][d] != (i == 3 && d == 6) * 4) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr85586.c b/gcc/testsuite/gcc.dg/vect/pr85586.c index 3d075bfcec83bab119f77bad7b642eb3d634fb4c..a4a170a1fcd130d84da3be9f897889ff4cfc717c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr85586.c +++ b/gcc/testsuite/gcc.dg/vect/pr85586.c @@ -24,6 +24,7 @@ main (void) } foo (out, in, 1); +#pragma GCC novector for (int i = 0; i < N; ++i) if (out[i] != in[i]) __builtin_abort (); @@ -33,6 +34,7 @@ main (void) foo (out + N - 1, in, -1); if (out[0] != in[N - 1]) __builtin_abort (); +#pragma GCC novector for (int i = 1; i <= N; ++i) if (out[i] != 2) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-1.c b/gcc/testsuite/gcc.dg/vect/pr87288-1.c index 0d0a70dff6f21b2f07fecd937d4fe26c0df61513..ec968dfcd0153cdb001e8e282146dbdb67d23c65 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-1.c @@ -16,6 +16,7 @@ run (int *restrict a, int *restrict b, int count) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-2.c b/gcc/testsuite/gcc.dg/vect/pr87288-2.c index e9ff9a0be7c08a9755972717a63025f2825e95cf..03c7f88a6a48507bbbfbf2e177425d28605a3aa6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-2.c @@ -22,6 +22,7 @@ RUN_COUNT (4) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-3.c b/gcc/testsuite/gcc.dg/vect/pr87288-3.c index 23f574ccb53268b59b933ec59a5eadaa890007ff..0475990992e58451de8649b735fa16f0e32ed657 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-3.c @@ -22,6 +22,7 @@ RUN_COUNT (4) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N + 1; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr88903-1.c b/gcc/testsuite/gcc.dg/vect/pr88903-1.c index 77dbfd47c91be8cce0edde8b09b7b90d40268306..0f78ccc995d5dcd35d5d7ba0f35afdc8bb5a1b2b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr88903-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr88903-1.c @@ -19,6 +19,7 @@ main() for (int i = 0; i < 1024; ++i) x[i] = i; foo (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) if (x[i] != i << ((i/2+1) & 31)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr88903-2.c b/gcc/testsuite/gcc.dg/vect/pr88903-2.c index cd88a99c6045c6a3eb848f053386d22b9cbe46ce..8a1cf9c523632f392d95aa2d6ec8332fa50fec5b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr88903-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr88903-2.c @@ -21,6 +21,7 @@ int main() for (int i = 0; i < 1024; ++i) x[i] = i, y[i] = i % 8; foo (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) if (x[i] != i << ((i & ~1) % 8)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr90018.c b/gcc/testsuite/gcc.dg/vect/pr90018.c index 52640f5aa6f02d6deed3b2790482a2d2d01ddd5b..08ca326f7ebfab1a42813bc121f1e5a46394e983 100644 --- a/gcc/testsuite/gcc.dg/vect/pr90018.c +++ b/gcc/testsuite/gcc.dg/vect/pr90018.c @@ -41,6 +41,7 @@ int main(int argc, char **argv) a42[i*4+n*4+1] = tem4 + a42[i*4+n*4+1]; __asm__ volatile ("": : : "memory"); } +#pragma GCC novector for (int i = 0; i < 4 * n * 3; ++i) if (a4[i] != a42[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr92420.c b/gcc/testsuite/gcc.dg/vect/pr92420.c index e43539fbbd7202b3ae2e9f71bfd82a3fcdf8bde3..e56eb0e12fbec55b16785e244f3a24b889af784d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr92420.c +++ b/gcc/testsuite/gcc.dg/vect/pr92420.c @@ -41,6 +41,7 @@ main () } foo (a, b + N, d, N); bar (a, c, e, N); +#pragma GCC novector for (i = 0; i < N; ++i) if (d[i].r != e[i].r || d[i].i != e[i].i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr94994.c b/gcc/testsuite/gcc.dg/vect/pr94994.c index e98aeb090d8cbcfc9628052b553b7a7d226069d1..2f598eacd541eafaef02f9aee34fc769dac2a4c6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr94994.c +++ b/gcc/testsuite/gcc.dg/vect/pr94994.c @@ -41,6 +41,7 @@ main (void) for (unsigned int j = 0; j < INPUT_SIZE + MAX_STEP; ++j) x[j] = j + 10; copy (x + i, x, INPUT_SIZE); +#pragma GCC novector for (int j = 0; j < INPUT_SIZE + i; ++j) { int expected; diff --git a/gcc/testsuite/gcc.dg/vect/pr96783-1.c b/gcc/testsuite/gcc.dg/vect/pr96783-1.c index 55d1364f056febd86c49272ede488bd37867dbe8..2de222d2ae6491054b6c7a6cf5891580abf5c6f7 100644 --- a/gcc/testsuite/gcc.dg/vect/pr96783-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr96783-1.c @@ -31,6 +31,7 @@ int main () a[i] = i; foo (a + 3 * 5, 6-1, 5); const long b[3 * 8] = { 0, 1, 2, 21, 22, 23, 18, 19, 20, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }; +#pragma GCC novector for (int i = 0; i < 3 * 8; ++i) if (a[i] != b[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr96783-2.c b/gcc/testsuite/gcc.dg/vect/pr96783-2.c index 33c37109e3a8de646edd8339b0c98300bed25b51..bcdcfac072cf564d965edd4be7fbd9b23302e759 100644 --- a/gcc/testsuite/gcc.dg/vect/pr96783-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr96783-2.c @@ -20,6 +20,7 @@ int main() for (int i = 0; i < 1024; ++i) b[i] = i; foo (); +#pragma GCC novector for (int i = 0; i < 256; ++i) if (a[3*i] != 1023 - 3*i - 2 || a[3*i+1] != 1023 - 3*i - 1 diff --git a/gcc/testsuite/gcc.dg/vect/pr97081-2.c b/gcc/testsuite/gcc.dg/vect/pr97081-2.c index 98ad3c3fe17e4556985cb6a0392de72a19911a97..436e897cd2e6a8bb41228cec14480bac88e98952 100644 --- a/gcc/testsuite/gcc.dg/vect/pr97081-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr97081-2.c @@ -24,6 +24,7 @@ main () c[i] = i; } foo (3); +#pragma GCC novector for (int i = 0; i < 1024; i++) if (s[i] != (unsigned short) ((i << 3) | (i >> (__SIZEOF_SHORT__ * __CHAR_BIT__ - 3))) || c[i] != (unsigned char) ((((unsigned char) i) << 3) | (((unsigned char) i) >> (__CHAR_BIT__ - 3)))) diff --git a/gcc/testsuite/gcc.dg/vect/pr97558-2.c b/gcc/testsuite/gcc.dg/vect/pr97558-2.c index 8f0808686fbad0b5b5ec11471fd38f53ebd81bde..5dff065f2e220b1ff31027c271c07c9670b98f9c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr97558-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr97558-2.c @@ -41,6 +41,7 @@ int main (void) foo (N-1); /* check results: */ +#pragma GCC novector for (i=0; ia[i] != a[i] || p->b[i] != b[i]) @@ -55,6 +56,7 @@ int main2 () { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != c[i] || p->b[i] != d[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-103.c b/gcc/testsuite/gcc.dg/vect/vect-103.c index d03562f7cddd0890e3e159fbdc7c5d629b54d58c..59d8edc38cacda52e53a5d059171b6eefee9f920 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-103.c +++ b/gcc/testsuite/gcc.dg/vect/vect-103.c @@ -43,6 +43,7 @@ int main1 (int x, int y) { /* check results: */ if (p->a[0] != a[N - 1]) abort (); +#pragma GCC novector for (i = 1; i < N; i++) if (p->a[i] != b[i - 1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-104.c b/gcc/testsuite/gcc.dg/vect/vect-104.c index a77c98735ebad6876c97ee22467f5287b4575a01..e0e5b5a53bdae1e148c61db716f0290bf3e829f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-104.c +++ b/gcc/testsuite/gcc.dg/vect/vect-104.c @@ -43,6 +43,7 @@ int main1 (int x) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { for (j = 0; j < N; j++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c index 433565bfd4d3cea87abe23de29edbe8823054515..ec7e676439677ae587a67eae15aab34fd5ac5b03 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c @@ -75,6 +75,7 @@ int main1 (int x) { /* check results: */ for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (p->a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-105.c b/gcc/testsuite/gcc.dg/vect/vect-105.c index 17b6e89d8f69053b5825c859f3ab5c68c49b3a5d..f0823fbe397358cb34bf4654fccce21a053ba2a7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-105.c +++ b/gcc/testsuite/gcc.dg/vect/vect-105.c @@ -45,6 +45,7 @@ int main1 (int x) { /* check results: */ for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (p->a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-106.c b/gcc/testsuite/gcc.dg/vect/vect-106.c index 0171cfcdfa6e60e6cb8158d098d435c0e472abf8..4b3451cc783e9f83f7a6cb8c54cf50f4c43dddc0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-106.c +++ b/gcc/testsuite/gcc.dg/vect/vect-106.c @@ -28,6 +28,7 @@ int main1 () { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (*q != a[i] || *p != b[i]) @@ -50,6 +51,7 @@ int main1 () { q = q1; p = p1; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (*q != b[i] || *p != a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-107.c b/gcc/testsuite/gcc.dg/vect/vect-107.c index aaab9c00345bf7f0b25fbcda25a141988bda9eac..60c83a99a19f4797bc7a5a175f33aecbc598f8e2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-107.c +++ b/gcc/testsuite/gcc.dg/vect/vect-107.c @@ -24,6 +24,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i] != b[2*i+1] * c[2*i+1] - b[2*i] * c[2*i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-108.c b/gcc/testsuite/gcc.dg/vect/vect-108.c index 4af6326e9c35963ec7109d66dd0d321cf1055597..2cbb6701d5c6df749482d5e4351b9cb4a808b94f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-108.c +++ b/gcc/testsuite/gcc.dg/vect/vect-108.c @@ -21,6 +21,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] * ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-109.c b/gcc/testsuite/gcc.dg/vect/vect-109.c index fe7ea6c420fb1512286b0b468cbe9ffed5daae71..31b9aa2be690fb4f2d9cf8062acbf1b42971098d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-109.c +++ b/gcc/testsuite/gcc.dg/vect/vect-109.c @@ -34,6 +34,7 @@ int main1 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (sa[i+2] != sb[i] + sc[i] || ia[i+1] != ib[i] + ic[i]) @@ -56,6 +57,7 @@ int main2 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (sa[i] != sb[i] + sc[i] || ia[i+1] != ib[i] + ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-11.c b/gcc/testsuite/gcc.dg/vect/vect-11.c index 044fc5edc2dddb0bddaca545b4e97de1499be8bd..1171757e323bc9a64c5e6762e98c101120fc1449 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11.c @@ -22,6 +22,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] * ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-110.c b/gcc/testsuite/gcc.dg/vect/vect-110.c index 47c6456107ddd4f326e8c9e783b01c59e23087e6..69ee547cfd17965f334d0d1af6bc28f99ae3a671 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-110.c +++ b/gcc/testsuite/gcc.dg/vect/vect-110.c @@ -20,6 +20,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N - 1; i++){ if (a[i] != b[i] + c[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-113.c b/gcc/testsuite/gcc.dg/vect/vect-113.c index a9d45ce9fcc21195030dfcdf773ffc3a41e48a37..8e9cc545ce6b3204b5c9f4a220e12d0068aa4f3e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-113.c +++ b/gcc/testsuite/gcc.dg/vect/vect-113.c @@ -17,6 +17,7 @@ main1 (void) a[i] = i; } +#pragma GCC novector for ( i = 0; i < N; i++) { if (a[i] != i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-114.c b/gcc/testsuite/gcc.dg/vect/vect-114.c index 557b44110a095ae725b58cf1ca2494a103b96dd7..1617d3009eb3fdf0bb16980feb0f54d2862b8f3c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-114.c +++ b/gcc/testsuite/gcc.dg/vect/vect-114.c @@ -19,6 +19,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i strc_s.c[i] != a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-116.c b/gcc/testsuite/gcc.dg/vect/vect-116.c index d4aa069772ed76f895f99c91609852bdcc43d324..ac603db44ee2601665c1de4bb60aee95f545c8ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-116.c +++ b/gcc/testsuite/gcc.dg/vect/vect-116.c @@ -18,6 +18,7 @@ void foo() for (i = 0; i < 256; ++i) C[i] = A[i] * B[i]; +#pragma GCC novector for (i = 0; i < 256; ++i) if (C[i] != (unsigned char)(i * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-117.c b/gcc/testsuite/gcc.dg/vect/vect-117.c index 22f8e01187272e2cfe445c66ca590f77923d4e95..f2c1c5857059a9bcaafad4ceadff02e192209840 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-117.c +++ b/gcc/testsuite/gcc.dg/vect/vect-117.c @@ -47,6 +47,7 @@ int main (void) for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-11a.c b/gcc/testsuite/gcc.dg/vect/vect-11a.c index 4f1e15e74293187d495c8c11cda333a1af1139a6..9d93a2e8951f61b34079f6d867abfaf0fccbb8fc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11a.c @@ -21,6 +21,7 @@ void u () for (i=0; i<8; i++) C[i] = A[i] * B[i]; +#pragma GCC novector for (i=0; i<8; i++) if (C[i] != Answer[i]) abort (); @@ -41,6 +42,7 @@ void s() for (i=0; i<8; i++) F[i] = D[i] * E[i]; +#pragma GCC novector for (i=0; i<8; i++) if (F[i] != Dnswer[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-12.c b/gcc/testsuite/gcc.dg/vect/vect-12.c index b095170f008c719326a6cfd5820a7926ae8c722e..096ff10f53c9a4d7e0d3a8bbe4d8ef513a82c46c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-12.c @@ -24,6 +24,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] + ic[i] || sa[i] != sb[i] + sc[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-122.c b/gcc/testsuite/gcc.dg/vect/vect-122.c index 04dae679647ff9831224b6dc200a25b2b1bb28d7..6e7a4c1578f4c4cddf43a81e3e4bc6ab87efa3ca 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-122.c +++ b/gcc/testsuite/gcc.dg/vect/vect-122.c @@ -50,6 +50,7 @@ main () f2 (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i || b[i] != i || l[i] != i * (i + 7LL) || m[i] != i * 7LL) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-124.c b/gcc/testsuite/gcc.dg/vect/vect-124.c index c720648aaddbe72d0073fcf7548408ce6bda3cdd..6b6730a22bdb62e0f8770b4a288aa1adeff756c2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-124.c +++ b/gcc/testsuite/gcc.dg/vect/vect-124.c @@ -21,6 +21,7 @@ main () check_vect (); foo (6); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 3 + 6) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-13.c b/gcc/testsuite/gcc.dg/vect/vect-13.c index 5d902924ec20e2ea0ee29418a1b52d4e2ede728e..f1e99a3ec02487cd331e171c6e42496924e931a2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-13.c +++ b/gcc/testsuite/gcc.dg/vect/vect-13.c @@ -22,6 +22,7 @@ int main1() } /* Check results */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != results[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-14.c b/gcc/testsuite/gcc.dg/vect/vect-14.c index 1640220a134ed8962e31b9d201c0e4a8630d631f..5898d4cd8924a5a6036f38efa79bc4146a78320d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-14.c @@ -17,6 +17,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c index 5313eae598b4787e5294eefe87bf59f5a3581657..bc2689fce50cebf55720bfc9f60bd7c0dd9659dc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c @@ -25,6 +25,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i y[i] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-89.c b/gcc/testsuite/gcc.dg/vect/vect-89.c index 356ab96d330046c553364a585e770653609e5cfe..6e7c875c01e2313ba362506542f6018534bfb443 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-89.c +++ b/gcc/testsuite/gcc.dg/vect/vect-89.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->y[i] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-9.c b/gcc/testsuite/gcc.dg/vect/vect-9.c index 87600fb5df0d104daf4438e6a7a020e08c277502..dcecef729a60bf22741407e3470e238840ef6def 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-9.c @@ -20,6 +20,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) sb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-92.c b/gcc/testsuite/gcc.dg/vect/vect-92.c index 9ceb0fbadcd61ec9a5c3682cf3582abf464ce106..86864126951ccd8392cc7f7e87642be23084d5ea 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-92.c +++ b/gcc/testsuite/gcc.dg/vect/vect-92.c @@ -36,6 +36,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < 10; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) @@ -56,6 +57,7 @@ main2 () } /* check results: */ +#pragma GCC novector for (i = 0; i < 12; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) @@ -76,6 +78,7 @@ main3 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/vect-93.c b/gcc/testsuite/gcc.dg/vect/vect-93.c index c3e12783b2c47a4e296fd47cc9dc8e73b7ccebb0..b4ccbeedd08fe1285dc362b28cb6d975c6313137 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-93.c +++ b/gcc/testsuite/gcc.dg/vect/vect-93.c @@ -23,6 +23,7 @@ main1 (float *pa) } /* check results: */ +#pragma GCC novector for (i = 0; i < N1; i++) { if (pa[i] != 2.0) @@ -36,6 +37,7 @@ main1 (float *pa) } /* check results: */ +#pragma GCC novector for (i = 1; i <= N2; i++) { if (pa[i] != 3.0) @@ -60,6 +62,7 @@ int main (void) for (i = 1; i <= 256; i++) a[i] = b[i-1]; /* check results: */ +#pragma GCC novector for (i = 1; i <= 256; i++) { if (a[i] != i-1) diff --git a/gcc/testsuite/gcc.dg/vect/vect-95.c b/gcc/testsuite/gcc.dg/vect/vect-95.c index 1e8bc1e7240ded152ea81f60addab9f7179d3bfc..cfca253e810ff1caf2ef2eef0d7bafc39896ea3e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-95.c +++ b/gcc/testsuite/gcc.dg/vect/vect-95.c @@ -11,6 +11,7 @@ void bar (float *pd, float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/vect-96.c b/gcc/testsuite/gcc.dg/vect/vect-96.c index c0d6c37b21db23b175de895a582f48b302255e9f..e36196b50d7527f88a88b4f12bebbe780fe23f08 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-96.c +++ b/gcc/testsuite/gcc.dg/vect/vect-96.c @@ -28,7 +28,8 @@ int main1 (int off) for (i = 0; i < N; i++) pp->ia[i] = ib[i]; - /* check results: */ + /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pp->ia[i] != ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c index 977a9d57ed4795718722c83344c2efd761e6783e..e015c1684ad856a4732084fbe49783aaeac31e58 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -48,6 +49,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-97.c b/gcc/testsuite/gcc.dg/vect/vect-97.c index 734ba3b6ca36cf56d810a1ce4329f9cb1862dede..e5af7462ef89e7f47b2ca822f563401b7bd95e2c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-97.c +++ b/gcc/testsuite/gcc.dg/vect/vect-97.c @@ -27,6 +27,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -43,6 +44,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c index 61b749d4669386a890f5c2f5ba83d6e00d269b4f..2d4435d22e476de5b40c6245f26209bff824139c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c @@ -22,6 +22,7 @@ int main1 (int ia[][N]) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ic[0][i] != DOT16 (ia[i], ib)) diff --git a/gcc/testsuite/gcc.dg/vect/vect-98.c b/gcc/testsuite/gcc.dg/vect/vect-98.c index 2055cce70b20b96dd69d06775e3d6deb9f27e3b2..72a1f37290358b6a89db6c89aada2c1650d2e7a5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-98.c +++ b/gcc/testsuite/gcc.dg/vect/vect-98.c @@ -19,7 +19,8 @@ int main1 (int ia[][N]) ic[0][i] = DOT4 (ia[i], ib); } - /* check results: */ + /* check results: */ +#pragma GCC novector for (i = 0; i < M; i++) { if (ic[0][i] != DOT4 (ia[i], ib)) diff --git a/gcc/testsuite/gcc.dg/vect/vect-99.c b/gcc/testsuite/gcc.dg/vect/vect-99.c index ae23b3afbd1d42221f6fe876f23ee7b9beaebca3..0ef9051d907209e025a8fee057d04266ee2fcb03 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-99.c +++ b/gcc/testsuite/gcc.dg/vect/vect-99.c @@ -21,6 +21,7 @@ int main (void) foo(100); +#pragma GCC novector for (i = 0; i < 100; ++i) { if (ca[i] != 2) abort(); diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c index b6cc309dbe87b088c9969e07dea03c7f6b5993dd..8fd3bf407e9db3d188b897112ab1e41b381ae3c5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c @@ -45,6 +45,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = -M; j <= M; ++j) \ { \ TYPE a[N * M], b[N * M]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c index 09a4ebfa69e867869adca3bb5daece02fcee93da..5ecdc3250708e99c30e790da84b002b99a8d7e9b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c @@ -51,6 +51,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = -M; j <= M; ++j) \ { \ TYPE a1[N * M], a2[N * M], b1[N], b2[N]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c index 63a897f4bad4894a6ec4b2ff8749eed3f9e33782..23690c45b65a1b95bf88d50f80d021d5c481d5f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c @@ -52,6 +52,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = 0; j <= M; ++j) \ { \ TYPE a1[N * M], a2[N * M], b1[N], b2[N]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c index 29bc571642db8858d3e4ca1027131a1a6559c4c1..b36ad116762e2e3c90ccd79fc4f8564cc57fc3f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c @@ -39,6 +39,7 @@ typedef unsigned long long ull; for (int i = 0; i < N + M; ++i) \ a[i] = TEST_VALUE (i); \ test_##TYPE (a + j, a); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; i += 2) \ { \ TYPE base1 = j == 0 ? TEST_VALUE (i) : a[i]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c index ad74496a6913dcf57ee4573ef1589263a32b074c..f7545e79d935f1d05641415246aabc2dbe9b7d27 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c @@ -33,6 +33,7 @@ typedef unsigned long long ull; { \ TYPE a[N + DIST * 2] = {}; \ test_##TYPE (a + DIST, a + i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected = 0; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c index 8a9a6fffde1d39f138c5f54221854e73cef89079..d90adc70e28420e5e8fd0e36c15316da12224b38 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c @@ -33,12 +33,14 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ TYPE a[N + DIST * 2]; \ for (int j = 0; j < N + DIST * 2; ++j) \ a[j] = TEST_VALUE (j); \ TYPE res = test_##TYPE (a + DIST, a + i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N; ++j) \ if (a[j + DIST] != (TYPE) j) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c index b9f5d2bbc9f6437e3e8058264cc0c9aaa522b3e2..3b576a4dc432725c67b4e7f31d2bc5937bc34b7a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c @@ -34,6 +34,7 @@ typedef unsigned long long ull; for (int j = 0; j < N + DIST * 2; ++j) \ a_##TYPE[j] = TEST_VALUE (j); \ test_##TYPE (i + N - 1, DIST + N - 1); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c index 7c0ff36a8c43f11197de413cb682bcd0a3afcae8..36771b04ed5cc0d6c14c0fe1a0e9fd49db4265c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c @@ -34,6 +34,7 @@ typedef unsigned long long ull; { \ __builtin_memset (a_##TYPE, 0, sizeof (a_##TYPE)); \ test_##TYPE (DIST, i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected = 0; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c index 8a699ebfda8bfffdafc5e5f09d137bb0c7e78beb..9658f8ce38e8efb8d19806a4078e1dc4fe57d2ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c @@ -34,11 +34,13 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ for (int j = 0; j < N + DIST * 2; ++j) \ a_##TYPE[j] = TEST_VALUE (j); \ TYPE res = test_##TYPE (DIST, i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N; ++j) \ if (a_##TYPE[j + DIST] != (TYPE) j) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c index 7e5df1389991da8115df2c6784b52ff3e15f8124..3bc78bed676d8267f7512b71849a7d33cb4ab05b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c @@ -29,6 +29,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ for (int j = 0; j < N + DIST * 2; ++j) \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c index a7fc1fcebbb2679fbe6a98c6fa340edcde492ba9..c11c1d13e0ba253b00afb02306aeec786cee1161 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c @@ -37,6 +37,7 @@ typedef unsigned long long ull; for (int i = 0; i < N + M; ++i) \ a[i] = TEST_VALUE (i); \ test_##TYPE (a + j, a); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; i += 2) \ if (a[i + j] != (TYPE) (a[i] + 2) \ || a[i + j + 1] != (TYPE) (a[i + 1] + 3)) \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-1.c b/gcc/testsuite/gcc.dg/vect/vect-align-1.c index d56898c4d23406b4c8cc53fa1409974b6ab05485..9630fc0738cdf4aa5db67effdd5eb47de4459f6f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-1.c @@ -28,6 +28,7 @@ main1 (struct foo * __restrict__ p) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->y[i] != x[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-2.c b/gcc/testsuite/gcc.dg/vect/vect-align-2.c index 39708648703357e9360e0b63ca7070c4c21def03..98759c155d683475545dc20cae23d54c19bd8aed 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-2.c @@ -26,6 +26,7 @@ void fbar(struct foo *fp) f2.y[i][j] = z[i]; for (i=0; i> 1)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-11.c b/gcc/testsuite/gcc.dg/vect/vect-avg-11.c index 85292f1b82416b70698619e284ae76f3a3d9410d..0046f8ceb4e7b2688059073645175b8845246346 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-11.c @@ -43,6 +43,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (((((BASE1 + i * 5) ^ 0x55) + (BASE2 + i * 4) diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-15.c b/gcc/testsuite/gcc.dg/vect/vect-avg-15.c index 48d7ed773000486c42277535cebe34f101e035ef..57b6670cb98cdf92e60dd6c7154b4a8012b05a1e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-15.c @@ -37,6 +37,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, N / 20, 20); +#pragma GCC novector for (int i = 0; i < N; ++i) { int d = (BASE1 + BASE2 + i * 5) >> 1; diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-16.c b/gcc/testsuite/gcc.dg/vect/vect-avg-16.c index f3e3839a879b6646aba6237e55e2dcd943eac168..319edba1fa3c04b6b74b343cf5397277a36dd6d1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-16.c @@ -37,6 +37,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, N / 20); +#pragma GCC novector for (int i = 0; i < N; ++i) { int d = (BASE1 + BASE2 + i * 5) >> 1; diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-5.c b/gcc/testsuite/gcc.dg/vect/vect-avg-5.c index 6c43575f448325e84975999c2e8aa91afb525f87..6bdaeff0d5ab4c55bb5cba1df51a85c4525be6fb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-5.c @@ -39,6 +39,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != ((BASE1 + BASE2 + i * 9 + BIAS) >> 1)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c index 19683d277b1ade1034496136f1d03bb2b446900f..22e6235301417d72e1f85ecbdd96d8e498500991 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c @@ -19,6 +19,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].i != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c index 1a101357ccc9e1b8bb157793eb3f709e99330bf6..0c8291c9363d0de4c09f81525015b7b88004bc94 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c @@ -23,6 +23,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c index 5dc679627d52e2ad229d0920e5ad8087a71281fe..46fcb02b2f1b6bb2689a6b709901584605cc9a45 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c @@ -24,6 +24,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c index fae6ea3557dcaba7b330ebdaa471281d33d2ba15..5a7227a93e4665cd10ee564c8b15165dc6cef303 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c @@ -22,6 +22,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c index 99360c2967b076212c67eb4f34b8fd91711d8821..e0b36e411a4a72335d4043f0f360c2e88b667397 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c @@ -22,6 +22,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c b/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c index c97da5289141d35a9f7ca220ae62aa82338fa7f5..a1be71167025c960fc2304878c1ed15d90484dfb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c @@ -183,6 +183,7 @@ check (int *p, cmp_fn fn) { int i; +#pragma GCC novector for (i = 0; i < 32; i++) { int t1 = ((i % 4) > 1) == 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap16.c b/gcc/testsuite/gcc.dg/vect/vect-bswap16.c index d29b352b832a67e89e7cb3856634390244369daa..7d2cb297738378863ddf78b916036b0998d28e6f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap16.c @@ -30,6 +30,7 @@ main (void) vfoo16 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap32.c b/gcc/testsuite/gcc.dg/vect/vect-bswap32.c index 88d88b5f034153cb736391e4fc46a9b786ec28c5..1139754bbf1b8f7ef7a5a86f5621c9fe319dec08 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap32.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap32.c @@ -30,6 +30,7 @@ main (void) vfoo32 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap64.c b/gcc/testsuite/gcc.dg/vect/vect-bswap64.c index fd15d713c5d63db335e61c892c670b06ee9da25f..38d598eba33019bfb7c50dc2f0d5b7fec3a4736c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap64.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap64.c @@ -30,6 +30,7 @@ main (void) vfoo64 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-1.c b/gcc/testsuite/gcc.dg/vect/vect-complex-1.c index 2a87e2feadeba7f1eaef3cce72e27a7d0ffafb5f..b3a02fe9c6d840e79764cb6469a86cfce315a337 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-1.c @@ -43,6 +43,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != res[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-2.c b/gcc/testsuite/gcc.dg/vect/vect-complex-2.c index 19b24e1eb87feacc8f7b90fb067124007e22c90f..7bbfdd95b5c46f83f24263e33bf5e3d2ecee0a4d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-2.c @@ -43,6 +43,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != res[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-4.c b/gcc/testsuite/gcc.dg/vect/vect-complex-4.c index 49cfdbe1738794c3bf873c330fff4d7f4626e10b..d5e50cc15df66501fe1aa1618f04ff293908469a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-4.c @@ -92,6 +92,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (c[i].f1 != res[i].f1) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-1.c b/gcc/testsuite/gcc.dg/vect/vect-cond-1.c index 261d828dbb2855fe680b396d3fcbf094e814b6fd..e438cbb67e196a5b3e5e2e2769efc791b0c2d6b7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-1.c @@ -43,6 +43,7 @@ int main (void) foo (); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out[j] != check_result[j]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-10.c b/gcc/testsuite/gcc.dg/vect/vect-cond-10.c index b2f97d735ef7d94a80a67265b4535a1e228e20ca..dbbe4877db41c43d5be5e3f35cb275b96322c9bc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-10.c @@ -120,41 +120,49 @@ main () } } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f5 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f6 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f7 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f8 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-11.c b/gcc/testsuite/gcc.dg/vect/vect-cond-11.c index f28af658f331849a0c5103ba96dd2e3b60de428d..38f1f8f50901c3039d0e7cb17d1bd47b18b89c71 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-11.c @@ -79,13 +79,16 @@ baz (unsigned int *a, unsigned int *b, } if (fn (a, b) != -512U - (N - 32) * 16U + 32 * 127U) __builtin_abort (); +#pragma GCC novector for (i = -64; i < 0; i++) if (a[i] != 19 || b[i] != 17) __builtin_abort (); +#pragma GCC novector for (; i < N; i++) if (a[i] != (i - 512U < 32U ? i - 512U + 127 : i - 512U - 16) || b[i] != (i - 512U < 32U ? i * 2U : i + 1U)) __builtin_abort (); +#pragma GCC novector for (; i < N + 64; i++) if (a[i] != 27 || b[i] != 19) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-3.c b/gcc/testsuite/gcc.dg/vect/vect-cond-3.c index 8a66b4b52ed8a98dd52ef945afb3822de8fe37e9..1521fedd1b5b9d6f3021a1e5653f9ed8df0610b2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-3.c @@ -50,6 +50,7 @@ int main (void) foo (); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out_a[j] != check_result_a[j] || x_out_b[j] != check_result_b[j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-4.c b/gcc/testsuite/gcc.dg/vect/vect-cond-4.c index 2a6577c6db33a49c7fac809f67b7e957c0b707c2..4057d14c702c22ef41f504a8d3714a871866f04f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-4.c @@ -47,6 +47,7 @@ int main (void) foo (125); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out_a[j] != 125 || x_out_b[j] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c index 41e57f9235b90347e7842d88c9710ee682ea4bd4..f10feab71df6daa76966f8d6bc3a4deba8a7b56a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c @@ -46,6 +46,7 @@ int main () foo(5); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-6.c b/gcc/testsuite/gcc.dg/vect/vect-cond-6.c index 65fdc4a9ef195f7210b08289242e74cda1db4831..a46479a07eb105f5b2635f3d5848e882efd8aabf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-6.c @@ -47,6 +47,7 @@ int main () foo(125); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != 33) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-7.c b/gcc/testsuite/gcc.dg/vect/vect-cond-7.c index bd2947516584bf0039d91589422acefd0d27cc35..ea11693ff21798e9e792cfc43aca3c59853e84a0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-7.c @@ -53,6 +53,7 @@ main () #undef F #define F(var) f##var (); TESTS +#pragma GCC novector for (i = 0; i < 64; i++) { asm volatile ("" : : : "memory"); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-8.c b/gcc/testsuite/gcc.dg/vect/vect-cond-8.c index d888442aa456e7520cf57e4a07c0938849758068..88289018b9be7d20edd9c7d898bb51d947ed7806 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-8.c @@ -79,18 +79,22 @@ main () e[i] = 2 * i; } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 17 : 0)) abort (); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 0 : 24)) abort (); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 51 : 12)) abort (); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (f[i] != ((i % 3) == 0 ? d[i] : e[i])) abort (); @@ -112,6 +116,7 @@ main () b[i] = i / 2; } f5 (); +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != ((i % 3) == 0 ? a[i] : b[i])) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-9.c b/gcc/testsuite/gcc.dg/vect/vect-cond-9.c index 63eee1b47296d8c422b4ff899e5840ca4d4f59f5..87febca10e7049cb0f4547a13d27f533011d44bc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-9.c @@ -145,51 +145,61 @@ main () } } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f5 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f6 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f7 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f8 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f9 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f10 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c index d52e81e9109cc4d81de84adf370b2322799c8c27..5138712731f245eb1f17ef2e9e02e333c8e214de 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c @@ -23,6 +23,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c index f02b0dc5d3a11e3cfa8a23536f570ecb04a039fd..11a680061c21fb7da69739892b79ff37d1599027 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c @@ -24,6 +24,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c index 55a174a7ec1fa42c40d4359e882ca475a4feaca3..1af0fe642a0f6a186a225e7619bff130bd09246f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c @@ -20,6 +20,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c index d2eadc4e9454eba204b94532ee3b002692969ddb..ec3d9db42021c0f1273bf5fa37bd24fa77c1f183 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c @@ -21,6 +21,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c index cc70b8a54c44fbc1d20aa9c2599b9a37d9fc135b..2aeebd44f835ee99f110629ded9572b338d6fb50 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c @@ -23,6 +23,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c index 739b98f59aece34b73ed4762c2eeda2512834539..9d20f977884213a6b4580b90e1a187161cf5c945 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c @@ -22,6 +22,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c b/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c index e6ad865303c42c9d5958cb6e7eac6a766752902b..faeccca865f63bc55ee1a8b412a5e738115811e9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c @@ -73,6 +73,7 @@ main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i].a != result[2*i] || out[i].b != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c b/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c index 95efe7ad62eac1f66b85ffdc359fd60bd7465cfd..f3b7db076e6b223fcf8b341f41be636e10cc952a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c @@ -55,6 +55,7 @@ main (void) foo (a, b); +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != result[2*i] || b[i] != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c index c81f8946922250234bf759e0a0a04ea8c1f73e3c..f02f98faf2fad408f7d7e65a09c678f242aa32eb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c @@ -16,6 +16,7 @@ int main (void) { V v = foo ((V) { 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff }, 0xffff); +#pragma GCC novector for (unsigned i = 0; i < sizeof (v) / sizeof (v[0]); i++) if (v[i] != 0x00010001) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c index b4eb1a4dacba481e6306b49914d2a29b933de625..80293e50bbc6bbae90cac0fcf436c790b3215c0e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c @@ -44,6 +44,7 @@ int main () fun1 (a, N / 2, N); fun2 (b, N / 2, N); +#pragma GCC novector for (int i = 0; i < N; ++i) { if (DEBUG) diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h index 29a16739aa4b706616367bfd1832f28ebd07993e..bfdc730fe5f7b38117854cffbf2e450dad7c3b5a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h @@ -30,6 +30,7 @@ int main () fun1 (a, N / 2, N); fun2 (b, N / 2, N); +#pragma GCC novector for (int i = 0; i < N; ++i) { if (DEBUG) diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c index 6abf76392c8df94765c63c248fbd7045dc24aab1..6456b3aad8666888fe15061b2be98047c28ffed2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c index 4bfd1630c4e9927d89bf23ddc90716e0cc249813..d5613e55eb20731070eabeee8fe49c9e61d8be50 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c index 3bdf9efe9472342359b64d51ef308a4d4f8f9a79..239ddb0b444163803c310e4e9910cfe4e4c44be7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c @@ -48,12 +48,14 @@ int main () foo(0, 0); +#pragma GCC novector for (k = 0; k < K; k++) if (out_max[k] != check_max[k] || out_min[k] != 0) abort (); foo(100, 45); +#pragma GCC novector for (k = 0; k < K; k++) if (out_min[k] != check_min[k] || out_max[k] != 100) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c index e5937705400c7c015513abc513a8629c6d66d140..5344c80741091e4e69b41ce056b9541b75215df2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c index 079704cee81cc17b882b476c42cbeee0280369cf..7465eae1c4762d39c14048077cd4786ffb8e4848 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c index 1d9dcdab5e9c09514a8427cd65c419e74962c9de..a032e33993970e65e9e8a90cca4d23a9ff97f1e8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c @@ -49,6 +49,7 @@ int main () foo (); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c index 85aec1bf609582988f06826afb6b7ce77d6d83de..d1d1faf7c3add6ce2c3378d4d094bf0fc2aba046 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c @@ -38,6 +38,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c index c3145a2ad029f92e96995f59e9be9823e016ec11..1ef7a2d19c8b6ee96280aee0e9d69b441b597a89 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c @@ -52,6 +52,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c index 76b436948c185ca73e21203ef68b0a9d4da03408..603f48167d10fe41143f329cd50ca7f6c8e9a154 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c @@ -21,6 +21,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (da[i] != (double) fb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c index 8b82c82f1cdd1078898847c31c6c06371f4232f6..9f404f0e36e10ebf61b44e95d6771d26a25faea8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c @@ -20,6 +20,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) db[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c index fc5081b7e8e143893009b60147d667855efa12ad..f80da6a7ca7f0de224d88860a48f24b4fd8c2ad8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c @@ -20,6 +20,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) fb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c index 64fab3876310d60ca016b78938e449201c80997d..dc038857a42813e665591c10eb3ab7f744d691ad 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c @@ -19,6 +19,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) db[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-fma-1.c b/gcc/testsuite/gcc.dg/vect/vect-fma-1.c index 6b6b4f726e9476ac6a90984e15fdd0839dff8885..27d206d9fa0601812b09a3ead2ee9730623e97e4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-fma-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-fma-1.c @@ -22,6 +22,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-gather-1.c b/gcc/testsuite/gcc.dg/vect/vect-gather-1.c index 4cee73fc7752681c2f677d3e6fddf7daf6e183eb..e3bbf5c0bf8db8cb258d8d05591c246d80c5e755 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-gather-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-gather-1.c @@ -50,6 +50,7 @@ main (void) check_vect (); f (y, x, indices); +#pragma GCC novector for (int i = 0; i < 32; ++i) if (y[i] != expected[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-gather-3.c b/gcc/testsuite/gcc.dg/vect/vect-gather-3.c index 738bd3f3106948754e38ffa93fec5097560511d3..adfef3bf407fb46ef7a2ad01c495e44456b37b7b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-gather-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-gather-3.c @@ -54,6 +54,7 @@ main (void) check_vect (); f (y, x, indices); +#pragma GCC novector for (int i = 0; i < 32; ++i) if (y[i] != expected[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c index 7e323693087598942f57aa8b7cf3686dde4a52c9..04d5fd07723e851442e1dc496fdf004d9196caa2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c @@ -26,6 +26,7 @@ int main () check_vect (); foo (); /* check results: */ +#pragma GCC novector for (int i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c index 56a8e01993d1a0701998e377fb7fac4fa2119aed..0f752b716ca811de093373cce75d948923386653 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] != MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c index 962be1c0230cca6bef2c097b35833ddd6c270875..8b028d7f75f1de1c8d10376e4f0ce14b60dffc70 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] == MAX ? 0 : MAX); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c index 6406875951bd52c3a5c3691eb2bc062e5525a4a1..10145d049083b541c95b813f2fd12d3d62041f53 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] >= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c index d55440c9fa421719cb03a30baac5d58ca1ac2fb6..4964343c0ac80abf707fe11cacf473232689123e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] > MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c index 5cef85175131bd6b2e08d7801966f5526ededf8e..63f53a4c4eef6e1397d67c7ce5570dfec3160e83 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c index 3118e2d5a5536e175838284d367a8f2eedf8eb86..38b014336482dc22ecedaed81b79f8e7d5913d1e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] < MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c index 272fde09429b6a46ee4a081b49736613136cc328..56e0f71bc799d16725e589a53c99abebe5dca40a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] != MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c index c0c7a3cdb2baafa5702a7fcf80b7198175ecc4f2..879d88a5ce9239bf872cc0ee1b4eb921b95235d0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] == MAX ? 0 : MAX); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c index e6446a765c0298857f71b80ffcaefdf77e4f5ce3..bbeccae0f228ad3fc7478c879ae4a741ae6fe7a3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c @@ -27,6 +27,7 @@ int main () check_vect (); foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c index bef3efa5658ae6d91010d286967e319906f9aeb5..f75c0f5a1a6645fdee6a8a04ffc55bd67cb7ac43 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c index 666ee34a4a753ff1d0e33012d95a77496f1986fa..32df21fb52a0b9f16aff7340eee21e76e832cceb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (float_arr[i] != (float) int_arr[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c index 78fc3da481c6693611b45d3939fe03d23e84f8f7..db33a84b54d70c9355079adf2ee163c904c68e57 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (da[i] != (double) ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c index af8fe89a7b02b555acc64b578a07c735f5ef45eb..6fc23bb4621eea594a0e70347a8007a85fb53db8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) sb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c index 49c83182026b91c7b52667fec7a44554e3aff638..b570db5dc96db9c6e95b0e4dbebe1dae19c5ba7c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) usb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c index 90163c440d34bcd70a7024b83f70abb7b83f8077..e6dcf29ebe0d2b2dc6695e754c4a1043f743dd58 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c @@ -22,6 +22,7 @@ __attribute__ ((noinline)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-10.c b/gcc/testsuite/gcc.dg/vect/vect-iv-10.c index 195474b56441bee9b20f373a6aa991610a551e10..83bc7805c3de27ef3dd697d593ee86c1662e742c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-10.c @@ -17,6 +17,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (j=0,i=N; j0; i--,j++) { if (ia[j] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c index 73e30ee9bac6857b545242136d9c1408f6bfe60e..d85bb3436b2e0abcc4d0d0a7b480f4f267b4898c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c index f8ca94dd17db81d8be824dfb2f023517f05d7c04..c0738ebc469f1780eb8ce90e89caa222df0e1fba 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c @@ -24,6 +24,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i || arr2[i] != 5 + 2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c index dfe5bc14458c856122f48bd6bc6a50092d7729e1..2dd8ae30513260c858504f8dc0e8c7b6fd3ea59b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c @@ -24,6 +24,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i || arr2[i] != 5 + 2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c index 2015385fbf5fac1349124dd35d57b26c49af6346..c3c4735f03432f9be07ed2fb14c94234ee8f4e52 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c @@ -20,6 +20,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != 1.0 + 2.0*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c index ccd7458a98f1d3833b19c838a27e9f582631e89c..4c9d9f19b45825a210ea3fa26160a306facdfea5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c @@ -28,6 +28,7 @@ __attribute__ ((noinline)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i+1] != X+6*i+2 diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c index 24b59fe55c498bf21d107bef72bdc93690229c20..f6d93360d8dda6f9380425b5518ea5904f938322 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c @@ -22,6 +22,7 @@ __attribute__ ((noinline, noclone)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c index 45d82c65e2f85b7b470a22748dacc78a63c3bd3e..26e8c499ce50cc91116c558a2425a47ebe21cdf7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (unsigned char)myX || b[i] != myX || c[i] != (unsigned int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c index dd37d250e91c3839c21fb3c22dc895be367cdcec..b4bb29d88003d2bbc0e90377351cb46d1ff72b55 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (unsigned char)myX || b[i] != myX || c[i] != (unsigned int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c index 63b6b6e893f7a55a56aef89331610fd76d2c1c42..dceae27bbbee36a13af8055785dd4258b03e3dba 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (signed char)myX || b[i] != myX || c[i] != (int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c index 1f8fedf2716745d469771cfce2629dd05478bce8..dfe3a27f024031427344f337d490d4c75d8a04be 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (signed char)myX || b[i] != myX || c[i] != (int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-live-1.c b/gcc/testsuite/gcc.dg/vect/vect-live-1.c index f628c5d3998930ea3e0cee271c20ff3eb17edf62..e4a6433a89961b008a2b766f6669e16f378ca01e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-live-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-live-1.c @@ -38,6 +38,7 @@ main (void) if (ret != MAX + START) abort (); +#pragma GCC novector for (i=0; i> 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c b/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c index 314a6828c53c161d2e63b88bdecf0cee9070a794..1d55e13fb1fbc4273d3a64da20dc1e80fb760296 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c @@ -39,6 +39,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, D); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (BASE_B + BASE_C + D + i * 9) >> 2) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c b/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c index 5baba09a575f0f316aac1a967e145dbbbdade5b4..36bfc68e05357359b8d9bdfe818910a3d0ddcb5a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c @@ -40,6 +40,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) { int res = BASE_B + BASE_C + i * 9; diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c index 7980d4dd6438d9a063051c78608f73f1cea1c740..717850a166b2b811797cf9cdd0753afea676bf74 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i+2] + ib[i+6]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c index f6fc134c8705567a628dcd62c053ad6f2ca2904d..5e5a358d34bece8bbe5092bf2d617c0995388634 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c @@ -22,6 +22,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i+2] + ib[i+6]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c index 33088fb090271c3b97fae2300e5d7fc86242e246..1b85f14351242304af71564660de7db757294400 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c @@ -18,6 +18,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i] + ib[i+5]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c index 64de22a1db4d7a8b354ad3755685171308a79a00..698ca5bf0672d3bfce0121bd2eae27abb2f75ca2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c @@ -28,6 +28,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c index 086b48d9087c02ccbc0aaf36f575a3174f2916af..777051ee4a16a47f20339f97e13ad396837dea9a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c @@ -29,6 +29,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c index 3389736ead98df2207a89de3ecb34a4a95faa6f5..aeb7da3877d7e0df77d6fee1a379f352ae2a5750 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c @@ -29,6 +29,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c index c0b73cd8f3322ae01b7a1889657bc92d38fa4af6..f4ab59671b7934e3e6f5d893159a3618f4aa3898 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c @@ -31,6 +31,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 2; i < 64; i+=2) if (b[i] != a[i] - a[i-2] || b[i+1] != a[i+1] - a[i-1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c index 7327883cc31ae4a37e5e4597b44b35e6376b4ed2..2fed60df68cdfbdc3ebf420db51d132ed335dc14 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c @@ -32,6 +32,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 2; i < 64; i+=2) if (b[i] != a[i] - a[i-2] || b[i+1] != a[i+1] - a[i-1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c index f678b326f1043d2bce51b1d652de5ee2b55d6d0f..c170f4c345cdee1d5078452f9e301e6ef6dff398 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c @@ -28,6 +28,7 @@ main () } int c = 7; foo (a, b, &c, 63); +#pragma GCC novector for (int i = 1; i < 63; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c b/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c index 484efb1e8c826a8dafb43ed18e25794951418a9c..49ecbe216f2740329d5cd2169527a9aeb7ab844c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c @@ -70,6 +70,7 @@ main (void) fns[i].div (b, a, N); fns[i].mod (c, a, N); +#pragma GCC novector for (int j = 0; j < N; j++) if (a[j] != (b[j] * p + c[j])) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c b/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c index dfd8ebace5610b22cc0da33647953ae33e084a42..0c4025abceb0e36092f5f7be1f813e4a6ebeda15 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c @@ -88,6 +88,7 @@ main () f4 (4095); if (a[0] != (-2048 << 8)) abort (); +#pragma GCC novector for (i = 1; i < 4096; i++) if (a[i] != ((1 + ((i - 2048) % 16)) << 8)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c index 0c3086b1d683441e9b7d0096d4edce37e86d3cc1..d5fc4748758cea2762efc1977126d48df265f1c3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c @@ -21,6 +21,7 @@ int main () A[i] = A[i] >> 3; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-3.c b/gcc/testsuite/gcc.dg/vect/vect-shift-3.c index a1b4b0752291e64d51206fca644e241c8e0063a9..0a9d562feb56ec69e944d0a3581853249d9642ae 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-3.c @@ -26,6 +26,7 @@ int main() array_shift (); +#pragma GCC novector for (i = 0; i < N; i++) if (dst[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-4.c b/gcc/testsuite/gcc.dg/vect/vect-shift-4.c index 09f6e5a9584099b34e539b72dbe95e33da83cd20..d53faa52ee88b00d09eeefa504c9938084fa6230 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-4.c @@ -26,6 +26,7 @@ int main() array_shift (); +#pragma GCC novector for (i = 0; i < N; i++) if (dst[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-1.c b/gcc/testsuite/gcc.dg/vect/vect-simd-1.c index 7c3feeeffae363b8ad42989a3569ca394519a414..09722ae090d0edb875cb91f5b20da71074aee7d3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-1.c @@ -44,19 +44,23 @@ main () { check_vect (); foo (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 1) abort (); x = 1; foo (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 2) abort (); baz (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 3) abort (); qux (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 4) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-10.c index e49566a3847a97dee412148bed63a4b69af8dd1b..af0999a726288890a525fe18966331e0cb5c0cad 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-10.c @@ -76,6 +76,7 @@ main () if (r * 16384.0f != 0.125f) abort (); float m = -175.25f; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s *= a[i]; @@ -91,6 +92,7 @@ main () if (bar () != 592.0f) abort (); s = FLT_MIN_VALUE; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (s < a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-11.c b/gcc/testsuite/gcc.dg/vect/vect-simd-11.c index e7d8aa0eb03879fcf0a77a512afc3281fbeabe76..2620dfebbc0dde80d219660dcead43ae01c7c41f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-11.c @@ -109,6 +109,7 @@ main () || r2 != (unsigned short) r || r3 != (unsigned char) r) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -129,6 +130,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -152,6 +154,7 @@ main () || r3 != (unsigned char) r) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -174,6 +177,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-12.c index cdfec81a6e6d761b6959fd434fc3367ad01d7026..45b55384006b1674c36a89f4539d2ffee2e4236e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-12.c @@ -77,6 +77,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-13.c b/gcc/testsuite/gcc.dg/vect/vect-simd-13.c index aee5244d85e18e707163a34cb93a9cd5b1317fc3..3ef4aa9a991c0b6259f3b3057616c1aa298663d9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-13.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-13.c @@ -79,6 +79,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-14.c b/gcc/testsuite/gcc.dg/vect/vect-simd-14.c index 9e73792ed7c36030b2f6885e1257a66991cdc4d1..c8a38f85ad4f29c9bbc664a368e23254effdd976 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-14.c @@ -76,6 +76,7 @@ main () if (r * 16384.0f != 0.125f) abort (); float m = -175.25f; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -89,6 +90,7 @@ main () if (bar () != 592.0f) abort (); s = FLT_MIN_VALUE; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-15.c b/gcc/testsuite/gcc.dg/vect/vect-simd-15.c index 91e34cd6428c4b841ab55226e49a5fc10444df57..6982a59da78276bad2779827ee0b8c1e1691e2e3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-15.c @@ -109,6 +109,7 @@ main () || r2 != (unsigned short) r || r3 != (unsigned char) r) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -129,6 +130,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -152,6 +154,7 @@ main () || r3 != (unsigned char) r) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -174,6 +177,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-16.c b/gcc/testsuite/gcc.dg/vect/vect-simd-16.c index ee4459a9341815c7ac4a5f6be4b9ca7679f13022..1ac13a5c5b4f568afa448af8d294d114533c061b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-16.c @@ -41,12 +41,14 @@ main () check_vect (); if (foo (a) != 64) abort (); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i) abort (); else a[i] = -8; bar (a); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i + 1) abort (); @@ -54,6 +56,7 @@ main () a[i] = -8; if (baz (a) != 64) abort (); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i + 2) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-17.c b/gcc/testsuite/gcc.dg/vect/vect-simd-17.c index 951ba3afd9e332d7cd22addd273adf733e0fb71a..79b3602a6c08969a84856bf98ba59c18b45d5b11 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-17.c @@ -52,12 +52,14 @@ doit (void) if (i != 11 || j != 101 || x != 10340 || niters != 550 || err) abort (); for (i = 1; i <= 10; i++) +#pragma GCC novector for (j = 1; j <= 10 * i; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -101,12 +103,14 @@ doit (void) if (i != 10 || j != 90 || x != 9305 || niters != 450 || err) abort (); for (i = 0; i < 10; i++) +#pragma GCC novector for (j = 0; j < 10 * i; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -156,6 +160,7 @@ doit (void) else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -199,12 +204,14 @@ doit (void) if (i != 11 || j != 10 || x != 9225 || niters != 25 || err) abort (); for (i = 1; i < 10; i += 2) +#pragma GCC novector for (j = 1; j < i + 1; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -244,11 +251,13 @@ doit (void) } if (i != 16 || j != 4 || x != 5109 || niters != 3 || err) abort (); +#pragma GCC novector for (j = -11; j >= -41; j -= 15) if (k[0][-j] == 3) k[0][-j] = 0; else abort (); +#pragma GCC novector for (j = -11; j >= -41; j--) if (k[0][-j] != 0) abort (); @@ -288,6 +297,7 @@ doit (void) } if (/*i != 11 || j != 2 || */x != -12295 || niters != 28 || err) abort (); +#pragma GCC novector for (j = -34; j <= -7; j++) if (k[0][-j] == 3) k[0][-j] = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c index cca350f5c21125fa4380611a1ba42be317fd9d85..e454abe88009a7572cfad1397bbd5770c7086a6b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c @@ -25,12 +25,14 @@ main () int i, r; check_vect (); r = foo (78, p); +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[i] != 78 * i) abort (); if (r != (10000 / 78) * (10000 / 78 + 1) / 2 * 78 * 3) abort (); r = foo (87, p); +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c index 67e25c0e07eeff8e3453a8a3b5e4df54b16f3f30..4d25b43f5dca9df6562a146e12e1c3542d094602 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c @@ -25,12 +25,14 @@ main () int i, r; check_vect (); r = foo (78, 0, 10000, p); +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[i] != 78 * i) abort (); if (r != (10000 / 78) * (10000 / 78 + 1) / 2 * 78 * 3) abort (); r = foo (87, 0, 10000, p); +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c index 57217c8a6ba4c15095f777cfa64aee9ffbe3e459..9ba7c3ce956a613e175ee6bd1f04b0531e6a79bd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c @@ -27,6 +27,7 @@ main () check_vect (); r = foo (78, 0, 10000, p); for (j = 0; j < 7; j++) +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[j * (10000 / 78 + 1) + i] != 78 * i) abort (); @@ -34,6 +35,7 @@ main () abort (); r = foo (87, 0, 10000, p); for (j = 0; j < 7; j++) +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[j * (10000 / 87 + 1) + i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-8.c b/gcc/testsuite/gcc.dg/vect/vect-simd-8.c index 5d10ad90501835bf6cac2c2d81ee98bc6ce6db5b..a3c2decee2e36949950ca87a0a9942bc303ee633 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-8.c @@ -77,6 +77,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-9.c b/gcc/testsuite/gcc.dg/vect/vect-simd-9.c index 52eb24f680f1362ee93b7a22de5fd46d37119216..b652759e5ad5ec723a644cf9c6cb31677d120e2d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-9.c @@ -79,6 +79,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c index cd65fc343f1893accb6f25a6222a22f64a8b4b2e..c44bfe511a5743198a647247c691075951f2258d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c @@ -46,10 +46,12 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != (i < 30 ? 5 : i * 4 + 123)) abort (); baz (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != (i < 30 ? 5 : i * 8 + 123)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c index 03acd375e089c3a430adbed8d71197f39d7c512b..ed63ff59cc05e5f0a240376c4ca0985213a7eb48 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c @@ -65,6 +65,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -72,6 +73,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c index 29acde22f1783e8b11376d1ae2e702e09182350c..4974e5cc0ccdc5e01bf7a61a022bae9c2a6a048b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c @@ -44,19 +44,23 @@ main () if (sizeof (int) * __CHAR_BIT__ < 32) return 0; bar (a + 7); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i + 7] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); bar (a); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); #if 0 baz (a + 7); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i + 7] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); baz (a); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c index 675ac7026b67edda2e573367643eb68063559bc2..866f1000f34098fb578001395f4a35e29cc8c0af 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c @@ -32,6 +32,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != ((i >> 1) + (-3 * i))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c index ffcbf9380d609d7a3ed7420a38df5c11f632b46a..feab989cfd595f9fdb839aa8bd3e8486751abf2f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c @@ -44,6 +44,7 @@ main () check_vect (); baz (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != 5 * (i & 7) * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c index 18d68779cc5dd8faec77a71a8f1cfa9785ff36ed..fef48c5066918a42fa80f1e14f9800e28ddb2c96 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c @@ -37,6 +37,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != (i < 30 ? 5 : i * 4 + 123) || e[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c index e9af0b83162e5bbd40e6a54df7d656ad956a8fd8..42414671c254ffcd93169849d7a982861aa5ac0b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c @@ -40,6 +40,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != (i < 30 ? 5.0f : i * 4 + 123.0f) || e[i] || f[i] != 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c index 46da496524d99ff70e3673682040c0d5067afe03..620cec36e4c023e1f52160327a3d5ba21540ad3b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c @@ -35,6 +35,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != i * 4 + 123 || e[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c index 6143a91eaf078d5b73e608bcfa080b70a5896f3d..440091d70e83be80574a6fcf9e034c53aed15786 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c @@ -57,6 +57,7 @@ main () check_vect (); baz (); bar (0); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 2 * i || b[i] != 6 - 7 * i || c[i] != 6 - 5 * i + ((i & 31) << 4)) @@ -64,6 +65,7 @@ main () else a[i] = c[i]; bar (17); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 6 - 5 * i + ((i & 31) << 4) || b[i] != 6 - 7 * i diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c index a0316e9e5813ac4c9076aaf5f762b9cc5dc98b1e..62246e28837272ef1e18860912643422f6dce018 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c @@ -57,6 +57,7 @@ main () check_vect (); baz (); bar (0); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 2 * i || b[i] != 6 - 7 * i || c[i] != 6 - 5 * i + ((i & 31) << 4)) @@ -64,6 +65,7 @@ main () else a[i] = c[i]; bar (17); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 6 - 5 * i + ((i & 31) << 4) || b[i] != 6 - 7 * i diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c index f414285a170c7e3469fdad07256ef09e1b46e17b..11ea2132689137cfb7175b176e39539b9197a330 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c @@ -76,6 +76,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -83,6 +84,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c index a968b9ce91a17c454f66aa76ec8b094e011e1c74..0112e553f8f130b06ee23a8c269a78d7764dcfff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c @@ -76,6 +76,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -83,6 +84,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c index da47a824cb6046dcd9808bd7bd80161dbc0531b5..1531553651ceb6185ce16ab49f447496ad923408 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c @@ -46,6 +46,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c index d53b7669a6b50d6bc27e646d08af98ca6fd093e3..b8d094723f9035083a244cfcee98d3de46512206 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c @@ -33,6 +33,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c index 37ff3abe97d60d9b968addaee7812cb0b05b6f44..0f1344c42017fc2a5bfda3a9c17d46fbdd523127 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c @@ -44,6 +44,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c index 9237a9074deeb72c4d724771d5397d36593ced7c..b0d36486714159c88419ce9e793c27a398ddcbcb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c @@ -39,6 +39,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c index 62a8a51e2034b1065a4438a712a80e0a7c149985..1c9906fa65237a7b9e0bbd2162e9c56b6e86074f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c @@ -39,6 +39,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i] != arr[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c index f64a1347350a465b9e7a0c123fe2b5bcbc2bf860..dc9ad168c7161c15f6de4a57d53e301e6754e525 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c @@ -33,6 +33,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].a @@ -49,6 +50,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c index 2add5b489915cffda25f3c59b41bd1c44edf16ce..d35e427996f472ce9fffdf9570fb6685c3115037 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c @@ -62,6 +62,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c index 2b7a1a4bb77f4dce44958c50864a0a6ecac90c53..a9524a9d8e5cb152ec879db68f316d5568161ec1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c @@ -51,6 +51,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c index e487de8b4e7d8e092054a73b337a345ba00e4e02..95ff41930d3f1ab95f0a20947e0527f39c78e715 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c @@ -71,6 +71,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c index 0f3347e8bb2200f48927b21938e7ebd348a73ada..b2dd1aee116d212bda7df0b0b1ca5470bd35ab83 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c @@ -56,6 +56,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c index 6d6bfae7bc5ce4cbcaeaadc07856773e6d77bdb4..716cce3eecbec0390f85f393e9cc714bd1a1faae 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c @@ -22,6 +22,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i*2] != b[2*i+1] * c[2*i+1] - b[2*i] * c[2*i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c index 82727e595c166a52c8a1060339259ec7c39b594f..59008499192388c618f3eb38d91d9dcb5e47e3d9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c @@ -35,6 +35,7 @@ main1 (s *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c index 0fac615011601d45c64e83be1a6ec1e1af407192..350223fa23ace9253e8e56bbbbd065e575639b19 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c @@ -35,6 +35,7 @@ main1 (s *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c index 8c560480bc4eac50c381ed51cfbc6ccc696d0424..e988c5c846911a875a188cbb6ec8a4e4b80b787a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c @@ -35,6 +35,7 @@ main1 (s * __restrict__ pIn, s* __restrict__ pOut) } /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (q->a != p->a + 5 diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c index dcae9c26d8621dd393f00d81257262a27913d7a8..37b8eb80ce0ce0dfe1ce5f9e5c13618bffbe41ff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c @@ -24,6 +24,7 @@ main (int argc, char **argv) } loop (); __asm__ volatile ("" : : : "memory"); +#pragma GCC novector for (int i = 0; i < N; i++) { if (out[i] != i*2 + 7) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c index 6be939eea167992aade397ada0ee50d4daa43066..a55cd32e5896be4c1592e4e815baccede0f30e82 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c @@ -38,6 +38,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != a[i] + 3 diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c index 9d1ad579e6a607f34ec953395f741f180474a77a..170f23472b967cedec88c1fa82dfb898014a6d09 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c @@ -34,6 +34,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != a[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c index a081d4e396e36a4633eb224d927543c7379d3108..11c2f2c4df60d8238830c188c3400a324444ab4d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c @@ -22,6 +22,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i*2] != b[i] + c[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store.c index e8303b63bd4812e0643dc96888eeee2ea8ca082a..dfdafe8e8b46ea33e3c9ed759687788784a22607 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store.c @@ -19,12 +19,14 @@ int main() float src[] = {1, 2, 3, 4, 5, 6, 7, 8}; float dest[64]; check_vect (); +#pragma GCC novector for (stride = 0; stride < 8; stride++) { sumit (dest, src, src, stride, 8); if (!stride && dest[0] != 16) abort(); else if (stride) +#pragma GCC novector for (i = 0; i < 8; i++) if (2*src[i] != dest[i*stride]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c index 7d264f39c60d668927232a75fe3843dbee087aa5..004db4e1f84735d8857c5591453158c96f213246 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c @@ -25,6 +25,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c index 63a4da797cbeb70bde0b1329fe39f510c24a990c..5d94e8f49bc41431df9de2b809c65e48cc269fa0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c @@ -18,6 +18,7 @@ check1 (s *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i].a != C (i) || res[i].b != A (i) @@ -30,6 +31,7 @@ check2 (unsigned short *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != (unsigned short) (A (i) + B (i) + C (i))) abort (); @@ -40,6 +42,7 @@ check3 (s *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i].a != i || res[i].b != i @@ -52,6 +55,7 @@ check4 (unsigned short *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != (unsigned short) (A (i) + B (i))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c index ee8ea0d666db4b7671cd3f788fc7f6056189f3da..547ad9b9ee3d35802d3f8d7b9c43d578fb14f828 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c @@ -34,6 +34,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c index fe41dbd9cf452b9452084e988d48ede232f548bf..8f58e24c4a8b8be2da0a6c136924a370b9952691 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c @@ -29,6 +29,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c index a88c0f08456cf278c4fa5a5b9b0a06900cb7c9be..edb13d1b26f5963113917e8882f199c7dd4d8de7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c @@ -37,6 +37,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c index cddd0c88f42a99f526362ca117e9386c013c768d..0c2bd9d8cbde5e789474595db519d603b374e74c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c @@ -29,6 +29,7 @@ main1 (unsigned short *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i] != arr[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c index ab841205e4f5b3c0aea29f60045934e84644a6a7..fd7920031dcf6df98114cfde9a56037d655bb74d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c @@ -25,6 +25,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b @@ -41,6 +42,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c index 0afd50db0b8de7758faf7f2bff14247a27a7ee38..ae2345a9787804af0edc45d93f18e75d159326b0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c @@ -24,6 +24,7 @@ main1 (s *arr) ptr++; } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c index ef532251465e5b1eb16e820fc30844a7995b82a9..c7a1da534baea886fe14add1220c105153d6bb80 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c @@ -39,6 +39,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c index 04f18fbb591d9dc50d56b20bce99cb79903e5e27..2a068d821aebee8ab646ff1b4c33209dc5b2fcbf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c @@ -37,6 +37,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c index b5eb87f4b96e1a577930654f4b1709024256e90e..ac7bf000196b3671044de57d88dd3a32080b68a8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c @@ -41,6 +41,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a @@ -64,6 +65,7 @@ main1 (s *arr) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c index 69b970ef33b9dd8834b10baf7085b88a0c441a46..0a6050ae462332b8d74043fce094776892a80386 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c @@ -53,6 +53,7 @@ main1 (s *arr, int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (res[i].c != arr[i].b + arr[i].c @@ -67,6 +68,7 @@ main1 (s *arr, int n) } /* Check also that we don't do more iterations than needed. */ +#pragma GCC novector for (i = n; i < N; i++) { if (res[i].c == arr[i].b + arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c index f1d05a5aaf9f6885b921c5ae3370d9c17795ff82..9ead5a776d0b1a69bec804615ffe7639f61f993f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c @@ -39,6 +39,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b + arr[i].c @@ -62,6 +63,7 @@ main1 (s *arr) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c index b703e636b49f8c7995c4c463b38b585f79acbdf2..176c6a784bc73e0300e3114a74aba05dc8185cac 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c @@ -44,6 +44,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c index 764f10d0adaca01e664bb45dd4da59a0c3f8a2af..cef88f6bf8246a98933ff84103c090664398cedd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c @@ -42,6 +42,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c index 35bab79ce826ac663eabb1a1036ed7afd6d33e8b..c29c3ff6cdc304e5447f0e12aac00cd0fcd7b61e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c @@ -44,6 +44,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c index ea35835465c8ed18be1a0c9c4f226f078a51acaa..2d5c10a878c7145972aeaa678e0e11c1cf1b79dd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c @@ -27,6 +27,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c index df6b999c5a4d88c8b106829f6f9df8edbe00f86f..4848215a7a8f5fea569c0bfaf5909ac68a81bbf2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c @@ -32,6 +32,7 @@ main (void) foo (X, Y, Z); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i] != resultY[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c index 36861a059e03b1103adc2dca32409878ca95611e..2a94c73907e813019fcfbc912a1599f7423e2a47 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c @@ -40,6 +40,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i].a != result[i].a) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c index bfbb48b21ee632243f2f5ba63d7eeec0f687daef..b0e9d6f90391cfc05911f7cc709df199d7fbbdf1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c @@ -26,6 +26,7 @@ main (void) foo (X, &X[2]); /* check results: */ +#pragma GCC novector for (i = 0; i < N+2; i++) { if (X[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c index d775f320e0c1e2c6de2e77a1d8df621971fc3d2d..27d762490908829d54cdbb81247926c2f677fe36 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c @@ -40,6 +40,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i].a != result[i].a) diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c index 0d6e64081a17fed8d9b9239f9ba02ffa1b7a758d..f3abc9407f52784e391c495152e617b1f0753e92 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c @@ -38,6 +38,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (SIGNEDNESS_1 short) ((BASE + i * 5) * (BASE + OFFSET + i * 4))) diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c index 4c95dd2017922904122aee2925491e9b9b48fe8e..dfbb2171c004565045d91605354b5d6e7219ab19 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c @@ -17,6 +17,7 @@ foo (int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 2333) abort (); @@ -32,6 +33,7 @@ bar (int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * (short) 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * (short) 2333) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c index 4075f815cea0ffbad1e05e0ac8b9b232bf3efe61..c2ad58f69e7fe5b62a9fbc55dd5dab43ba785104 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c @@ -17,6 +17,7 @@ foo (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 2333) abort (); @@ -32,6 +33,7 @@ bar (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = (unsigned short) 2333 * b[i]; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * (unsigned short) 2333) abort (); @@ -47,6 +49,7 @@ baz (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 233333333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 233333333) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c index c4ac88e186dbc1a8f36f4d7567a9983446557eea..bfdcbaa09fbd42a16197023b09087cee6642105a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c @@ -43,12 +43,14 @@ int main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF) abort (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c index ebbf4f5e841b75cb1f5171ddedec85cd327f385e..e46b0cc3135fd982b07e0824955654f0ebc59506 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c @@ -38,6 +38,7 @@ int main (void) foo (COEF2); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF || out2[i] != in[i] + COEF2) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c index 91a8a290263c9630610a48bce3829de753a4b320..6b094868064e9b86c40018363564f356220125a5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c @@ -33,6 +33,7 @@ int main (void) foo1 (N); +#pragma GCC novector for (i=0; i ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -140,6 +142,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -151,6 +154,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) diff --git a/gcc/testsuite/g++.dg/vect/simd-7.cc b/gcc/testsuite/g++.dg/vect/simd-7.cc index 1467849e0c6baa791016b039ca21cfa2cc63ce7f..b543efb191cfbf9c561b243996cdd3a4b66b7533 100644 --- a/gcc/testsuite/g++.dg/vect/simd-7.cc +++ b/gcc/testsuite/g++.dg/vect/simd-7.cc @@ -79,6 +79,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/g++.dg/vect/simd-8.cc b/gcc/testsuite/g++.dg/vect/simd-8.cc index 8e297e246bd41a2f63469260f4fdcfcb5a68a62e..4d76a97a97233cecd4d35797a4cc52f70a4c5e3b 100644 --- a/gcc/testsuite/g++.dg/vect/simd-8.cc +++ b/gcc/testsuite/g++.dg/vect/simd-8.cc @@ -77,6 +77,7 @@ main () foo (a, b, r); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/g++.dg/vect/simd-9.cc b/gcc/testsuite/g++.dg/vect/simd-9.cc index 4c5b0508fbd79f0e6aa311072062725536d8e2a3..5d1a174e0fc5425f33769fd017b4fd6a51a2fb14 100644 --- a/gcc/testsuite/g++.dg/vect/simd-9.cc +++ b/gcc/testsuite/g++.dg/vect/simd-9.cc @@ -110,6 +110,7 @@ main () foo (a, b, r); if (r.s != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -121,6 +122,7 @@ main () if (bar ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -132,6 +134,7 @@ main () if (r.s != 1024 * 1023 / 2) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) @@ -143,6 +146,7 @@ main () if (qux ().s != 1024 * 1023) abort (); s.s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i].s != s.s) diff --git a/gcc/testsuite/g++.dg/vect/simd-clone-6.cc b/gcc/testsuite/g++.dg/vect/simd-clone-6.cc index fb00e8816a5fc157b780edd1d7064804a67d6373..2d9bb62555ff6c9473db2d1b754aed0123f2cb62 100644 --- a/gcc/testsuite/g++.dg/vect/simd-clone-6.cc +++ b/gcc/testsuite/g++.dg/vect/simd-clone-6.cc @@ -30,6 +30,7 @@ do_main () #pragma omp simd for (i = 0; i < N; i++) e[i] = foo (c[i], d[i], f[i]); +#pragma GCC novector for (i = 0; i < N; i++) if (e[i] != 6 * i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c index f8b84405140e87a2244ae9f5db6136af2fe9cf57..17ce6c392546f7e46a6db9f30f76dcaedb96d08c 100644 --- a/gcc/testsuite/gcc.dg/vect/O3-pr70130.c +++ b/gcc/testsuite/gcc.dg/vect/O3-pr70130.c @@ -90,6 +90,7 @@ main (void) for (i = 0; i < 8; i++) Loop_err (images + i, s, -1); +#pragma GCC novector for (i = 0; i < 8; i++) if (__builtin_memcmp (&expected, images + i, sizeof (expected))) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/Os-vect-95.c b/gcc/testsuite/gcc.dg/vect/Os-vect-95.c index 97e516ed68e6166eb5f0631004d89f8eedde1cc4..8039be89febdb150226b513ffe267f6065613ccb 100644 --- a/gcc/testsuite/gcc.dg/vect/Os-vect-95.c +++ b/gcc/testsuite/gcc.dg/vect/Os-vect-95.c @@ -10,6 +10,7 @@ void bar (float *pd, float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-1.c index 793c41f6b724d2b6f5ecca6511ea8504e1731a8c..3dc5e746cd0d5c99dcb0c88a05b94c73b44b0e65 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-1.c @@ -29,6 +29,7 @@ main1 (int dummy) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-16.c b/gcc/testsuite/gcc.dg/vect/bb-slp-16.c index 82fae06e3244a9bbb4a471faecdc5f1174970229..76430e0915e2d6ad342dae602fd22337f4559b63 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-16.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-16.c @@ -37,6 +37,7 @@ main1 (int dummy) a = 0; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] + a diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-2.c index fcf1cd327e0b20582e3512faacfebfe6b7db7278..cb1b38dda14785c6755d311683fbe9703355b39a 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-2.c @@ -28,6 +28,7 @@ main1 (int dummy) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*8] != in[i*8] diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-24.c b/gcc/testsuite/gcc.dg/vect/bb-slp-24.c index ca049c81ba05482813dbab50ab3f4c6df94570e4..6de8dd8affce8e6f6ad40a36d6a163fc25b3fcf9 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-24.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-24.c @@ -44,6 +44,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N; i++) { if (dst[i] != A * i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-25.c b/gcc/testsuite/gcc.dg/vect/bb-slp-25.c index 7a9cf955e3e540e08b42cd80872bb99b53cabcb2..d44d585ff25aed7394945cff64f20923b5600061 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-25.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-25.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * i + i + 8) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c index df529673f6c817620a8423ab14724fe4e72bca49..fde062e86c7a01ca29d6e7eb8367414bd734500b 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-26.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-26.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * src[i] + src[i+8]) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-27.c b/gcc/testsuite/gcc.dg/vect/bb-slp-27.c index bc27f2fca04de8f837ce51090657c8f2cc250c24..3647dd97c69df8a36fc66ca8e9988e215dad71eb 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-27.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-27.c @@ -35,6 +35,7 @@ int main (void) foo (A); +#pragma GCC novector for (i = 0; i < 8; i++) { if (dst[i] != A * i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-28.c b/gcc/testsuite/gcc.dg/vect/bb-slp-28.c index 8749a1f22a6cc1e62a15bd988c50f6f63f26a0a2..c92b687aa44705118f21421a817ac3067e2023c6 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-28.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-28.c @@ -56,6 +56,7 @@ int main (void) foo (A); +#pragma GCC novector for (i = 0; i < N; i++) { if (dst[i] != A * i diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-29.c b/gcc/testsuite/gcc.dg/vect/bb-slp-29.c index b531350ff3073b7f54b9c03609d6c8279e0374db..9272f02b2aa14f52b04e3d6bb08f15be17ce6a2f 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-29.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-29.c @@ -45,6 +45,7 @@ int main (void) foo (dst, src, N, 8); +#pragma GCC novector for (i = 0; i < N/2; i++) { if (dst[i] != A * src[i] + B * src[i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-42.c b/gcc/testsuite/gcc.dg/vect/bb-slp-42.c index 1dfa301184aad4c8edf00af80fb861562c941049..69fd0968491544f98d1406ff8a166b723714dd23 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-42.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-42.c @@ -36,6 +36,7 @@ main () foo (a, b); for (int i = 0; i < 4; ++i) +#pragma GCC novector for (int j = 0; j < ARR_SIZE; ++j) if (a[i][j] != (i + 1) * ARR_SIZE - j + 20 * i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c index ccb4ef659e47e3524d0dd602fa9d1291847dee3c..c8024429e9c44d924f5bb2af2fcc6b5eaa1b7db7 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c @@ -35,6 +35,7 @@ int main () foo (a, 4); +#pragma GCC novector for (i = 1; i < N; i++) if (a[i] != i%4 + 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c index 5a9fe423691e549ea877c42e46e9ba70d6ab5b00..b556a1d627865f5425e644df11f98661e6a85c29 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-1.c @@ -45,6 +45,7 @@ DEF_LOOP (unsigned) asm volatile ("" ::: "memory"); \ } \ f_##SIGNEDNESS (a, b, c); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ if (a[i] != (BASE_B + BASE_C + i * 29) >> 1) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c index 15a94e680be4568232e31956732d7416549a18ff..d1aa161c3adcfad1d916de486a04c075f0aaf958 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c @@ -44,6 +44,7 @@ DEF_LOOP (unsigned) asm volatile ("" ::: "memory"); \ } \ f_##SIGNEDNESS (a, b, C); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ if (a[i] != (BASE_B + C + i * 15) >> 1) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c index 47b1a43665130e11f902f5aea11b01faf307101b..a3ff0f5b3da2f25ce62a5e9fabe5b38e9b952fa9 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c @@ -37,6 +37,7 @@ int main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { __asm__ volatile (""); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c index c50560b53696c340b0c071296f002f65bcb91631..05fde3a7feba81caf54acff82870079b87b7cf53 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c @@ -39,6 +39,7 @@ int main () foo (a, b, 8); +#pragma GCC novector for (i = 1; i < N; i++) if (a[i] != i%8 + 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c index fc76700ced3d4f439b0f12eaf9dbc2b1fec72c20..c186c7b66c65e5f62edee25a924fdcfb25b252ab 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pow-1.c @@ -16,6 +16,7 @@ int main (void) { f (a); +#pragma GCC novector for (int i = 0; i < 4; ++i) { if (a[i] != (i + 1) * (i + 1)) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c index ac89883de22c9f647041fb373618dae5b7c036f3..dda74ebe03c35811ee991a181379e688430d8412 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c @@ -16,6 +16,8 @@ int main() for (int e = 0; e <= 4; e++) a[e + 1] |= 3; } + +#pragma GCC novector for (int d = 0; d < 6; d++) if (a[d] != res[d]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c index ee12136491071c6bfd7678c164df7a1c0a71818f..77d3ae7d424e208409c5baf18c6f39f294f7e351 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr65935.c @@ -51,6 +51,7 @@ int main() rephase (); for (i = 0; i < 32; ++i) for (j = 0; j < 3; ++j) +#pragma GCC novector for (k = 0; k < 3; ++k) if (lattice->link[i].e[j][k].real != i || lattice->link[i].e[j][k].imag != i) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c index 40a02ed1309e2b6b4dc44cf56018a4bb71cc519f..bea3b92ba775a4e8b547d4edccf3ae4a4aa50b40 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-1.c @@ -31,9 +31,11 @@ main (int argc, char **argv) __asm__ volatile ("" : : : "memory"); test (a, b); __asm__ volatile ("" : : : "memory"); +#pragma GCC novector for (int i = 0; i < 4; i++) if (a[i] != i+4) abort (); +#pragma GCC novector for (int i = 4; i < 8; i++) if (a[i] != 0) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c index cc50a5bde01315be13058ac3409db07f4ce6de5f..085cb986b99c00cb1449db61bb68ccec4e7aa0ba 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-vect-31.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i = 0.0001f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c b/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c index 6d67d12f9961f5cbc53d6f7df5240ac2178a08ac..76bb044914f462cf6d76b559b751f1338a3fc0f8 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c @@ -44,12 +44,14 @@ main1 () b[i] = ((i & 1) ? -4 * i : 4 * i) + 0.25; } f1 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + i) abort (); else a[i] = 131.25; f2 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c index 495c0319c9dabd65436b5f6180114dfa8967f071..ad22f6e82b3c3312c9f10522377c4749e87ce3aa 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-1.c @@ -65,24 +65,28 @@ main1 () d[i] = i * i; } f1 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i & 3) + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f2 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i & 1) + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f3 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + i - a[i]) >= 0.0001f) abort (); else a[i] = 131.25; f4 (10); +#pragma GCC novector for (i = 0; i < 60; i++) if (fabsf (((i & 2) ? -4 * i : 4 * i) + 1 + (i % 3) + i - a[i]) >= 0.0001f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c index 274ff0f9942c5aff6c6aaca5243ef21bd8708856..d51e17ff656b7cc7ef3d87d207f78aae8eec9373 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c @@ -82,36 +82,42 @@ main1 () b[i] = ((i & 1) ? -4 * i : 4 * i) + 0.25; } f1 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + (i & 3)) abort (); else a[i] = 131.25; f2 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1 + (i & 1)) abort (); else a[i] = 131.25; f3 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i) + 1) abort (); else a[i] = 131.25; f4 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); else a[i] = 131.25; f5 (16); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); else a[i] = 131.25; f6 (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != ((i & 1) ? -4 * i : 4 * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c index 893e521ed8b83768699bc9b70f7d33b91dd89c9b..07992cf72dcfa4da5211a7a160fb146cf0b7ba5c 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-complex-3.c @@ -47,6 +47,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (c[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c b/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c index 71f2db3e0f281c4cdb1bf89315cc959382459e83..fc710637ac8142778b18810cefadf00dda3f39a6 100644 --- a/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c +++ b/gcc/testsuite/gcc.dg/vect/if-cvt-stores-vect-ifcvt-18.c @@ -56,6 +56,7 @@ main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i].a != result[2*i] || out[i].b != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c index 82b37d4ca71344d15e00e0453dae6470c8d5ba9b..aeaf8146b1a817379a09dc3bf09f542524522f99 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c @@ -32,6 +32,7 @@ int main (void) foo (); /* check results: */ +#pragma GCC novector for (i=0; i 0 ? b[i] : 0); } +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c index d718b5923b11aaee4d259c62cab1a82c714cc934..ae5d23fab86a4dd363e3df7310571ac93fc93f81 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-111.c @@ -20,6 +20,7 @@ main1 (void) a[i] = (b[i] > 0 ? b[i] : 0); } +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c index 7316985829f589dbbbe782b037096b2c5bd2be3c..4aaff3430a4cb110d586da83e2db410ae88bc977 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] >= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c index e87bcb8b43d3b82d30f8d3c2340b4968c8dd8da4..c644523a0047a6dfaa0ec8f3d74db79f71b82ec7 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c @@ -21,6 +21,7 @@ int main () A[i] = ( A[i] > MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c index 9bd583fde6e71096b9cfd07d2668a9f32b50bf17..5902f61f954c5f65929616b0f924b8941cac847c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c index 9bd583fde6e71096b9cfd07d2668a9f32b50bf17..5902f61f954c5f65929616b0f924b8941cac847c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c index dcb09b7e7c7a3c983763fb3e57ea036e26d2d1ba..7f436a69e99bff6cebbc19a35c2dbbe5dce94c5a 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] < MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c index ebde13167c863d91376d7c17d65191c047a7c9e7..d31157713bf3d0f0fadf305053dfae0612712b8d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c +++ b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c @@ -21,6 +21,7 @@ int main () check_vect (); main1 (32); +#pragma GCC novector for (si = 0; si < 32; ++si) if (stack_vars_sorted[si] != si) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c b/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c index e965910d66d06434a367f08553fde8a733a53e41..8491d5f0070233af5c0baf64f9123d270fe1d51c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c +++ b/gcc/testsuite/gcc.dg/vect/no-tree-pre-slp-29.c @@ -22,6 +22,7 @@ main1 (unsigned short *in) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*4] != in[i*4] @@ -48,6 +49,7 @@ main2 (unsigned short * __restrict__ in, unsigned short * __restrict__ out) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i*4] != in[i*4] diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c index a92ec9c1656275e1b0e31cfe1dcde3be78dfac7e..45cca1d1991c126fdef29bb129c443aae249a295 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c @@ -41,6 +41,7 @@ int main(void) with_restrict(a + 1); without_restrict(b + 1); +#pragma GCC novector for (i = 0; i < 1002; ++i) { if (a[i] != b[i]) abort(); diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c index ce934279ddfe073a96ef8cd7e0d383ca979bda7a..73b92177dabf5193d9d158a92e0383d389b67c82 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c @@ -30,6 +30,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != a[i] || p->b[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c index d9e0529e73f0a566220020ad671f432f3e72299f..9a3fdab128a3bf2609018f92a38a7a6de8b7270b 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c @@ -35,6 +35,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != 1) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c index 581438823fd2d1fa83ae4cb770995ff30c18abf8..439347c3bb10711911485a9c1f3bc6abf1c7798c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c @@ -34,6 +34,7 @@ int main1 (int x, int y) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != 1) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c index 6f4c84b4cd2b928c5df21a44e910620c1937e863..f59eb69d99fbe2794f3f6c6822cc87b209e8295f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c @@ -24,6 +24,7 @@ int main1 (char *y) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -38,6 +39,7 @@ int main1 (char *y) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c index 18d4d1bbe6d0fdd357a95ab997437ab6b9a46ded..6b4542f5948bc32ca736ad92328a0fd37e44334c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c @@ -11,6 +11,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) @@ -66,6 +67,7 @@ main2 (float *pa, float *pb, float *pc) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (b[i] * c[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c index cad507a708f3079f36e2c85c594513514a1e172b..5db05288c81bf5c4c158efbc50f6d4862bf3f335 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c index a364c7b0d6f1f19292b937eedf0854163c1f549a..a33375f94fec55183493f96c84099224b7f4af6f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c @@ -11,6 +11,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c index 69e921b95031b9275e6f4edeb120f247e93646a3..5ebb8fea0b7cb101f73fa2b079f4a37092eb6f2d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c index b1c1d86587e5bd9b1dcd364ad495ee7a52ccfb2b..b6d251ec48950dacdecc4d141ebceb4cedaa0755 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c @@ -11,6 +11,7 @@ void bar (const float *pa, const float *pb, const float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c index 83dc628f0b0803eab9489101c6f3c26f87cf429c..6291dd9d53c33160a0aacf05aeb6febb79fdadf0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c @@ -12,6 +12,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (pa[i] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c index 9524454d367db2a45ab744d55a9d32a32e773140..d0334e3ba90f511fd6c0bc5faa72d78c07510cd9 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c @@ -13,6 +13,7 @@ void bar (float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (pa[i] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c index 6e9ddcfa5ce61f7a53829e81cab277165ecd1d91..37e474f8a06f1f7df7e9a83290e865d1baa12fce 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c @@ -23,6 +23,7 @@ main1 (float *pa, float *pb, float *pc) pa[i] = q[i] * pc[i]; } +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != q[i] * pc[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c index da3506a4cecdce11bf929a98c533026d31fc5f96..e808c87158076d3430eac124df9fdd55192821a8 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-1.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N - 1; i++) { if (ia[i] != 0) @@ -34,6 +35,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N - 1; i++) { if (ib[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c index 89958378fca009fba6b59509c2ea7f96fa53805b..25a3409ae5e2ebdb6f7ebabc7974cd49ac7b7d47 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-2.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != 0) @@ -34,6 +35,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ib[i] != res[i]) diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c index e5914d970e3596a082e015725ba99369670db4e7..d1d70dda2eb9b3d7b462ebe0c30536a1f2744af4 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-depend-3.c @@ -130,6 +130,7 @@ main1 (void) case 7: f8 (); break; } +#pragma GCC novector for (i = 0; i <= N; i++) { int ea = i + 3; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c index 8cc69ab22c5ab7cc193eeba1aa50365db640b254..407b683961ff0f5caaa1f168913fb7011b7fd2a3 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c @@ -37,6 +37,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < N-20; i++) { if (A[i] != D[i+20]) @@ -50,6 +51,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < 16; i++) { if (B[i] != C[i] + 5) @@ -63,6 +65,7 @@ int main () } /* check results: */ +#pragma GCC novector for (i = 0; i < 4; i++) { if (C[i] != E[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr101445.c b/gcc/testsuite/gcc.dg/vect/pr101445.c index f8a6e9ce6f7fa514cacd8b58d9263636d1d28eff..143156f2464e84e392c04231e4717ef9ec7d8a6e 100644 --- a/gcc/testsuite/gcc.dg/vect/pr101445.c +++ b/gcc/testsuite/gcc.dg/vect/pr101445.c @@ -21,6 +21,7 @@ int main() { check_vect (); foo (); +#pragma GCC novector for (int d = 0; d < 25; d++) if (a[d] != 0) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr103581.c b/gcc/testsuite/gcc.dg/vect/pr103581.c index d072748de31d2c6beb5d6dd86bf762ee1f4d0182..92695c83d99bf048b52c8978634027bcfd71c13d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr103581.c +++ b/gcc/testsuite/gcc.dg/vect/pr103581.c @@ -39,6 +39,7 @@ main() unsigned int *resusiusi = maskgatherusiusi (16, idx4, data4); unsigned long long *resudiudi = maskgatherudiudi (16, idx8, data8); unsigned int *resusiudi = maskgatherusiudi (16, idx8, data4); +#pragma GCC novector for (int i = 0; i < 16; ++i) { unsigned int d = idx4[i]; diff --git a/gcc/testsuite/gcc.dg/vect/pr105219.c b/gcc/testsuite/gcc.dg/vect/pr105219.c index 4bca5bbba30a9740a54e6205bc0d0c8011070977..2289f5e1a633b56218d089d81528599d4f1f282b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr105219.c +++ b/gcc/testsuite/gcc.dg/vect/pr105219.c @@ -22,6 +22,7 @@ int main() { __builtin_memset (data, 0, sizeof (data)); foo (&data[start], n); +#pragma GCC novector for (int j = 0; j < n; ++j) if (data[start + j] != j) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr108608.c b/gcc/testsuite/gcc.dg/vect/pr108608.c index e968141ba03639ab86ccf77e5e9ad5dd56a66e0d..fff5c1a89365665edc3478263ee909b2b260e178 100644 --- a/gcc/testsuite/gcc.dg/vect/pr108608.c +++ b/gcc/testsuite/gcc.dg/vect/pr108608.c @@ -13,6 +13,7 @@ main (void) { check_vect (); float ptr[256]; +#pragma GCC novector for (int j = 0; j < 16; ++j) { for (int i = 0; i < 256; ++i) diff --git a/gcc/testsuite/gcc.dg/vect/pr18400.c b/gcc/testsuite/gcc.dg/vect/pr18400.c index 012086138f7199fdf2b4b40666795f7df03a89d2..dd96d87be99287da19df4634578e2e073ab42455 100644 --- a/gcc/testsuite/gcc.dg/vect/pr18400.c +++ b/gcc/testsuite/gcc.dg/vect/pr18400.c @@ -19,6 +19,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != b[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr18536.c b/gcc/testsuite/gcc.dg/vect/pr18536.c index 6d02675913b68c811f4e3bc1f71df830d7f4e2aa..33ee3a5ddcfa296672924678b40474bea947b9ea 100644 --- a/gcc/testsuite/gcc.dg/vect/pr18536.c +++ b/gcc/testsuite/gcc.dg/vect/pr18536.c @@ -22,6 +22,7 @@ int main (void) main1 (0, x); /* check results: */ +#pragma GCC novector while (++i < 4) { if (x[i-1] != 2) diff --git a/gcc/testsuite/gcc.dg/vect/pr20122.c b/gcc/testsuite/gcc.dg/vect/pr20122.c index 4f1b7bd6c1e723405b6625f7c7c890a46d3272bc..3a0387e7728fedc9872cb385dd7817f7f5cf07ac 100644 --- a/gcc/testsuite/gcc.dg/vect/pr20122.c +++ b/gcc/testsuite/gcc.dg/vect/pr20122.c @@ -27,6 +27,7 @@ static void VecBug2(short Kernel[8][24]) Kernshort2[i] = Kernel[k][i]; for (k = 0; k<8; k++) +#pragma GCC novector for (i = 0; i<24; i++) if (Kernshort2[i] != Kernel[k][i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr25413.c b/gcc/testsuite/gcc.dg/vect/pr25413.c index e80d6970933e675b6056e5d119c6eb0e817a40f9..266ef3109f20df7615e85079a5d2330f26cf540d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr25413.c +++ b/gcc/testsuite/gcc.dg/vect/pr25413.c @@ -26,6 +26,7 @@ int main (void) check_vect (); main1 (); +#pragma GCC novector for (i=0; i>16 || dest[i*4 + 1] != (src[i*2 + 1])>>8 diff --git a/gcc/testsuite/gcc.dg/vect/pr40074.c b/gcc/testsuite/gcc.dg/vect/pr40074.c index 143ee05b1fda4b0f858e31cad2ecd4211530e7b6..b75061a8116c34f609eb9ed59256b6eea87976a4 100644 --- a/gcc/testsuite/gcc.dg/vect/pr40074.c +++ b/gcc/testsuite/gcc.dg/vect/pr40074.c @@ -30,6 +30,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N-1; i++) { if (res[i] != arr[i].b + arr[i].d + arr[i+1].b) diff --git a/gcc/testsuite/gcc.dg/vect/pr45752.c b/gcc/testsuite/gcc.dg/vect/pr45752.c index 4ddac7ad5097c72f08b948f64caa54421d4f55d0..e8b364f29eb0c4b20bb2b2be5d49db3aab5ac39b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr45752.c +++ b/gcc/testsuite/gcc.dg/vect/pr45752.c @@ -146,6 +146,7 @@ int main (int argc, const char* argv[]) foo (input, output, input2, output2); +#pragma GCC novector for (i = 0; i < N; i++) if (output[i] != check_results[i] || output2[i] != check_results2[i]) diff --git a/gcc/testsuite/gcc.dg/vect/pr45902.c b/gcc/testsuite/gcc.dg/vect/pr45902.c index ac8e1ca6d38159d3c26497a414b638f49846381e..74510bf94b82850b6492c6d1ed0abacb73f65a16 100644 --- a/gcc/testsuite/gcc.dg/vect/pr45902.c +++ b/gcc/testsuite/gcc.dg/vect/pr45902.c @@ -34,6 +34,7 @@ main () main1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != a[i] >> 8) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr46009.c b/gcc/testsuite/gcc.dg/vect/pr46009.c index 9649e2fb4bbfd74e134a9ef3d068d50b9bcb86c0..fe73dbf5db08732cc74115281dcf6a020f893cb6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr46009.c +++ b/gcc/testsuite/gcc.dg/vect/pr46009.c @@ -49,6 +49,7 @@ main (void) e[i] = -1; } foo (); +#pragma GCC novector for (i = 0; i < 1024; i++) { int g; @@ -59,6 +60,7 @@ main (void) e[i] = -1; } bar (); +#pragma GCC novector for (i = 0; i < 1024; i++) { int g; diff --git a/gcc/testsuite/gcc.dg/vect/pr48172.c b/gcc/testsuite/gcc.dg/vect/pr48172.c index a7fc05cae9119076efad4ca13a0f6fd0aff004b7..850e9b92bc15ac5f51fee8ac7fd2c9122def66b6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr48172.c +++ b/gcc/testsuite/gcc.dg/vect/pr48172.c @@ -25,6 +25,7 @@ int main() { array[HALF+i] = array[2*i] + array[2*i + 1]; /* see if we have any failures */ +#pragma GCC novector for (i = 0; i < HALF - 1; i++) if (array[HALF+i] != array[2*i] + array[2*i + 1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr51074.c b/gcc/testsuite/gcc.dg/vect/pr51074.c index 4144572126e9de36f5b2e85bb56ff9fdff372bce..d6c8cea1f842e08436a3d04af513307d3e980d27 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51074.c +++ b/gcc/testsuite/gcc.dg/vect/pr51074.c @@ -15,6 +15,7 @@ main () s[i].a = i; } asm volatile ("" : : : "memory"); +#pragma GCC novector for (i = 0; i < 8; i++) if (s[i].b != 0 || s[i].a != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr51581-3.c b/gcc/testsuite/gcc.dg/vect/pr51581-3.c index 76c156adf9d0dc083b7eb5fb2e6f056398e2b845..25acceef0e5ca6f8c180a41131cd190b9c84b533 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51581-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr51581-3.c @@ -97,17 +97,20 @@ main () } f1 (); f2 (); +#pragma GCC novector for (i = 0; i < 8; i++) if (a[i] != b[i] / 8 || c[i] != d[i] / 3) abort (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < 8; i+= 2) if (a[i] != b[i] / 8 || a[i + 1] != b[i + 1] / 4 || c[i] != d[i] / 3 || c[i + 1] != d[i + 1] / 5) abort (); f5 (); f6 (); +#pragma GCC novector for (i = 0; i < 8; i+= 2) if (a[i] != b[i] / 14 || a[i + 1] != b[i + 1] / 15 || c[i] != d[i] / (i == 6 ? 13 : 6) || c[i + 1] != d[i + 1] / 5) diff --git a/gcc/testsuite/gcc.dg/vect/pr51581-4.c b/gcc/testsuite/gcc.dg/vect/pr51581-4.c index 632c96e7481339a6dfac92913a519ad5501d34c4..f6234f3e7c09194dba54af08832171798c7d9c09 100644 --- a/gcc/testsuite/gcc.dg/vect/pr51581-4.c +++ b/gcc/testsuite/gcc.dg/vect/pr51581-4.c @@ -145,17 +145,20 @@ main () } f1 (); f2 (); +#pragma GCC novector for (i = 0; i < 16; i++) if (a[i] != b[i] / 8 || c[i] != d[i] / 3) abort (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < 16; i+= 2) if (a[i] != b[i] / 8 || a[i + 1] != b[i + 1] / 4 || c[i] != d[i] / 3 || c[i + 1] != d[i + 1] / 5) abort (); f5 (); f6 (); +#pragma GCC novector for (i = 0; i < 16; i+= 2) if (a[i] != b[i] / 14 || a[i + 1] != b[i + 1] / 15 || c[i] != d[i] / ((i & 7) == 6 ? 13 : 6) || c[i + 1] != d[i + 1] / 5) diff --git a/gcc/testsuite/gcc.dg/vect/pr53185-2.c b/gcc/testsuite/gcc.dg/vect/pr53185-2.c index 6057c69a24a81be20ecc5582685fb4516f47803d..51614e70d8feac0004644b2e6bb7deb52eeeefea 100644 --- a/gcc/testsuite/gcc.dg/vect/pr53185-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr53185-2.c @@ -20,6 +20,7 @@ int main () for (off = 0; off < 8; ++off) { fn1 (&a[off], &b[off], 32 - off, 3); +#pragma GCC novector for (i = 0; i < 32 - off; ++i) if (a[off+i] != b[off+i*3]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56826.c b/gcc/testsuite/gcc.dg/vect/pr56826.c index e8223808184e6b7b37a6d458bdb440566314e959..2f2da458b89ac04634cb809873d7a60e55484499 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56826.c +++ b/gcc/testsuite/gcc.dg/vect/pr56826.c @@ -35,6 +35,7 @@ int main() __asm__ volatile (""); } bar (&A[0], &B[0], 100); +#pragma GCC novector for (i=0; i<300; i++) if (A[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56918.c b/gcc/testsuite/gcc.dg/vect/pr56918.c index 1c88d324b902e9389afe4c5c729f20b2ad790dbf..4941453bbe9940b4e775239c4c2c9606435ea20a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56918.c +++ b/gcc/testsuite/gcc.dg/vect/pr56918.c @@ -22,6 +22,7 @@ main () foo (); if (data[0] != 3 || data[7] != 1) abort (); +#pragma GCC novector for (i = 1; i < 4; ++i) if (data[i] != i || data[i + 3] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56920.c b/gcc/testsuite/gcc.dg/vect/pr56920.c index 865cfda760d1978eb1f3f063c75e2bac558254bd..ef73471468392b573e999a59e282b4d796556b8d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56920.c +++ b/gcc/testsuite/gcc.dg/vect/pr56920.c @@ -12,6 +12,7 @@ main () check_vect (); for (i = 0; i < 15; ++i) a[i] = (i * 2) % 15; +#pragma GCC novector for (i = 0; i < 15; ++i) if (a[i] != (i * 2) % 15) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr56933.c b/gcc/testsuite/gcc.dg/vect/pr56933.c index 7206682d7935a0436aaf502537bb56642d5e4648..2f2afe6df134163d2e7761be4906d778dbd6b670 100644 --- a/gcc/testsuite/gcc.dg/vect/pr56933.c +++ b/gcc/testsuite/gcc.dg/vect/pr56933.c @@ -25,6 +25,7 @@ int main() for (i = 0; i < 2*1024; i++) d[i] = 1.; foo (b, d, f); +#pragma GCC novector for (i = 0; i < 1024; i+= 2) { if (d[2*i] != 2.) @@ -32,6 +33,7 @@ int main() if (d[2*i+1] != 4.) abort (); } +#pragma GCC novector for (i = 0; i < 1024; i++) { if (b[i] != 1.) diff --git a/gcc/testsuite/gcc.dg/vect/pr57705.c b/gcc/testsuite/gcc.dg/vect/pr57705.c index e17ae09beb68051637c3ece69ac2f29e1433008d..39c32946d74ef01efce6fbc2f23c72dd0b33091d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57705.c +++ b/gcc/testsuite/gcc.dg/vect/pr57705.c @@ -47,14 +47,17 @@ main () int i; check_vect (); foo (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 5 + 4 * i) abort (); bar (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 9 + 4 * i) abort (); baz (5, 3); +#pragma GCC novector for (i = 0; i < 1024; i++) if (a[i] != 5 + 4 * i || b[i] != (unsigned char) i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr57741-2.c b/gcc/testsuite/gcc.dg/vect/pr57741-2.c index df63a49927d38badb2503787bcd828b796116199..6addd76b422614a2e28272f4d696e3cba4bb0376 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57741-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr57741-2.c @@ -34,6 +34,7 @@ main () int i; check_vect (); foo (p, q, 1.5f); +#pragma GCC novector for (i = 0; i < 1024; i++) if (p[i] != 1.0f + i * 1.5f || q[i] != 2.0f + i * 0.5f) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr57741-3.c b/gcc/testsuite/gcc.dg/vect/pr57741-3.c index 2e4954ac7f14b21463b0ef0ca97e05c4eb96e8fd..916fa131513b88321d36cdbe46f101361b4f8244 100644 --- a/gcc/testsuite/gcc.dg/vect/pr57741-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr57741-3.c @@ -33,6 +33,7 @@ main () check_vect (); r[0] = 0; foo (1.5f); +#pragma GCC novector for (i = 0; i < 1024; i++) if (p[i] != 1.0f + i * 1.5f || q[i] != 2.0f + i * 0.5f || r[i] != 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr59591-1.c b/gcc/testsuite/gcc.dg/vect/pr59591-1.c index 892fce58e36b37e5412cc6c100f82b6077ace77e..e768fb3e1de48cf43b389cf83b4f7f1f030c4f91 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59591-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr59591-1.c @@ -31,6 +31,7 @@ bar (void) t[i] = i * 13; } foo (); +#pragma GCC novector for (i = 0; i < 256; i++) if ((i >> 2) & (1 << (i & 3))) { diff --git a/gcc/testsuite/gcc.dg/vect/pr59591-2.c b/gcc/testsuite/gcc.dg/vect/pr59591-2.c index bd82d765794a32af6509ffd60d1f552ce10570a3..3bdf4252cffe63830b5b47cd17fa29a3c65afc73 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59591-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr59591-2.c @@ -32,6 +32,7 @@ bar (void) t[i] = i * 13; } foo (); +#pragma GCC novector for (i = 0; i < 256; i++) if ((i >> 2) & (1 << (i & 3))) { diff --git a/gcc/testsuite/gcc.dg/vect/pr59594.c b/gcc/testsuite/gcc.dg/vect/pr59594.c index 947fa4c0c301d98cbdfeb5da541482858b69180f..e3ece8abf7131aa4ed0a2d5af79d4bdea90bd8c1 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59594.c +++ b/gcc/testsuite/gcc.dg/vect/pr59594.c @@ -22,6 +22,7 @@ main () } if (b[0] != 1) __builtin_abort (); +#pragma GCC novector for (i = 0; i < N; i++) if (b[i + 1] != i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr59984.c b/gcc/testsuite/gcc.dg/vect/pr59984.c index d6977f0020878c043376b7e7bfdc6a0e85ac2663..c00c2267158667784fb084b0ade19e2ab763c6a3 100644 --- a/gcc/testsuite/gcc.dg/vect/pr59984.c +++ b/gcc/testsuite/gcc.dg/vect/pr59984.c @@ -37,6 +37,7 @@ test (void) foo (a[i], &v1, &v2); a[i] = v1 * v2; } +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * i * i * i - 1) __builtin_abort (); @@ -49,6 +50,7 @@ test (void) bar (a[i], &v1, &v2); a[i] = v1 * v2; } +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * i * i * i - 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr60276.c b/gcc/testsuite/gcc.dg/vect/pr60276.c index 9fc18ac7428cf71903b6ebb04b90eb21b2e8b3c7..824e2a336b6d9fad2e7a72c445ec2edf80be8138 100644 --- a/gcc/testsuite/gcc.dg/vect/pr60276.c +++ b/gcc/testsuite/gcc.dg/vect/pr60276.c @@ -44,6 +44,7 @@ int main(void) foo (out + 2, lp + 1, 48); foo_novec (out2 + 2, lp + 1, 48); +#pragma GCC novector for (s = 0; s < 49; s++) if (out[s] != out2[s]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr61194.c b/gcc/testsuite/gcc.dg/vect/pr61194.c index 8421367577278cdf5762327d83cdc4a0e65c9411..8cd38b3d5da616d65ba131d048280b1d5644339d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr61194.c +++ b/gcc/testsuite/gcc.dg/vect/pr61194.c @@ -32,6 +32,7 @@ int main() barX(); +#pragma GCC novector for (i = 0; i < 1024; ++i) if (z[i] != ((x[i]>0 && w[i]<0) ? 0. : 1.)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr61680.c b/gcc/testsuite/gcc.dg/vect/pr61680.c index e25bf78090ce49d68cb3694233253b403709331a..bb24014bdf045f22a0c9c5234481f07153c25d41 100644 --- a/gcc/testsuite/gcc.dg/vect/pr61680.c +++ b/gcc/testsuite/gcc.dg/vect/pr61680.c @@ -8,6 +8,7 @@ bar (double p[][4]) { int i; double d = 172.0; +#pragma GCC novector for (i = 0; i < 4096; i++) { if (p[i][0] != 6.0 || p[i][1] != 6.0 || p[i][2] != 10.0) diff --git a/gcc/testsuite/gcc.dg/vect/pr62021.c b/gcc/testsuite/gcc.dg/vect/pr62021.c index 40c64429d6382821af4a31b3569c696ea0e5fa2a..460fadb3f6cd73c7cac2bbba65cc09d4211396e8 100644 --- a/gcc/testsuite/gcc.dg/vect/pr62021.c +++ b/gcc/testsuite/gcc.dg/vect/pr62021.c @@ -24,6 +24,7 @@ main () #pragma omp simd for (i = 0; i < 1024; i++) b[i] = foo (b[i], i); +#pragma GCC novector for (i = 0; i < 1024; i++) if (b[i] != &a[1023]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr63341-2.c b/gcc/testsuite/gcc.dg/vect/pr63341-2.c index 2004a79b80ef4081136ade20df9b6acd5b6428c1..aa338263a7584b06f10e4cb4a6baf19dea20f40a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr63341-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr63341-2.c @@ -16,6 +16,7 @@ foo () int i; for (i = 0; i < 32; i++) d[i] = t.s[i].s + 4; +#pragma GCC novector for (i = 0; i < 32; i++) if (d[i] != t.s[i].s + 4) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64252.c b/gcc/testsuite/gcc.dg/vect/pr64252.c index b82ad017c16fda6e031b503a9b11fe39a3691a6c..89070c27ff0f9763bd8eaff4a81b5b0197ae12dc 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64252.c +++ b/gcc/testsuite/gcc.dg/vect/pr64252.c @@ -57,6 +57,7 @@ int main() int i; check_vect (); bar(2, q); +#pragma GCC novector for (i = 0; i < N; i++) if (q[0].a[i].f != 0 || q[0].a[i].c != i || q[0].a[i].p != -1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64404.c b/gcc/testsuite/gcc.dg/vect/pr64404.c index 26fceb6cd8936f7300fb0067c0f18c3d35ac4595..6fecf9ecae18e49808a58fe17a6b912786bdbad3 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64404.c +++ b/gcc/testsuite/gcc.dg/vect/pr64404.c @@ -42,6 +42,7 @@ main (void) Compute (); +#pragma GCC novector for (d = 0; d < 1024; d++) { if (Y[d].l != X[d].l + X[d].h diff --git a/gcc/testsuite/gcc.dg/vect/pr64421.c b/gcc/testsuite/gcc.dg/vect/pr64421.c index 3b5ab2d980c207c1d5e7fff73cd403ac38790080..47afd22d93e5ed8fbfff034cd2a03d8d70f7e422 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64421.c +++ b/gcc/testsuite/gcc.dg/vect/pr64421.c @@ -27,6 +27,7 @@ main () a[i] = foo (a[i], i); if (a[0] != 1 || a[1] != 3) abort (); +#pragma GCC novector for (i = 2; i < 1024; i++) if (a[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr64493.c b/gcc/testsuite/gcc.dg/vect/pr64493.c index 6fb13eb6d96fe67471fdfafd2eed2a897ae8b670..d3faf84bcc16d31fc11dd2d0cd7242972fdbafdc 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64493.c +++ b/gcc/testsuite/gcc.dg/vect/pr64493.c @@ -9,6 +9,7 @@ main () for (; a; a--) for (d = 1; d <= 0; d++) +#pragma GCC novector for (; d;) if (h) { diff --git a/gcc/testsuite/gcc.dg/vect/pr64495.c b/gcc/testsuite/gcc.dg/vect/pr64495.c index 5cbaeff8389dafd3444f90240a910e7d5e4f2431..c48f9389aa325a8b8ceb5697684f563b8c13a72d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr64495.c +++ b/gcc/testsuite/gcc.dg/vect/pr64495.c @@ -11,6 +11,7 @@ main () for (; a;) for (; g; g++) +#pragma GCC novector for (; f; f++) if (j) { diff --git a/gcc/testsuite/gcc.dg/vect/pr66251.c b/gcc/testsuite/gcc.dg/vect/pr66251.c index 26afbc96a5d57a49fbbac95753f4df006cb36018..355590e69a98687084fee2c5486d14c2a20f3fcb 100644 --- a/gcc/testsuite/gcc.dg/vect/pr66251.c +++ b/gcc/testsuite/gcc.dg/vect/pr66251.c @@ -51,6 +51,7 @@ int main () test1(da, ia, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != ia[i*stride]) @@ -66,6 +67,7 @@ int main () test2(ia, da, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != ia[i*stride]) diff --git a/gcc/testsuite/gcc.dg/vect/pr66253.c b/gcc/testsuite/gcc.dg/vect/pr66253.c index bdf3ff9ca51f7f656fad687fd8c77c6ee053794f..6b99b4f3b872cbeab14e035f2e2d40aab6e438e4 100644 --- a/gcc/testsuite/gcc.dg/vect/pr66253.c +++ b/gcc/testsuite/gcc.dg/vect/pr66253.c @@ -39,6 +39,7 @@ int main () test1(da, ia, ca, stride, 256/stride); +#pragma GCC novector for (i = 0; i < 256/stride; i++) { if (da[i*stride] != 0.5 * ia[i*stride] * ca[i*stride]) diff --git a/gcc/testsuite/gcc.dg/vect/pr68502-1.c b/gcc/testsuite/gcc.dg/vect/pr68502-1.c index 4f7d0bfca38693877ff080842d6ef7abf3d3e17b..cc6e6cd9a2be0e921382bda3c653f6a6b730b905 100644 --- a/gcc/testsuite/gcc.dg/vect/pr68502-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr68502-1.c @@ -41,6 +41,7 @@ int main () for (i = 0; i < numf1s; i++) f1_layer[i].I = (double *)-1; reset_nodes (); +#pragma GCC novector for (i = 0; i < numf1s; i++) if (f1_layer[i].I != (double *)-1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr68502-2.c b/gcc/testsuite/gcc.dg/vect/pr68502-2.c index a3eddafc7ca76cbe4c21f6ed873249cb2c94b7a6..11f87125b75df9db29669aa55cdc3c202b0fedda 100644 --- a/gcc/testsuite/gcc.dg/vect/pr68502-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr68502-2.c @@ -41,6 +41,7 @@ int main () for (i = 0; i < numf1s; i++) f1_layer[i].I = -1; reset_nodes (); +#pragma GCC novector for (i = 0; i < numf1s; i++) if (f1_layer[i].I != -1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr69820.c b/gcc/testsuite/gcc.dg/vect/pr69820.c index be24e4fa9a1343e4308bfd967f1ccfdd3549db5c..72d10b65c16b54764aac0cf271138ffa187f4052 100644 --- a/gcc/testsuite/gcc.dg/vect/pr69820.c +++ b/gcc/testsuite/gcc.dg/vect/pr69820.c @@ -28,6 +28,7 @@ main () c[i] = 38364; } foo (); +#pragma GCC novector for (i = 0; i < 100; ++i) if (b[i] != 0xed446af8U) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr70021.c b/gcc/testsuite/gcc.dg/vect/pr70021.c index 988fc53216d12908bbbc564c9efc4d63a5c057d7..d4d5db12bc0e646413ba393b57edc60ba1189059 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70021.c +++ b/gcc/testsuite/gcc.dg/vect/pr70021.c @@ -32,6 +32,7 @@ main () e[i] = 14234165565810642243ULL; } foo (); +#pragma GCC novector for (i = 0; i < N; ++i) if (e[i] != ((i & 3) ? 14234165565810642243ULL : 1ULL)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr70354-1.c b/gcc/testsuite/gcc.dg/vect/pr70354-1.c index 9d601dc9d4a92922e4114b8b4d1b7ef2f49c0c44..2687758b022b01af3eb7b444fee25be8bc1f8b3c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70354-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr70354-1.c @@ -41,6 +41,7 @@ main () h[i] = 8193845517487445944ULL; } foo (); +#pragma GCC novector for (i = 0; i < 64; i++) if (d[i] != 8193845517487445944ULL || e[i] != 1 || g[i] != 4402992416302558097ULL) diff --git a/gcc/testsuite/gcc.dg/vect/pr70354-2.c b/gcc/testsuite/gcc.dg/vect/pr70354-2.c index 160e1e083e03e0652d06bf29df060192cbe75fd5..cb4cdaae30ba5760fc32e255b651072ca397a499 100644 --- a/gcc/testsuite/gcc.dg/vect/pr70354-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr70354-2.c @@ -29,6 +29,7 @@ main () b[i] = 0x1200000000ULL + (i % 54); } foo (); +#pragma GCC novector for (i = 0; i < 64; i++) if (a[i] != (0x1234ULL << (i % 54))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr71259.c b/gcc/testsuite/gcc.dg/vect/pr71259.c index 587a8e3c8f378f3c57f8a9a2e9fa5aee3a968860..6cb22f622ee2ce2d6de51c440472e36fe7294362 100644 --- a/gcc/testsuite/gcc.dg/vect/pr71259.c +++ b/gcc/testsuite/gcc.dg/vect/pr71259.c @@ -20,6 +20,7 @@ main () asm volatile ("" : : : "memory"); for (i = 0; i < 44; i++) for (j = 0; j < 17; j++) +#pragma GCC novector for (k = 0; k < 2; k++) if (c[i][j][k] != -5105075050047261684) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr78005.c b/gcc/testsuite/gcc.dg/vect/pr78005.c index 7cefe73fe1b3d0050befeb5e25aec169867fd96a..6da7acf50c2a1237b817abf8e6b9191b3c3e1378 100644 --- a/gcc/testsuite/gcc.dg/vect/pr78005.c +++ b/gcc/testsuite/gcc.dg/vect/pr78005.c @@ -22,6 +22,7 @@ foo (int n, int d) #define check_u(x) \ foo (x, 2); \ + _Pragma("GCC novector") \ for (i = 0; i < N; i++) \ { \ if (u[i] != res##x[i]) \ diff --git a/gcc/testsuite/gcc.dg/vect/pr78558.c b/gcc/testsuite/gcc.dg/vect/pr78558.c index 2606d4ec10d3fa18a4c0e4b8e9dd02131cb57ba7..2c28426eb85fc6663625c542e84860fa7bcfd3c2 100644 --- a/gcc/testsuite/gcc.dg/vect/pr78558.c +++ b/gcc/testsuite/gcc.dg/vect/pr78558.c @@ -37,6 +37,7 @@ main () asm volatile ("" : : "g" (s), "g" (d) : "memory"); foo (); asm volatile ("" : : "g" (s), "g" (d) : "memory"); +#pragma GCC novector for (i = 0; i < 50; ++i) if (d[i].q != i || d[i].r != 50 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80815-2.c b/gcc/testsuite/gcc.dg/vect/pr80815-2.c index 83557daa6963632ccf2cf0a641a4106b4dc833f5..3ffff0be3be96df4c3e6a3d5caa68b7d4b6bad9a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80815-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr80815-2.c @@ -38,6 +38,7 @@ int main (void) foo (a, b); +#pragma GCC novector for (i = 973; i < 1020; i++) if (arr[i] != res[i - 973]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80815-3.c b/gcc/testsuite/gcc.dg/vect/pr80815-3.c index 50392ab1a417de2af81af6473bf0a85bd9eb7279..5e2be5262ebb639d4bd771e326f9a07ed2ee0680 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80815-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr80815-3.c @@ -35,6 +35,7 @@ int main (void) foo (a, b, 50); +#pragma GCC novector for (i = 975; i < 1025; i++) if (arr[i] != res[i - 975]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr80928.c b/gcc/testsuite/gcc.dg/vect/pr80928.c index e6c1f1ab5a7f4ca7eac98cf91fccffbff2dcfc7a..34566c4535247d2fa39c5d856d1e0c32687e9a2a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr80928.c +++ b/gcc/testsuite/gcc.dg/vect/pr80928.c @@ -25,6 +25,7 @@ int main () foo (); /* check results */ +#pragma GCC novector for (int i = 0; i < 1020; ++i) if (a[i] != ((i + 4) / 5) * 5) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81410.c b/gcc/testsuite/gcc.dg/vect/pr81410.c index 9c91c08d33c729d8ff26cae72f4651081850b550..6b7586992fe46918aab537a06f166ce2e25f90d8 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81410.c +++ b/gcc/testsuite/gcc.dg/vect/pr81410.c @@ -26,6 +26,7 @@ int main() __asm__ volatile ("" : : : "memory"); } foo (); +#pragma GCC novector for (int i = 0; i < 8; ++i) if (y[2*i] != 3*i || y[2*i+1] != 3*i + 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81633.c b/gcc/testsuite/gcc.dg/vect/pr81633.c index 9689ab3959cd9df8234b89ec307b7cd5d6f9d795..2ad144a60444eb82b8e8575efd8fcec94fcd6f01 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81633.c +++ b/gcc/testsuite/gcc.dg/vect/pr81633.c @@ -24,6 +24,7 @@ int main(void) double A[4][4] = {{0.0}}; kernel(A); for ( int i = 0; i < 4; i++ ) +#pragma GCC novector for ( int j = 0; j < 4; j++ ) if (A[i][j] != expected[i][j]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81740-1.c b/gcc/testsuite/gcc.dg/vect/pr81740-1.c index f6fd43c7c87e0aad951ba092796f0aae39b80d54..b01e1994834934bbd50f3fc1cbcf494ecc62c315 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81740-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr81740-1.c @@ -14,6 +14,7 @@ main () for (c = 0; c <= 6; c++) a[c + 1][b + 2] = a[c][b + 1]; for (i = 0; i < 8; i++) +#pragma GCC novector for (d = 0; d < 10; d++) if (a[i][d] != (i == 3 && d == 6) * 4) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr81740-2.c b/gcc/testsuite/gcc.dg/vect/pr81740-2.c index 1e0d6645a03f77c9c042313fd5377b71ba75c4d6..7b2bfe139f20fb66c90cfd643b65df3edb9b536e 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81740-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr81740-2.c @@ -15,6 +15,7 @@ main () for (c = 6; c >= 0; c--) a[c + 1][b + 2] = a[c][b + 1]; for (i = 0; i < 8; i++) +#pragma GCC novector for (d = 0; d < 10; d++) if (a[i][d] != (i == 3 && d == 6) * 4) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr85586.c b/gcc/testsuite/gcc.dg/vect/pr85586.c index 3d075bfcec83bab119f77bad7b642eb3d634fb4c..a4a170a1fcd130d84da3be9f897889ff4cfc717c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr85586.c +++ b/gcc/testsuite/gcc.dg/vect/pr85586.c @@ -24,6 +24,7 @@ main (void) } foo (out, in, 1); +#pragma GCC novector for (int i = 0; i < N; ++i) if (out[i] != in[i]) __builtin_abort (); @@ -33,6 +34,7 @@ main (void) foo (out + N - 1, in, -1); if (out[0] != in[N - 1]) __builtin_abort (); +#pragma GCC novector for (int i = 1; i <= N; ++i) if (out[i] != 2) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-1.c b/gcc/testsuite/gcc.dg/vect/pr87288-1.c index 0d0a70dff6f21b2f07fecd937d4fe26c0df61513..ec968dfcd0153cdb001e8e282146dbdb67d23c65 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-1.c @@ -16,6 +16,7 @@ run (int *restrict a, int *restrict b, int count) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-2.c b/gcc/testsuite/gcc.dg/vect/pr87288-2.c index e9ff9a0be7c08a9755972717a63025f2825e95cf..03c7f88a6a48507bbbfbf2e177425d28605a3aa6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-2.c @@ -22,6 +22,7 @@ RUN_COUNT (4) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr87288-3.c b/gcc/testsuite/gcc.dg/vect/pr87288-3.c index 23f574ccb53268b59b933ec59a5eadaa890007ff..0475990992e58451de8649b735fa16f0e32ed657 100644 --- a/gcc/testsuite/gcc.dg/vect/pr87288-3.c +++ b/gcc/testsuite/gcc.dg/vect/pr87288-3.c @@ -22,6 +22,7 @@ RUN_COUNT (4) void __attribute__ ((noipa)) check (int *restrict a, int count) { +#pragma GCC novector for (int i = 0; i < count * N + 1; ++i) if (a[i * 2] != i * 41 + count || a[i * 2 + 1] != count) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr88903-1.c b/gcc/testsuite/gcc.dg/vect/pr88903-1.c index 77dbfd47c91be8cce0edde8b09b7b90d40268306..0f78ccc995d5dcd35d5d7ba0f35afdc8bb5a1b2b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr88903-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr88903-1.c @@ -19,6 +19,7 @@ main() for (int i = 0; i < 1024; ++i) x[i] = i; foo (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) if (x[i] != i << ((i/2+1) & 31)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr88903-2.c b/gcc/testsuite/gcc.dg/vect/pr88903-2.c index cd88a99c6045c6a3eb848f053386d22b9cbe46ce..8a1cf9c523632f392d95aa2d6ec8332fa50fec5b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr88903-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr88903-2.c @@ -21,6 +21,7 @@ int main() for (int i = 0; i < 1024; ++i) x[i] = i, y[i] = i % 8; foo (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) if (x[i] != i << ((i & ~1) % 8)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr90018.c b/gcc/testsuite/gcc.dg/vect/pr90018.c index 52640f5aa6f02d6deed3b2790482a2d2d01ddd5b..08ca326f7ebfab1a42813bc121f1e5a46394e983 100644 --- a/gcc/testsuite/gcc.dg/vect/pr90018.c +++ b/gcc/testsuite/gcc.dg/vect/pr90018.c @@ -41,6 +41,7 @@ int main(int argc, char **argv) a42[i*4+n*4+1] = tem4 + a42[i*4+n*4+1]; __asm__ volatile ("": : : "memory"); } +#pragma GCC novector for (int i = 0; i < 4 * n * 3; ++i) if (a4[i] != a42[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr92420.c b/gcc/testsuite/gcc.dg/vect/pr92420.c index e43539fbbd7202b3ae2e9f71bfd82a3fcdf8bde3..e56eb0e12fbec55b16785e244f3a24b889af784d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr92420.c +++ b/gcc/testsuite/gcc.dg/vect/pr92420.c @@ -41,6 +41,7 @@ main () } foo (a, b + N, d, N); bar (a, c, e, N); +#pragma GCC novector for (i = 0; i < N; ++i) if (d[i].r != e[i].r || d[i].i != e[i].i) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr94994.c b/gcc/testsuite/gcc.dg/vect/pr94994.c index e98aeb090d8cbcfc9628052b553b7a7d226069d1..2f598eacd541eafaef02f9aee34fc769dac2a4c6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr94994.c +++ b/gcc/testsuite/gcc.dg/vect/pr94994.c @@ -41,6 +41,7 @@ main (void) for (unsigned int j = 0; j < INPUT_SIZE + MAX_STEP; ++j) x[j] = j + 10; copy (x + i, x, INPUT_SIZE); +#pragma GCC novector for (int j = 0; j < INPUT_SIZE + i; ++j) { int expected; diff --git a/gcc/testsuite/gcc.dg/vect/pr96783-1.c b/gcc/testsuite/gcc.dg/vect/pr96783-1.c index 55d1364f056febd86c49272ede488bd37867dbe8..2de222d2ae6491054b6c7a6cf5891580abf5c6f7 100644 --- a/gcc/testsuite/gcc.dg/vect/pr96783-1.c +++ b/gcc/testsuite/gcc.dg/vect/pr96783-1.c @@ -31,6 +31,7 @@ int main () a[i] = i; foo (a + 3 * 5, 6-1, 5); const long b[3 * 8] = { 0, 1, 2, 21, 22, 23, 18, 19, 20, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }; +#pragma GCC novector for (int i = 0; i < 3 * 8; ++i) if (a[i] != b[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/pr96783-2.c b/gcc/testsuite/gcc.dg/vect/pr96783-2.c index 33c37109e3a8de646edd8339b0c98300bed25b51..bcdcfac072cf564d965edd4be7fbd9b23302e759 100644 --- a/gcc/testsuite/gcc.dg/vect/pr96783-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr96783-2.c @@ -20,6 +20,7 @@ int main() for (int i = 0; i < 1024; ++i) b[i] = i; foo (); +#pragma GCC novector for (int i = 0; i < 256; ++i) if (a[3*i] != 1023 - 3*i - 2 || a[3*i+1] != 1023 - 3*i - 1 diff --git a/gcc/testsuite/gcc.dg/vect/pr97081-2.c b/gcc/testsuite/gcc.dg/vect/pr97081-2.c index 98ad3c3fe17e4556985cb6a0392de72a19911a97..436e897cd2e6a8bb41228cec14480bac88e98952 100644 --- a/gcc/testsuite/gcc.dg/vect/pr97081-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr97081-2.c @@ -24,6 +24,7 @@ main () c[i] = i; } foo (3); +#pragma GCC novector for (int i = 0; i < 1024; i++) if (s[i] != (unsigned short) ((i << 3) | (i >> (__SIZEOF_SHORT__ * __CHAR_BIT__ - 3))) || c[i] != (unsigned char) ((((unsigned char) i) << 3) | (((unsigned char) i) >> (__CHAR_BIT__ - 3)))) diff --git a/gcc/testsuite/gcc.dg/vect/pr97558-2.c b/gcc/testsuite/gcc.dg/vect/pr97558-2.c index 8f0808686fbad0b5b5ec11471fd38f53ebd81bde..5dff065f2e220b1ff31027c271c07c9670b98f9c 100644 --- a/gcc/testsuite/gcc.dg/vect/pr97558-2.c +++ b/gcc/testsuite/gcc.dg/vect/pr97558-2.c @@ -41,6 +41,7 @@ int main (void) foo (N-1); /* check results: */ +#pragma GCC novector for (i=0; ia[i] != a[i] || p->b[i] != b[i]) @@ -55,6 +56,7 @@ int main2 () { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->a[i] != c[i] || p->b[i] != d[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-103.c b/gcc/testsuite/gcc.dg/vect/vect-103.c index d03562f7cddd0890e3e159fbdc7c5d629b54d58c..59d8edc38cacda52e53a5d059171b6eefee9f920 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-103.c +++ b/gcc/testsuite/gcc.dg/vect/vect-103.c @@ -43,6 +43,7 @@ int main1 (int x, int y) { /* check results: */ if (p->a[0] != a[N - 1]) abort (); +#pragma GCC novector for (i = 1; i < N; i++) if (p->a[i] != b[i - 1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-104.c b/gcc/testsuite/gcc.dg/vect/vect-104.c index a77c98735ebad6876c97ee22467f5287b4575a01..e0e5b5a53bdae1e148c61db716f0290bf3e829f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-104.c +++ b/gcc/testsuite/gcc.dg/vect/vect-104.c @@ -43,6 +43,7 @@ int main1 (int x) { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { for (j = 0; j < N; j++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c index 433565bfd4d3cea87abe23de29edbe8823054515..ec7e676439677ae587a67eae15aab34fd5ac5b03 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-105-big-array.c @@ -75,6 +75,7 @@ int main1 (int x) { /* check results: */ for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (p->a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-105.c b/gcc/testsuite/gcc.dg/vect/vect-105.c index 17b6e89d8f69053b5825c859f3ab5c68c49b3a5d..f0823fbe397358cb34bf4654fccce21a053ba2a7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-105.c +++ b/gcc/testsuite/gcc.dg/vect/vect-105.c @@ -45,6 +45,7 @@ int main1 (int x) { /* check results: */ for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (p->a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-106.c b/gcc/testsuite/gcc.dg/vect/vect-106.c index 0171cfcdfa6e60e6cb8158d098d435c0e472abf8..4b3451cc783e9f83f7a6cb8c54cf50f4c43dddc0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-106.c +++ b/gcc/testsuite/gcc.dg/vect/vect-106.c @@ -28,6 +28,7 @@ int main1 () { } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (*q != a[i] || *p != b[i]) @@ -50,6 +51,7 @@ int main1 () { q = q1; p = p1; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (*q != b[i] || *p != a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-107.c b/gcc/testsuite/gcc.dg/vect/vect-107.c index aaab9c00345bf7f0b25fbcda25a141988bda9eac..60c83a99a19f4797bc7a5a175f33aecbc598f8e2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-107.c +++ b/gcc/testsuite/gcc.dg/vect/vect-107.c @@ -24,6 +24,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i] != b[2*i+1] * c[2*i+1] - b[2*i] * c[2*i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-108.c b/gcc/testsuite/gcc.dg/vect/vect-108.c index 4af6326e9c35963ec7109d66dd0d321cf1055597..2cbb6701d5c6df749482d5e4351b9cb4a808b94f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-108.c +++ b/gcc/testsuite/gcc.dg/vect/vect-108.c @@ -21,6 +21,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] * ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-109.c b/gcc/testsuite/gcc.dg/vect/vect-109.c index fe7ea6c420fb1512286b0b468cbe9ffed5daae71..31b9aa2be690fb4f2d9cf8062acbf1b42971098d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-109.c +++ b/gcc/testsuite/gcc.dg/vect/vect-109.c @@ -34,6 +34,7 @@ int main1 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (sa[i+2] != sb[i] + sc[i] || ia[i+1] != ib[i] + ic[i]) @@ -56,6 +57,7 @@ int main2 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (sa[i] != sb[i] + sc[i] || ia[i+1] != ib[i] + ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-11.c b/gcc/testsuite/gcc.dg/vect/vect-11.c index 044fc5edc2dddb0bddaca545b4e97de1499be8bd..1171757e323bc9a64c5e6762e98c101120fc1449 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11.c @@ -22,6 +22,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] * ic[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-110.c b/gcc/testsuite/gcc.dg/vect/vect-110.c index 47c6456107ddd4f326e8c9e783b01c59e23087e6..69ee547cfd17965f334d0d1af6bc28f99ae3a671 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-110.c +++ b/gcc/testsuite/gcc.dg/vect/vect-110.c @@ -20,6 +20,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N - 1; i++){ if (a[i] != b[i] + c[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-113.c b/gcc/testsuite/gcc.dg/vect/vect-113.c index a9d45ce9fcc21195030dfcdf773ffc3a41e48a37..8e9cc545ce6b3204b5c9f4a220e12d0068aa4f3e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-113.c +++ b/gcc/testsuite/gcc.dg/vect/vect-113.c @@ -17,6 +17,7 @@ main1 (void) a[i] = i; } +#pragma GCC novector for ( i = 0; i < N; i++) { if (a[i] != i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-114.c b/gcc/testsuite/gcc.dg/vect/vect-114.c index 557b44110a095ae725b58cf1ca2494a103b96dd7..1617d3009eb3fdf0bb16980feb0f54d2862b8f3c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-114.c +++ b/gcc/testsuite/gcc.dg/vect/vect-114.c @@ -19,6 +19,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i strc_s.c[i] != a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-116.c b/gcc/testsuite/gcc.dg/vect/vect-116.c index d4aa069772ed76f895f99c91609852bdcc43d324..ac603db44ee2601665c1de4bb60aee95f545c8ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-116.c +++ b/gcc/testsuite/gcc.dg/vect/vect-116.c @@ -18,6 +18,7 @@ void foo() for (i = 0; i < 256; ++i) C[i] = A[i] * B[i]; +#pragma GCC novector for (i = 0; i < 256; ++i) if (C[i] != (unsigned char)(i * i)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-117.c b/gcc/testsuite/gcc.dg/vect/vect-117.c index 22f8e01187272e2cfe445c66ca590f77923d4e95..f2c1c5857059a9bcaafad4ceadff02e192209840 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-117.c +++ b/gcc/testsuite/gcc.dg/vect/vect-117.c @@ -47,6 +47,7 @@ int main (void) for (i = 0; i < N; i++) { +#pragma GCC novector for (j = 0; j < N; j++) { if (a[i][j] != c[i][j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-11a.c b/gcc/testsuite/gcc.dg/vect/vect-11a.c index 4f1e15e74293187d495c8c11cda333a1af1139a6..9d93a2e8951f61b34079f6d867abfaf0fccbb8fc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11a.c @@ -21,6 +21,7 @@ void u () for (i=0; i<8; i++) C[i] = A[i] * B[i]; +#pragma GCC novector for (i=0; i<8; i++) if (C[i] != Answer[i]) abort (); @@ -41,6 +42,7 @@ void s() for (i=0; i<8; i++) F[i] = D[i] * E[i]; +#pragma GCC novector for (i=0; i<8; i++) if (F[i] != Dnswer[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-12.c b/gcc/testsuite/gcc.dg/vect/vect-12.c index b095170f008c719326a6cfd5820a7926ae8c722e..096ff10f53c9a4d7e0d3a8bbe4d8ef513a82c46c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-12.c @@ -24,6 +24,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != ib[i] + ic[i] || sa[i] != sb[i] + sc[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-122.c b/gcc/testsuite/gcc.dg/vect/vect-122.c index 04dae679647ff9831224b6dc200a25b2b1bb28d7..6e7a4c1578f4c4cddf43a81e3e4bc6ab87efa3ca 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-122.c +++ b/gcc/testsuite/gcc.dg/vect/vect-122.c @@ -50,6 +50,7 @@ main () f2 (); f3 (); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i || b[i] != i || l[i] != i * (i + 7LL) || m[i] != i * 7LL) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-124.c b/gcc/testsuite/gcc.dg/vect/vect-124.c index c720648aaddbe72d0073fcf7548408ce6bda3cdd..6b6730a22bdb62e0f8770b4a288aa1adeff756c2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-124.c +++ b/gcc/testsuite/gcc.dg/vect/vect-124.c @@ -21,6 +21,7 @@ main () check_vect (); foo (6); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 3 + 6) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-13.c b/gcc/testsuite/gcc.dg/vect/vect-13.c index 5d902924ec20e2ea0ee29418a1b52d4e2ede728e..f1e99a3ec02487cd331e171c6e42496924e931a2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-13.c +++ b/gcc/testsuite/gcc.dg/vect/vect-13.c @@ -22,6 +22,7 @@ int main1() } /* Check results */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != results[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-14.c b/gcc/testsuite/gcc.dg/vect/vect-14.c index 1640220a134ed8962e31b9d201c0e4a8630d631f..5898d4cd8924a5a6036f38efa79bc4146a78320d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-14.c @@ -17,6 +17,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c index 5313eae598b4787e5294eefe87bf59f5a3581657..bc2689fce50cebf55720bfc9f60bd7c0dd9659dc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-15-big-array.c @@ -25,6 +25,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i y[i] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-89.c b/gcc/testsuite/gcc.dg/vect/vect-89.c index 356ab96d330046c553364a585e770653609e5cfe..6e7c875c01e2313ba362506542f6018534bfb443 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-89.c +++ b/gcc/testsuite/gcc.dg/vect/vect-89.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->y[i] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-9.c b/gcc/testsuite/gcc.dg/vect/vect-9.c index 87600fb5df0d104daf4438e6a7a020e08c277502..dcecef729a60bf22741407e3470e238840ef6def 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-9.c @@ -20,6 +20,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) sb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-92.c b/gcc/testsuite/gcc.dg/vect/vect-92.c index 9ceb0fbadcd61ec9a5c3682cf3582abf464ce106..86864126951ccd8392cc7f7e87642be23084d5ea 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-92.c +++ b/gcc/testsuite/gcc.dg/vect/vect-92.c @@ -36,6 +36,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < 10; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) @@ -56,6 +57,7 @@ main2 () } /* check results: */ +#pragma GCC novector for (i = 0; i < 12; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) @@ -76,6 +78,7 @@ main3 (int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (pa[i+1] != (pb[i+1] * pc[i+1])) diff --git a/gcc/testsuite/gcc.dg/vect/vect-93.c b/gcc/testsuite/gcc.dg/vect/vect-93.c index c3e12783b2c47a4e296fd47cc9dc8e73b7ccebb0..b4ccbeedd08fe1285dc362b28cb6d975c6313137 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-93.c +++ b/gcc/testsuite/gcc.dg/vect/vect-93.c @@ -23,6 +23,7 @@ main1 (float *pa) } /* check results: */ +#pragma GCC novector for (i = 0; i < N1; i++) { if (pa[i] != 2.0) @@ -36,6 +37,7 @@ main1 (float *pa) } /* check results: */ +#pragma GCC novector for (i = 1; i <= N2; i++) { if (pa[i] != 3.0) @@ -60,6 +62,7 @@ int main (void) for (i = 1; i <= 256; i++) a[i] = b[i-1]; /* check results: */ +#pragma GCC novector for (i = 1; i <= 256; i++) { if (a[i] != i-1) diff --git a/gcc/testsuite/gcc.dg/vect/vect-95.c b/gcc/testsuite/gcc.dg/vect/vect-95.c index 1e8bc1e7240ded152ea81f60addab9f7179d3bfc..cfca253e810ff1caf2ef2eef0d7bafc39896ea3e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-95.c +++ b/gcc/testsuite/gcc.dg/vect/vect-95.c @@ -11,6 +11,7 @@ void bar (float *pd, float *pa, float *pb, float *pc) int i; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pa[i] != (pb[i] * pc[i])) diff --git a/gcc/testsuite/gcc.dg/vect/vect-96.c b/gcc/testsuite/gcc.dg/vect/vect-96.c index c0d6c37b21db23b175de895a582f48b302255e9f..e36196b50d7527f88a88b4f12bebbe780fe23f08 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-96.c +++ b/gcc/testsuite/gcc.dg/vect/vect-96.c @@ -28,7 +28,8 @@ int main1 (int off) for (i = 0; i < N; i++) pp->ia[i] = ib[i]; - /* check results: */ + /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (pp->ia[i] != ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c index 977a9d57ed4795718722c83344c2efd761e6783e..e015c1684ad856a4732084fbe49783aaeac31e58 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-97-big-array.c @@ -32,6 +32,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -48,6 +49,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-97.c b/gcc/testsuite/gcc.dg/vect/vect-97.c index 734ba3b6ca36cf56d810a1ce4329f9cb1862dede..e5af7462ef89e7f47b2ca822f563401b7bd95e2c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-97.c +++ b/gcc/testsuite/gcc.dg/vect/vect-97.c @@ -27,6 +27,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != cb[i]) @@ -43,6 +44,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (s.p[i] != s.q[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c index 61b749d4669386a890f5c2f5ba83d6e00d269b4f..2d4435d22e476de5b40c6245f26209bff824139c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-98-big-array.c @@ -22,6 +22,7 @@ int main1 (int ia[][N]) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ic[0][i] != DOT16 (ia[i], ib)) diff --git a/gcc/testsuite/gcc.dg/vect/vect-98.c b/gcc/testsuite/gcc.dg/vect/vect-98.c index 2055cce70b20b96dd69d06775e3d6deb9f27e3b2..72a1f37290358b6a89db6c89aada2c1650d2e7a5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-98.c +++ b/gcc/testsuite/gcc.dg/vect/vect-98.c @@ -19,7 +19,8 @@ int main1 (int ia[][N]) ic[0][i] = DOT4 (ia[i], ib); } - /* check results: */ + /* check results: */ +#pragma GCC novector for (i = 0; i < M; i++) { if (ic[0][i] != DOT4 (ia[i], ib)) diff --git a/gcc/testsuite/gcc.dg/vect/vect-99.c b/gcc/testsuite/gcc.dg/vect/vect-99.c index ae23b3afbd1d42221f6fe876f23ee7b9beaebca3..0ef9051d907209e025a8fee057d04266ee2fcb03 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-99.c +++ b/gcc/testsuite/gcc.dg/vect/vect-99.c @@ -21,6 +21,7 @@ int main (void) foo(100); +#pragma GCC novector for (i = 0; i < 100; ++i) { if (ca[i] != 2) abort(); diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c index b6cc309dbe87b088c9969e07dea03c7f6b5993dd..8fd3bf407e9db3d188b897112ab1e41b381ae3c5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-10.c @@ -45,6 +45,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = -M; j <= M; ++j) \ { \ TYPE a[N * M], b[N * M]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c index 09a4ebfa69e867869adca3bb5daece02fcee93da..5ecdc3250708e99c30e790da84b002b99a8d7e9b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-11.c @@ -51,6 +51,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = -M; j <= M; ++j) \ { \ TYPE a1[N * M], a2[N * M], b1[N], b2[N]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c index 63a897f4bad4894a6ec4b2ff8749eed3f9e33782..23690c45b65a1b95bf88d50f80d021d5c481d5f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-12.c @@ -52,6 +52,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int j = 0; j <= M; ++j) \ { \ TYPE a1[N * M], a2[N * M], b1[N], b2[N]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c index 29bc571642db8858d3e4ca1027131a1a6559c4c1..b36ad116762e2e3c90ccd79fc4f8564cc57fc3f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-14.c @@ -39,6 +39,7 @@ typedef unsigned long long ull; for (int i = 0; i < N + M; ++i) \ a[i] = TEST_VALUE (i); \ test_##TYPE (a + j, a); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; i += 2) \ { \ TYPE base1 = j == 0 ? TEST_VALUE (i) : a[i]; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c index ad74496a6913dcf57ee4573ef1589263a32b074c..f7545e79d935f1d05641415246aabc2dbe9b7d27 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-15.c @@ -33,6 +33,7 @@ typedef unsigned long long ull; { \ TYPE a[N + DIST * 2] = {}; \ test_##TYPE (a + DIST, a + i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected = 0; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c index 8a9a6fffde1d39f138c5f54221854e73cef89079..d90adc70e28420e5e8fd0e36c15316da12224b38 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-16.c @@ -33,12 +33,14 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ TYPE a[N + DIST * 2]; \ for (int j = 0; j < N + DIST * 2; ++j) \ a[j] = TEST_VALUE (j); \ TYPE res = test_##TYPE (a + DIST, a + i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N; ++j) \ if (a[j + DIST] != (TYPE) j) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c index b9f5d2bbc9f6437e3e8058264cc0c9aaa522b3e2..3b576a4dc432725c67b4e7f31d2bc5937bc34b7a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-18.c @@ -34,6 +34,7 @@ typedef unsigned long long ull; for (int j = 0; j < N + DIST * 2; ++j) \ a_##TYPE[j] = TEST_VALUE (j); \ test_##TYPE (i + N - 1, DIST + N - 1); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c index 7c0ff36a8c43f11197de413cb682bcd0a3afcae8..36771b04ed5cc0d6c14c0fe1a0e9fd49db4265c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-19.c @@ -34,6 +34,7 @@ typedef unsigned long long ull; { \ __builtin_memset (a_##TYPE, 0, sizeof (a_##TYPE)); \ test_##TYPE (DIST, i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N + DIST * 2; ++j) \ { \ TYPE expected = 0; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c index 8a699ebfda8bfffdafc5e5f09d137bb0c7e78beb..9658f8ce38e8efb8d19806a4078e1dc4fe57d2ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-20.c @@ -34,11 +34,13 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ for (int j = 0; j < N + DIST * 2; ++j) \ a_##TYPE[j] = TEST_VALUE (j); \ TYPE res = test_##TYPE (DIST, i); \ + _Pragma("GCC novector") \ for (int j = 0; j < N; ++j) \ if (a_##TYPE[j + DIST] != (TYPE) j) \ __builtin_abort (); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c index 7e5df1389991da8115df2c6784b52ff3e15f8124..3bc78bed676d8267f7512b71849a7d33cb4ab05b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-8.c @@ -29,6 +29,7 @@ typedef unsigned long long ull; } #define DO_TEST(TYPE) \ + _Pragma("GCC novector") \ for (int i = 0; i < DIST * 2; ++i) \ { \ for (int j = 0; j < N + DIST * 2; ++j) \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c index a7fc1fcebbb2679fbe6a98c6fa340edcde492ba9..c11c1d13e0ba253b00afb02306aeec786cee1161 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-9.c @@ -37,6 +37,7 @@ typedef unsigned long long ull; for (int i = 0; i < N + M; ++i) \ a[i] = TEST_VALUE (i); \ test_##TYPE (a + j, a); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; i += 2) \ if (a[i + j] != (TYPE) (a[i] + 2) \ || a[i + j + 1] != (TYPE) (a[i + 1] + 3)) \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-1.c b/gcc/testsuite/gcc.dg/vect/vect-align-1.c index d56898c4d23406b4c8cc53fa1409974b6ab05485..9630fc0738cdf4aa5db67effdd5eb47de4459f6f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-1.c @@ -28,6 +28,7 @@ main1 (struct foo * __restrict__ p) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (p->y[i] != x[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-2.c b/gcc/testsuite/gcc.dg/vect/vect-align-2.c index 39708648703357e9360e0b63ca7070c4c21def03..98759c155d683475545dc20cae23d54c19bd8aed 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-2.c @@ -26,6 +26,7 @@ void fbar(struct foo *fp) f2.y[i][j] = z[i]; for (i=0; i> 1)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-11.c b/gcc/testsuite/gcc.dg/vect/vect-avg-11.c index 85292f1b82416b70698619e284ae76f3a3d9410d..0046f8ceb4e7b2688059073645175b8845246346 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-11.c @@ -43,6 +43,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (((((BASE1 + i * 5) ^ 0x55) + (BASE2 + i * 4) diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-15.c b/gcc/testsuite/gcc.dg/vect/vect-avg-15.c index 48d7ed773000486c42277535cebe34f101e035ef..57b6670cb98cdf92e60dd6c7154b4a8012b05a1e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-15.c @@ -37,6 +37,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, N / 20, 20); +#pragma GCC novector for (int i = 0; i < N; ++i) { int d = (BASE1 + BASE2 + i * 5) >> 1; diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-16.c b/gcc/testsuite/gcc.dg/vect/vect-avg-16.c index f3e3839a879b6646aba6237e55e2dcd943eac168..319edba1fa3c04b6b74b343cf5397277a36dd6d1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-16.c @@ -37,6 +37,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, N / 20); +#pragma GCC novector for (int i = 0; i < N; ++i) { int d = (BASE1 + BASE2 + i * 5) >> 1; diff --git a/gcc/testsuite/gcc.dg/vect/vect-avg-5.c b/gcc/testsuite/gcc.dg/vect/vect-avg-5.c index 6c43575f448325e84975999c2e8aa91afb525f87..6bdaeff0d5ab4c55bb5cba1df51a85c4525be6fb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-avg-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-avg-5.c @@ -39,6 +39,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != ((BASE1 + BASE2 + i * 9 + BIAS) >> 1)) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c index 19683d277b1ade1034496136f1d03bb2b446900f..22e6235301417d72e1f85ecbdd96d8e498500991 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-1.c @@ -19,6 +19,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].i != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c index 1a101357ccc9e1b8bb157793eb3f709e99330bf6..0c8291c9363d0de4c09f81525015b7b88004bc94 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c @@ -23,6 +23,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c index 5dc679627d52e2ad229d0920e5ad8087a71281fe..46fcb02b2f1b6bb2689a6b709901584605cc9a45 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c @@ -24,6 +24,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c index fae6ea3557dcaba7b330ebdaa471281d33d2ba15..5a7227a93e4665cd10ee564c8b15165dc6cef303 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-4.c @@ -22,6 +22,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c index 99360c2967b076212c67eb4f34b8fd91711d8821..e0b36e411a4a72335d4043f0f360c2e88b667397 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-5.c @@ -22,6 +22,7 @@ f(struct s *ptr, unsigned n) { void __attribute__ ((noipa)) check_f(struct s *ptr) { +#pragma GCC novector for (unsigned i = 0; i < N; ++i) if (ptr[i].a != V) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c b/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c index c97da5289141d35a9f7ca220ae62aa82338fa7f5..a1be71167025c960fc2304878c1ed15d90484dfb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c @@ -183,6 +183,7 @@ check (int *p, cmp_fn fn) { int i; +#pragma GCC novector for (i = 0; i < 32; i++) { int t1 = ((i % 4) > 1) == 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap16.c b/gcc/testsuite/gcc.dg/vect/vect-bswap16.c index d29b352b832a67e89e7cb3856634390244369daa..7d2cb297738378863ddf78b916036b0998d28e6f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap16.c @@ -30,6 +30,7 @@ main (void) vfoo16 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap32.c b/gcc/testsuite/gcc.dg/vect/vect-bswap32.c index 88d88b5f034153cb736391e4fc46a9b786ec28c5..1139754bbf1b8f7ef7a5a86f5621c9fe319dec08 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap32.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap32.c @@ -30,6 +30,7 @@ main (void) vfoo32 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-bswap64.c b/gcc/testsuite/gcc.dg/vect/vect-bswap64.c index fd15d713c5d63db335e61c892c670b06ee9da25f..38d598eba33019bfb7c50dc2f0d5b7fec3a4736c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bswap64.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bswap64.c @@ -30,6 +30,7 @@ main (void) vfoo64 (arr); +#pragma GCC novector for (i = 0; i < N; ++i) { if (arr[i] != expect[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-1.c b/gcc/testsuite/gcc.dg/vect/vect-complex-1.c index 2a87e2feadeba7f1eaef3cce72e27a7d0ffafb5f..b3a02fe9c6d840e79764cb6469a86cfce315a337 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-1.c @@ -43,6 +43,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != res[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-2.c b/gcc/testsuite/gcc.dg/vect/vect-complex-2.c index 19b24e1eb87feacc8f7b90fb067124007e22c90f..7bbfdd95b5c46f83f24263e33bf5e3d2ecee0a4d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-2.c @@ -43,6 +43,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != res[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-complex-4.c b/gcc/testsuite/gcc.dg/vect/vect-complex-4.c index 49cfdbe1738794c3bf873c330fff4d7f4626e10b..d5e50cc15df66501fe1aa1618f04ff293908469a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-complex-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-complex-4.c @@ -92,6 +92,7 @@ main (void) foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (c[i].f1 != res[i].f1) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-1.c b/gcc/testsuite/gcc.dg/vect/vect-cond-1.c index 261d828dbb2855fe680b396d3fcbf094e814b6fd..e438cbb67e196a5b3e5e2e2769efc791b0c2d6b7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-1.c @@ -43,6 +43,7 @@ int main (void) foo (); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out[j] != check_result[j]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-10.c b/gcc/testsuite/gcc.dg/vect/vect-cond-10.c index b2f97d735ef7d94a80a67265b4535a1e228e20ca..dbbe4877db41c43d5be5e3f35cb275b96322c9bc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-10.c @@ -120,41 +120,49 @@ main () } } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f5 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f6 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f7 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, 0, sizeof (k)); f8 (k); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-11.c b/gcc/testsuite/gcc.dg/vect/vect-cond-11.c index f28af658f331849a0c5103ba96dd2e3b60de428d..38f1f8f50901c3039d0e7cb17d1bd47b18b89c71 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-11.c @@ -79,13 +79,16 @@ baz (unsigned int *a, unsigned int *b, } if (fn (a, b) != -512U - (N - 32) * 16U + 32 * 127U) __builtin_abort (); +#pragma GCC novector for (i = -64; i < 0; i++) if (a[i] != 19 || b[i] != 17) __builtin_abort (); +#pragma GCC novector for (; i < N; i++) if (a[i] != (i - 512U < 32U ? i - 512U + 127 : i - 512U - 16) || b[i] != (i - 512U < 32U ? i * 2U : i + 1U)) __builtin_abort (); +#pragma GCC novector for (; i < N + 64; i++) if (a[i] != 27 || b[i] != 19) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-3.c b/gcc/testsuite/gcc.dg/vect/vect-cond-3.c index 8a66b4b52ed8a98dd52ef945afb3822de8fe37e9..1521fedd1b5b9d6f3021a1e5653f9ed8df0610b2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-3.c @@ -50,6 +50,7 @@ int main (void) foo (); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out_a[j] != check_result_a[j] || x_out_b[j] != check_result_b[j]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-4.c b/gcc/testsuite/gcc.dg/vect/vect-cond-4.c index 2a6577c6db33a49c7fac809f67b7e957c0b707c2..4057d14c702c22ef41f504a8d3714a871866f04f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-4.c @@ -47,6 +47,7 @@ int main (void) foo (125); +#pragma GCC novector for (j = 0; j < M; j++) if (x_out_a[j] != 125 || x_out_b[j] != 5) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c index 41e57f9235b90347e7842d88c9710ee682ea4bd4..f10feab71df6daa76966f8d6bc3a4deba8a7b56a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c @@ -46,6 +46,7 @@ int main () foo(5); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-6.c b/gcc/testsuite/gcc.dg/vect/vect-cond-6.c index 65fdc4a9ef195f7210b08289242e74cda1db4831..a46479a07eb105f5b2635f3d5848e882efd8aabf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-6.c @@ -47,6 +47,7 @@ int main () foo(125); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != 33) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-7.c b/gcc/testsuite/gcc.dg/vect/vect-cond-7.c index bd2947516584bf0039d91589422acefd0d27cc35..ea11693ff21798e9e792cfc43aca3c59853e84a0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-7.c @@ -53,6 +53,7 @@ main () #undef F #define F(var) f##var (); TESTS +#pragma GCC novector for (i = 0; i < 64; i++) { asm volatile ("" : : : "memory"); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-8.c b/gcc/testsuite/gcc.dg/vect/vect-cond-8.c index d888442aa456e7520cf57e4a07c0938849758068..88289018b9be7d20edd9c7d898bb51d947ed7806 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-8.c @@ -79,18 +79,22 @@ main () e[i] = 2 * i; } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 17 : 0)) abort (); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 0 : 24)) abort (); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 ? 51 : 12)) abort (); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (f[i] != ((i % 3) == 0 ? d[i] : e[i])) abort (); @@ -112,6 +116,7 @@ main () b[i] = i / 2; } f5 (); +#pragma GCC novector for (i = 0; i < N; i++) if (c[i] != ((i % 3) == 0 ? a[i] : b[i])) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-9.c b/gcc/testsuite/gcc.dg/vect/vect-cond-9.c index 63eee1b47296d8c422b4ff899e5840ca4d4f59f5..87febca10e7049cb0f4547a13d27f533011d44bc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-9.c @@ -145,51 +145,61 @@ main () } } f1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f3 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f4 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f5 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f6 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f7 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f8 (); +#pragma GCC novector for (i = 0; i < N; i++) if (j[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (j, -6, sizeof (j)); f9 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); __builtin_memset (k, -6, sizeof (k)); f10 (); +#pragma GCC novector for (i = 0; i < N; i++) if (k[i] != ((i % 3) == 0 || ((i / 9) % 3) == 0)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c index d52e81e9109cc4d81de84adf370b2322799c8c27..5138712731f245eb1f17ef2e9e02e333c8e214de 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-1.c @@ -23,6 +23,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c index f02b0dc5d3a11e3cfa8a23536f570ecb04a039fd..11a680061c21fb7da69739892b79ff37d1599027 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-3.c @@ -24,6 +24,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c index 55a174a7ec1fa42c40d4359e882ca475a4feaca3..1af0fe642a0f6a186a225e7619bff130bd09246f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-4.c @@ -20,6 +20,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c index d2eadc4e9454eba204b94532ee3b002692969ddb..ec3d9db42021c0f1273bf5fa37bd24fa77c1f183 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-5.c @@ -21,6 +21,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c index cc70b8a54c44fbc1d20aa9c2599b9a37d9fc135b..2aeebd44f835ee99f110629ded9572b338d6fb50 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-6.c @@ -23,6 +23,7 @@ #define TEST(OP) \ { \ f_##OP (a, b, 10); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ int bval = (i % 17) * 10; \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c index 739b98f59aece34b73ed4762c2eeda2512834539..9d20f977884213a6b4580b90e1a187161cf5c945 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-arith-7.c @@ -22,6 +22,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c b/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c index e6ad865303c42c9d5958cb6e7eac6a766752902b..faeccca865f63bc55ee1a8b412a5e738115811e9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c @@ -73,6 +73,7 @@ main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) { if (out[i].a != result[2*i] || out[i].b != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c b/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c index 95efe7ad62eac1f66b85ffdc359fd60bd7465cfd..f3b7db076e6b223fcf8b341f41be636e10cc952a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cselim-2.c @@ -55,6 +55,7 @@ main (void) foo (a, b); +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != result[2*i] || b[i] != result[2*i+1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c index c81f8946922250234bf759e0a0a04ea8c1f73e3c..f02f98faf2fad408f7d7e65a09c678f242aa32eb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-4.c @@ -16,6 +16,7 @@ int main (void) { V v = foo ((V) { 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff }, 0xffff); +#pragma GCC novector for (unsigned i = 0; i < sizeof (v) / sizeof (v[0]); i++) if (v[i] != 0x00010001) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c index b4eb1a4dacba481e6306b49914d2a29b933de625..80293e50bbc6bbae90cac0fcf436c790b3215c0e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask-5.c @@ -44,6 +44,7 @@ int main () fun1 (a, N / 2, N); fun2 (b, N / 2, N); +#pragma GCC novector for (int i = 0; i < N; ++i) { if (DEBUG) diff --git a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h index 29a16739aa4b706616367bfd1832f28ebd07993e..bfdc730fe5f7b38117854cffbf2e450dad7c3b5a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h +++ b/gcc/testsuite/gcc.dg/vect/vect-div-bitmask.h @@ -30,6 +30,7 @@ int main () fun1 (a, N / 2, N); fun2 (b, N / 2, N); +#pragma GCC novector for (int i = 0; i < N; ++i) { if (DEBUG) diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c index 6abf76392c8df94765c63c248fbd7045dc24aab1..6456b3aad8666888fe15061b2be98047c28ffed2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-1.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c index 4bfd1630c4e9927d89bf23ddc90716e0cc249813..d5613e55eb20731070eabeee8fe49c9e61d8be50 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-2.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c index 3bdf9efe9472342359b64d51ef308a4d4f8f9a79..239ddb0b444163803c310e4e9910cfe4e4c44be7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-3.c @@ -48,12 +48,14 @@ int main () foo(0, 0); +#pragma GCC novector for (k = 0; k < K; k++) if (out_max[k] != check_max[k] || out_min[k] != 0) abort (); foo(100, 45); +#pragma GCC novector for (k = 0; k < K; k++) if (out_min[k] != check_min[k] || out_max[k] != 100) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c index e5937705400c7c015513abc513a8629c6d66d140..5344c80741091e4e69b41ce056b9541b75215df2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-4.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c index 079704cee81cc17b882b476c42cbeee0280369cf..7465eae1c4762d39c14048077cd4786ffb8e4848 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-5.c @@ -43,6 +43,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c index 1d9dcdab5e9c09514a8427cd65c419e74962c9de..a032e33993970e65e9e8a90cca4d23a9ff97f1e8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6-big-array.c @@ -49,6 +49,7 @@ int main () foo (); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c index 85aec1bf609582988f06826afb6b7ce77d6d83de..d1d1faf7c3add6ce2c3378d4d094bf0fc2aba046 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c @@ -38,6 +38,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c index c3145a2ad029f92e96995f59e9be9823e016ec11..1ef7a2d19c8b6ee96280aee0e9d69b441b597a89 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-double-reduc-7.c @@ -52,6 +52,7 @@ int main () foo(); +#pragma GCC novector for (k = 0; k < K; k++) if (out[k] != check_result[k]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c index 76b436948c185ca73e21203ef68b0a9d4da03408..603f48167d10fe41143f329cd50ca7f6c8e9a154 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c @@ -21,6 +21,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (da[i] != (double) fb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c index 8b82c82f1cdd1078898847c31c6c06371f4232f6..9f404f0e36e10ebf61b44e95d6771d26a25faea8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c @@ -20,6 +20,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) db[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c index fc5081b7e8e143893009b60147d667855efa12ad..f80da6a7ca7f0de224d88860a48f24b4fd8c2ad8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c @@ -20,6 +20,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) fb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c index 64fab3876310d60ca016b78938e449201c80997d..dc038857a42813e665591c10eb3ab7f744d691ad 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c @@ -19,6 +19,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (ia[i] != (int) db[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-fma-1.c b/gcc/testsuite/gcc.dg/vect/vect-fma-1.c index 6b6b4f726e9476ac6a90984e15fdd0839dff8885..27d206d9fa0601812b09a3ead2ee9730623e97e4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-fma-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-fma-1.c @@ -22,6 +22,7 @@ #define TEST(INV) \ { \ f_##INV (a, b, c, d); \ + _Pragma("GCC novector") \ for (int i = 0; i < N; ++i) \ { \ double mb = (INV & 1 ? -b[i] : b[i]); \ diff --git a/gcc/testsuite/gcc.dg/vect/vect-gather-1.c b/gcc/testsuite/gcc.dg/vect/vect-gather-1.c index 4cee73fc7752681c2f677d3e6fddf7daf6e183eb..e3bbf5c0bf8db8cb258d8d05591c246d80c5e755 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-gather-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-gather-1.c @@ -50,6 +50,7 @@ main (void) check_vect (); f (y, x, indices); +#pragma GCC novector for (int i = 0; i < 32; ++i) if (y[i] != expected[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-gather-3.c b/gcc/testsuite/gcc.dg/vect/vect-gather-3.c index 738bd3f3106948754e38ffa93fec5097560511d3..adfef3bf407fb46ef7a2ad01c495e44456b37b7b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-gather-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-gather-3.c @@ -54,6 +54,7 @@ main (void) check_vect (); f (y, x, indices); +#pragma GCC novector for (int i = 0; i < 32; ++i) if (y[i] != expected[i]) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c index 7e323693087598942f57aa8b7cf3686dde4a52c9..04d5fd07723e851442e1dc496fdf004d9196caa2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c @@ -26,6 +26,7 @@ int main () check_vect (); foo (); /* check results: */ +#pragma GCC novector for (int i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c index 56a8e01993d1a0701998e377fb7fac4fa2119aed..0f752b716ca811de093373cce75d948923386653 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-16.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] != MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c index 962be1c0230cca6bef2c097b35833ddd6c270875..8b028d7f75f1de1c8d10376e4f0ce14b60dffc70 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-17.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] == MAX ? 0 : MAX); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c index 6406875951bd52c3a5c3691eb2bc062e5525a4a1..10145d049083b541c95b813f2fd12d3d62041f53 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] >= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c index d55440c9fa421719cb03a30baac5d58ca1ac2fb6..4964343c0ac80abf707fe11cacf473232689123e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] > MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c index 5cef85175131bd6b2e08d7801966f5526ededf8e..63f53a4c4eef6e1397d67c7ce5570dfec3160e83 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] <= MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c index 3118e2d5a5536e175838284d367a8f2eedf8eb86..38b014336482dc22ecedaed81b79f8e7d5913d1e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] < MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c index 272fde09429b6a46ee4a081b49736613136cc328..56e0f71bc799d16725e589a53c99abebe5dca40a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] != MAX ? MAX : 0); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c index c0c7a3cdb2baafa5702a7fcf80b7198175ecc4f2..879d88a5ce9239bf872cc0ee1b4eb921b95235d0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c @@ -22,6 +22,7 @@ int main () A[i] = ( A[i] == MAX ? 0 : MAX); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c index e6446a765c0298857f71b80ffcaefdf77e4f5ce3..bbeccae0f228ad3fc7478c879ae4a741ae6fe7a3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c @@ -27,6 +27,7 @@ int main () check_vect (); foo (); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c index bef3efa5658ae6d91010d286967e319906f9aeb5..f75c0f5a1a6645fdee6a8a04ffc55bd67cb7ac43 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c index 666ee34a4a753ff1d0e33012d95a77496f1986fa..32df21fb52a0b9f16aff7340eee21e76e832cceb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (float_arr[i] != (float) int_arr[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c index 78fc3da481c6693611b45d3939fe03d23e84f8f7..db33a84b54d70c9355079adf2ee163c904c68e57 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (da[i] != (double) ib[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c index af8fe89a7b02b555acc64b578a07c735f5ef45eb..6fc23bb4621eea594a0e70347a8007a85fb53db8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) sb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c index 49c83182026b91c7b52667fec7a44554e3aff638..b570db5dc96db9c6e95b0e4dbebe1dae19c5ba7c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c @@ -19,6 +19,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (fa[i] != (float) usb[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c index 90163c440d34bcd70a7024b83f70abb7b83f8077..e6dcf29ebe0d2b2dc6695e754c4a1043f743dd58 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c @@ -22,6 +22,7 @@ __attribute__ ((noinline)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-10.c b/gcc/testsuite/gcc.dg/vect/vect-iv-10.c index 195474b56441bee9b20f373a6aa991610a551e10..83bc7805c3de27ef3dd697d593ee86c1662e742c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-10.c @@ -17,6 +17,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (j=0,i=N; j0; i--,j++) { if (ia[j] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c index 73e30ee9bac6857b545242136d9c1408f6bfe60e..d85bb3436b2e0abcc4d0d0a7b480f4f267b4898c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c index f8ca94dd17db81d8be824dfb2f023517f05d7c04..c0738ebc469f1780eb8ce90e89caa222df0e1fba 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c @@ -24,6 +24,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i || arr2[i] != 5 + 2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c index dfe5bc14458c856122f48bd6bc6a50092d7729e1..2dd8ae30513260c858504f8dc0e8c7b6fd3ea59b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c @@ -24,6 +24,7 @@ __attribute__ ((noinline)) int main1 () } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i] != 2+2*i || arr2[i] != 5 + 2*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c index 2015385fbf5fac1349124dd35d57b26c49af6346..c3c4735f03432f9be07ed2fb14c94234ee8f4e52 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c @@ -20,6 +20,7 @@ __attribute__ ((noinline)) int main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != 1.0 + 2.0*i) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c index ccd7458a98f1d3833b19c838a27e9f582631e89c..4c9d9f19b45825a210ea3fa26160a306facdfea5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c @@ -28,6 +28,7 @@ __attribute__ ((noinline)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr1[i+1] != X+6*i+2 diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c index 24b59fe55c498bf21d107bef72bdc93690229c20..f6d93360d8dda6f9380425b5518ea5904f938322 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c @@ -22,6 +22,7 @@ __attribute__ ((noinline, noclone)) int main1 (int X) } while (i < N); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (arr[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c index 45d82c65e2f85b7b470a22748dacc78a63c3bd3e..26e8c499ce50cc91116c558a2425a47ebe21cdf7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8-big-array.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (unsigned char)myX || b[i] != myX || c[i] != (unsigned int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c index dd37d250e91c3839c21fb3c22dc895be367cdcec..b4bb29d88003d2bbc0e90377351cb46d1ff72b55 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (unsigned char)myX || b[i] != myX || c[i] != (unsigned int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c index 63b6b6e893f7a55a56aef89331610fd76d2c1c42..dceae27bbbee36a13af8055785dd4258b03e3dba 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8a-big-array.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (signed char)myX || b[i] != myX || c[i] != (int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c index 1f8fedf2716745d469771cfce2629dd05478bce8..dfe3a27f024031427344f337d490d4c75d8a04be 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c @@ -23,6 +23,7 @@ __attribute__ ((noinline)) int main1 (short X) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (a[i] != (signed char)myX || b[i] != myX || c[i] != (int)myX++) diff --git a/gcc/testsuite/gcc.dg/vect/vect-live-1.c b/gcc/testsuite/gcc.dg/vect/vect-live-1.c index f628c5d3998930ea3e0cee271c20ff3eb17edf62..e4a6433a89961b008a2b766f6669e16f378ca01e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-live-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-live-1.c @@ -38,6 +38,7 @@ main (void) if (ret != MAX + START) abort (); +#pragma GCC novector for (i=0; i> 1) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c b/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c index 314a6828c53c161d2e63b88bdecf0cee9070a794..1d55e13fb1fbc4273d3a64da20dc1e80fb760296 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-over-widen-7.c @@ -39,6 +39,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c, D); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (BASE_B + BASE_C + D + i * 9) >> 2) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c b/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c index 5baba09a575f0f316aac1a967e145dbbbdade5b4..36bfc68e05357359b8d9bdfe818910a3d0ddcb5a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-over-widen-9.c @@ -40,6 +40,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) { int res = BASE_B + BASE_C + i * 9; diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c index 7980d4dd6438d9a063051c78608f73f1cea1c740..717850a166b2b811797cf9cdd0753afea676bf74 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-1-src.c @@ -21,6 +21,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i+2] + ib[i+6]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c index f6fc134c8705567a628dcd62c053ad6f2ca2904d..5e5a358d34bece8bbe5092bf2d617c0995388634 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-2-src.c @@ -22,6 +22,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i+2] + ib[i+6]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c b/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c index 33088fb090271c3b97fae2300e5d7fc86242e246..1b85f14351242304af71564660de7db757294400 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c +++ b/gcc/testsuite/gcc.dg/vect/vect-peel-4-src.c @@ -18,6 +18,7 @@ int main1 () } /* check results: */ +#pragma GCC novector for (i = 1; i <= N; i++) { if (ia[i] != ib[i] + ib[i+5]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c index 64de22a1db4d7a8b354ad3755685171308a79a00..698ca5bf0672d3bfce0121bd2eae27abb2f75ca2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-1.c @@ -28,6 +28,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c index 086b48d9087c02ccbc0aaf36f575a3174f2916af..777051ee4a16a47f20339f97e13ad396837dea9a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-2.c @@ -29,6 +29,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c index 3389736ead98df2207a89de3ecb34a4a95faa6f5..aeb7da3877d7e0df77d6fee1a379f352ae2a5750 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-3.c @@ -29,6 +29,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 1; i < 64; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c index c0b73cd8f3322ae01b7a1889657bc92d38fa4af6..f4ab59671b7934e3e6f5d893159a3618f4aa3898 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-4.c @@ -31,6 +31,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 2; i < 64; i+=2) if (b[i] != a[i] - a[i-2] || b[i+1] != a[i+1] - a[i-1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c index 7327883cc31ae4a37e5e4597b44b35e6376b4ed2..2fed60df68cdfbdc3ebf420db51d132ed335dc14 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-5.c @@ -32,6 +32,7 @@ main () } int c = 7; foo (a, b, &c); +#pragma GCC novector for (int i = 2; i < 64; i+=2) if (b[i] != a[i] - a[i-2] || b[i+1] != a[i+1] - a[i-1]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c b/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c index f678b326f1043d2bce51b1d652de5ee2b55d6d0f..c170f4c345cdee1d5078452f9e301e6ef6dff398 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-recurr-6.c @@ -28,6 +28,7 @@ main () } int c = 7; foo (a, b, &c, 63); +#pragma GCC novector for (int i = 1; i < 63; ++i) if (b[i] != a[i] - a[i-1]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c b/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c index 484efb1e8c826a8dafb43ed18e25794951418a9c..49ecbe216f2740329d5cd2169527a9aeb7ab844c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-sdiv-pow2-1.c @@ -70,6 +70,7 @@ main (void) fns[i].div (b, a, N); fns[i].mod (c, a, N); +#pragma GCC novector for (int j = 0; j < N; j++) if (a[j] != (b[j] * p + c[j])) __builtin_abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c b/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c index dfd8ebace5610b22cc0da33647953ae33e084a42..0c4025abceb0e36092f5f7be1f813e4a6ebeda15 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-sdivmod-1.c @@ -88,6 +88,7 @@ main () f4 (4095); if (a[0] != (-2048 << 8)) abort (); +#pragma GCC novector for (i = 1; i < 4096; i++) if (a[i] != ((1 + ((i - 2048) % 16)) << 8)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c index 0c3086b1d683441e9b7d0096d4edce37e86d3cc1..d5fc4748758cea2762efc1977126d48df265f1c3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c @@ -21,6 +21,7 @@ int main () A[i] = A[i] >> 3; /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) if (A[i] != B[i]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-3.c b/gcc/testsuite/gcc.dg/vect/vect-shift-3.c index a1b4b0752291e64d51206fca644e241c8e0063a9..0a9d562feb56ec69e944d0a3581853249d9642ae 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-3.c @@ -26,6 +26,7 @@ int main() array_shift (); +#pragma GCC novector for (i = 0; i < N; i++) if (dst[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-4.c b/gcc/testsuite/gcc.dg/vect/vect-shift-4.c index 09f6e5a9584099b34e539b72dbe95e33da83cd20..d53faa52ee88b00d09eeefa504c9938084fa6230 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-shift-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-shift-4.c @@ -26,6 +26,7 @@ int main() array_shift (); +#pragma GCC novector for (i = 0; i < N; i++) if (dst[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-1.c b/gcc/testsuite/gcc.dg/vect/vect-simd-1.c index 7c3feeeffae363b8ad42989a3569ca394519a414..09722ae090d0edb875cb91f5b20da71074aee7d3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-1.c @@ -44,19 +44,23 @@ main () { check_vect (); foo (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 1) abort (); x = 1; foo (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 2) abort (); baz (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 3) abort (); qux (); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != 4) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-10.c index e49566a3847a97dee412148bed63a4b69af8dd1b..af0999a726288890a525fe18966331e0cb5c0cad 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-10.c @@ -76,6 +76,7 @@ main () if (r * 16384.0f != 0.125f) abort (); float m = -175.25f; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s *= a[i]; @@ -91,6 +92,7 @@ main () if (bar () != 592.0f) abort (); s = FLT_MIN_VALUE; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (s < a[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-11.c b/gcc/testsuite/gcc.dg/vect/vect-simd-11.c index e7d8aa0eb03879fcf0a77a512afc3281fbeabe76..2620dfebbc0dde80d219660dcead43ae01c7c41f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-11.c @@ -109,6 +109,7 @@ main () || r2 != (unsigned short) r || r3 != (unsigned char) r) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -129,6 +130,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -152,6 +154,7 @@ main () || r3 != (unsigned char) r) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -174,6 +177,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-12.c index cdfec81a6e6d761b6959fd434fc3367ad01d7026..45b55384006b1674c36a89f4539d2ffee2e4236e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-12.c @@ -77,6 +77,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-13.c b/gcc/testsuite/gcc.dg/vect/vect-simd-13.c index aee5244d85e18e707163a34cb93a9cd5b1317fc3..3ef4aa9a991c0b6259f3b3057616c1aa298663d9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-13.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-13.c @@ -79,6 +79,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-14.c b/gcc/testsuite/gcc.dg/vect/vect-simd-14.c index 9e73792ed7c36030b2f6885e1257a66991cdc4d1..c8a38f85ad4f29c9bbc664a368e23254effdd976 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-14.c @@ -76,6 +76,7 @@ main () if (r * 16384.0f != 0.125f) abort (); float m = -175.25f; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) @@ -89,6 +90,7 @@ main () if (bar () != 592.0f) abort (); s = FLT_MIN_VALUE; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-15.c b/gcc/testsuite/gcc.dg/vect/vect-simd-15.c index 91e34cd6428c4b841ab55226e49a5fc10444df57..6982a59da78276bad2779827ee0b8c1e1691e2e3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-15.c @@ -109,6 +109,7 @@ main () || r2 != (unsigned short) r || r3 != (unsigned char) r) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -129,6 +130,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -152,6 +154,7 @@ main () || r3 != (unsigned char) r) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s @@ -174,6 +177,7 @@ main () || s3 != (unsigned char) (1024 * 1023)) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { if (b[i] != s diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-16.c b/gcc/testsuite/gcc.dg/vect/vect-simd-16.c index ee4459a9341815c7ac4a5f6be4b9ca7679f13022..1ac13a5c5b4f568afa448af8d294d114533c061b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-16.c @@ -41,12 +41,14 @@ main () check_vect (); if (foo (a) != 64) abort (); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i) abort (); else a[i] = -8; bar (a); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i + 1) abort (); @@ -54,6 +56,7 @@ main () a[i] = -8; if (baz (a) != 64) abort (); +#pragma GCC novector for (i = 0; i < 64; ++i) if (a[i] != i + 2) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-17.c b/gcc/testsuite/gcc.dg/vect/vect-simd-17.c index 951ba3afd9e332d7cd22addd273adf733e0fb71a..79b3602a6c08969a84856bf98ba59c18b45d5b11 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-17.c @@ -52,12 +52,14 @@ doit (void) if (i != 11 || j != 101 || x != 10340 || niters != 550 || err) abort (); for (i = 1; i <= 10; i++) +#pragma GCC novector for (j = 1; j <= 10 * i; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -101,12 +103,14 @@ doit (void) if (i != 10 || j != 90 || x != 9305 || niters != 450 || err) abort (); for (i = 0; i < 10; i++) +#pragma GCC novector for (j = 0; j < 10 * i; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -156,6 +160,7 @@ doit (void) else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -199,12 +204,14 @@ doit (void) if (i != 11 || j != 10 || x != 9225 || niters != 25 || err) abort (); for (i = 1; i < 10; i += 2) +#pragma GCC novector for (j = 1; j < i + 1; j++) if (k[i][j] == 3) k[i][j] = 0; else abort (); for (i = 0; i < 11; i++) +#pragma GCC novector for (j = 0; j < 101; j++) if (k[i][j] != 0) abort (); @@ -244,11 +251,13 @@ doit (void) } if (i != 16 || j != 4 || x != 5109 || niters != 3 || err) abort (); +#pragma GCC novector for (j = -11; j >= -41; j -= 15) if (k[0][-j] == 3) k[0][-j] = 0; else abort (); +#pragma GCC novector for (j = -11; j >= -41; j--) if (k[0][-j] != 0) abort (); @@ -288,6 +297,7 @@ doit (void) } if (/*i != 11 || j != 2 || */x != -12295 || niters != 28 || err) abort (); +#pragma GCC novector for (j = -34; j <= -7; j++) if (k[0][-j] == 3) k[0][-j] = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c index cca350f5c21125fa4380611a1ba42be317fd9d85..e454abe88009a7572cfad1397bbd5770c7086a6b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c @@ -25,12 +25,14 @@ main () int i, r; check_vect (); r = foo (78, p); +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[i] != 78 * i) abort (); if (r != (10000 / 78) * (10000 / 78 + 1) / 2 * 78 * 3) abort (); r = foo (87, p); +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c index 67e25c0e07eeff8e3453a8a3b5e4df54b16f3f30..4d25b43f5dca9df6562a146e12e1c3542d094602 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c @@ -25,12 +25,14 @@ main () int i, r; check_vect (); r = foo (78, 0, 10000, p); +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[i] != 78 * i) abort (); if (r != (10000 / 78) * (10000 / 78 + 1) / 2 * 78 * 3) abort (); r = foo (87, 0, 10000, p); +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c index 57217c8a6ba4c15095f777cfa64aee9ffbe3e459..9ba7c3ce956a613e175ee6bd1f04b0531e6a79bd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c @@ -27,6 +27,7 @@ main () check_vect (); r = foo (78, 0, 10000, p); for (j = 0; j < 7; j++) +#pragma GCC novector for (i = 0; i < 10000 / 78; i++) if (p[j * (10000 / 78 + 1) + i] != 78 * i) abort (); @@ -34,6 +35,7 @@ main () abort (); r = foo (87, 0, 10000, p); for (j = 0; j < 7; j++) +#pragma GCC novector for (i = 0; i < 10000 / 87; i++) if (p[j * (10000 / 87 + 1) + i] != 87 * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-8.c b/gcc/testsuite/gcc.dg/vect/vect-simd-8.c index 5d10ad90501835bf6cac2c2d81ee98bc6ce6db5b..a3c2decee2e36949950ca87a0a9942bc303ee633 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-8.c @@ -77,6 +77,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -88,6 +89,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -101,6 +103,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -112,6 +115,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-9.c b/gcc/testsuite/gcc.dg/vect/vect-simd-9.c index 52eb24f680f1362ee93b7a22de5fd46d37119216..b652759e5ad5ec723a644cf9c6cb31677d120e2d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-9.c @@ -79,6 +79,7 @@ main () foo (a, b); if (r != 1024 * 1023 / 2) abort (); +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -90,6 +91,7 @@ main () if (bar () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; @@ -103,6 +105,7 @@ main () if (r != 1024 * 1023 / 2) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += i; @@ -114,6 +117,7 @@ main () if (qux () != 1024 * 1023) abort (); s = 0; +#pragma GCC novector for (int i = 0; i < 1024; ++i) { s += 2 * i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c index cd65fc343f1893accb6f25a6222a22f64a8b4b2e..c44bfe511a5743198a647247c691075951f2258d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c @@ -46,10 +46,12 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != (i < 30 ? 5 : i * 4 + 123)) abort (); baz (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != (i < 30 ? 5 : i * 8 + 123)) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c index 03acd375e089c3a430adbed8d71197f39d7c512b..ed63ff59cc05e5f0a240376c4ca0985213a7eb48 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c @@ -65,6 +65,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -72,6 +73,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c index 29acde22f1783e8b11376d1ae2e702e09182350c..4974e5cc0ccdc5e01bf7a61a022bae9c2a6a048b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-11.c @@ -44,19 +44,23 @@ main () if (sizeof (int) * __CHAR_BIT__ < 32) return 0; bar (a + 7); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i + 7] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); bar (a); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); #if 0 baz (a + 7); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i + 7] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); baz (a); +#pragma GCC novector for (i = 0; i < N / 2; i++) if (a[i] != (i ^ (i * 3 * 512) ^ (((i * 6) + 2) * 512 * 512))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c index 675ac7026b67edda2e573367643eb68063559bc2..866f1000f34098fb578001395f4a35e29cc8c0af 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-15.c @@ -32,6 +32,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != ((i >> 1) + (-3 * i))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c index ffcbf9380d609d7a3ed7420a38df5c11f632b46a..feab989cfd595f9fdb839aa8bd3e8486751abf2f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c @@ -44,6 +44,7 @@ main () check_vect (); baz (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (array[i] != 5 * (i & 7) * i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c index 18d68779cc5dd8faec77a71a8f1cfa9785ff36ed..fef48c5066918a42fa80f1e14f9800e28ddb2c96 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c @@ -37,6 +37,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != (i < 30 ? 5 : i * 4 + 123) || e[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c index e9af0b83162e5bbd40e6a54df7d656ad956a8fd8..42414671c254ffcd93169849d7a982861aa5ac0b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c @@ -40,6 +40,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != (i < 30 ? 5.0f : i * 4 + 123.0f) || e[i] || f[i] != 1) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c index 46da496524d99ff70e3673682040c0d5067afe03..620cec36e4c023e1f52160327a3d5ba21540ad3b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c @@ -35,6 +35,7 @@ main () int i; check_vect (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (d[i] != i * 4 + 123 || e[i] != i) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c index 6143a91eaf078d5b73e608bcfa080b70a5896f3d..440091d70e83be80574a6fcf9e034c53aed15786 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-6.c @@ -57,6 +57,7 @@ main () check_vect (); baz (); bar (0); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 2 * i || b[i] != 6 - 7 * i || c[i] != 6 - 5 * i + ((i & 31) << 4)) @@ -64,6 +65,7 @@ main () else a[i] = c[i]; bar (17); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 6 - 5 * i + ((i & 31) << 4) || b[i] != 6 - 7 * i diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c index a0316e9e5813ac4c9076aaf5f762b9cc5dc98b1e..62246e28837272ef1e18860912643422f6dce018 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-7.c @@ -57,6 +57,7 @@ main () check_vect (); baz (); bar (0); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 2 * i || b[i] != 6 - 7 * i || c[i] != 6 - 5 * i + ((i & 31) << 4)) @@ -64,6 +65,7 @@ main () else a[i] = c[i]; bar (17); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != 6 - 5 * i + ((i & 31) << 4) || b[i] != 6 - 7 * i diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c index f414285a170c7e3469fdad07256ef09e1b46e17b..11ea2132689137cfb7175b176e39539b9197a330 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c @@ -76,6 +76,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -83,6 +84,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c index a968b9ce91a17c454f66aa76ec8b094e011e1c74..0112e553f8f130b06ee23a8c269a78d7764dcfff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-9.c @@ -76,6 +76,7 @@ main () check_vect (); fn3 (); fn1 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) @@ -83,6 +84,7 @@ main () abort (); fn3 (); fn2 (); +#pragma GCC novector for (i = 0; i < N; i++) if (a[i] != i * 2 + 23 + (i % 37) + (i & 63) || b[i] != 17 + (i % 37) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c index da47a824cb6046dcd9808bd7bd80161dbc0531b5..1531553651ceb6185ce16ab49f447496ad923408 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c @@ -46,6 +46,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c index d53b7669a6b50d6bc27e646d08af98ca6fd093e3..b8d094723f9035083a244cfcee98d3de46512206 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c @@ -33,6 +33,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c index 37ff3abe97d60d9b968addaee7812cb0b05b6f44..0f1344c42017fc2a5bfda3a9c17d46fbdd523127 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c @@ -44,6 +44,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c index 9237a9074deeb72c4d724771d5397d36593ced7c..b0d36486714159c88419ce9e793c27a398ddcbcb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c @@ -39,6 +39,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c index 62a8a51e2034b1065a4438a712a80e0a7c149985..1c9906fa65237a7b9e0bbd2162e9c56b6e86074f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c @@ -39,6 +39,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i] != arr[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c index f64a1347350a465b9e7a0c123fe2b5bcbc2bf860..dc9ad168c7161c15f6de4a57d53e301e6754e525 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c @@ -33,6 +33,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].a @@ -49,6 +50,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c index 2add5b489915cffda25f3c59b41bd1c44edf16ce..d35e427996f472ce9fffdf9570fb6685c3115037 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2-big-array.c @@ -62,6 +62,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c index 2b7a1a4bb77f4dce44958c50864a0a6ecac90c53..a9524a9d8e5cb152ec879db68f316d5568161ec1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c @@ -51,6 +51,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c index e487de8b4e7d8e092054a73b337a345ba00e4e02..95ff41930d3f1ab95f0a20947e0527f39c78e715 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c @@ -71,6 +71,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c index 0f3347e8bb2200f48927b21938e7ebd348a73ada..b2dd1aee116d212bda7df0b0b1ca5470bd35ab83 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c @@ -56,6 +56,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c index 6d6bfae7bc5ce4cbcaeaadc07856773e6d77bdb4..716cce3eecbec0390f85f393e9cc714bd1a1faae 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c @@ -22,6 +22,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i*2] != b[2*i+1] * c[2*i+1] - b[2*i] * c[2*i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c index 82727e595c166a52c8a1060339259ec7c39b594f..59008499192388c618f3eb38d91d9dcb5e47e3d9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c @@ -35,6 +35,7 @@ main1 (s *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c index 0fac615011601d45c64e83be1a6ec1e1af407192..350223fa23ace9253e8e56bbbbd065e575639b19 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c @@ -35,6 +35,7 @@ main1 (s *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].b != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c index 8c560480bc4eac50c381ed51cfbc6ccc696d0424..e988c5c846911a875a188cbb6ec8a4e4b80b787a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c @@ -35,6 +35,7 @@ main1 (s * __restrict__ pIn, s* __restrict__ pOut) } /* check results: */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (q->a != p->a + 5 diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c index dcae9c26d8621dd393f00d81257262a27913d7a8..37b8eb80ce0ce0dfe1ce5f9e5c13618bffbe41ff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c @@ -24,6 +24,7 @@ main (int argc, char **argv) } loop (); __asm__ volatile ("" : : : "memory"); +#pragma GCC novector for (int i = 0; i < N; i++) { if (out[i] != i*2 + 7) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c index 6be939eea167992aade397ada0ee50d4daa43066..a55cd32e5896be4c1592e4e815baccede0f30e82 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c @@ -38,6 +38,7 @@ main1 () } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != a[i] + 3 diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c index 9d1ad579e6a607f34ec953395f741f180474a77a..170f23472b967cedec88c1fa82dfb898014a6d09 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c @@ -34,6 +34,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != a[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c index a081d4e396e36a4633eb224d927543c7379d3108..11c2f2c4df60d8238830c188c3400a324444ab4d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c @@ -22,6 +22,7 @@ main1 (void) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N/2; i++) { if (a[i*2] != b[i] + c[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store.c index e8303b63bd4812e0643dc96888eeee2ea8ca082a..dfdafe8e8b46ea33e3c9ed759687788784a22607 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store.c @@ -19,12 +19,14 @@ int main() float src[] = {1, 2, 3, 4, 5, 6, 7, 8}; float dest[64]; check_vect (); +#pragma GCC novector for (stride = 0; stride < 8; stride++) { sumit (dest, src, src, stride, 8); if (!stride && dest[0] != 16) abort(); else if (stride) +#pragma GCC novector for (i = 0; i < 8; i++) if (2*src[i] != dest[i*stride]) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c index 7d264f39c60d668927232a75fe3843dbee087aa5..004db4e1f84735d8857c5591453158c96f213246 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c @@ -25,6 +25,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c index 63a4da797cbeb70bde0b1329fe39f510c24a990c..5d94e8f49bc41431df9de2b809c65e48cc269fa0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i3.c @@ -18,6 +18,7 @@ check1 (s *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i].a != C (i) || res[i].b != A (i) @@ -30,6 +31,7 @@ check2 (unsigned short *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != (unsigned short) (A (i) + B (i) + C (i))) abort (); @@ -40,6 +42,7 @@ check3 (s *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i].a != i || res[i].b != i @@ -52,6 +55,7 @@ check4 (unsigned short *res) { int i; +#pragma GCC novector for (i = 0; i < N; i++) if (res[i] != (unsigned short) (A (i) + B (i))) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c index ee8ea0d666db4b7671cd3f788fc7f6056189f3da..547ad9b9ee3d35802d3f8d7b9c43d578fb14f828 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c @@ -34,6 +34,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c index fe41dbd9cf452b9452084e988d48ede232f548bf..8f58e24c4a8b8be2da0a6c136924a370b9952691 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c @@ -29,6 +29,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c index a88c0f08456cf278c4fa5a5b9b0a06900cb7c9be..edb13d1b26f5963113917e8882f199c7dd4d8de7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c @@ -37,6 +37,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c index cddd0c88f42a99f526362ca117e9386c013c768d..0c2bd9d8cbde5e789474595db519d603b374e74c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c @@ -29,6 +29,7 @@ main1 (unsigned short *arr, ii *iarr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i] != arr[i] diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c index ab841205e4f5b3c0aea29f60045934e84644a6a7..fd7920031dcf6df98114cfde9a56037d655bb74d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c @@ -25,6 +25,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b @@ -41,6 +42,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b) diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c index 0afd50db0b8de7758faf7f2bff14247a27a7ee38..ae2345a9787804af0edc45d93f18e75d159326b0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c @@ -24,6 +24,7 @@ main1 (s *arr) ptr++; } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b - arr[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c index ef532251465e5b1eb16e820fc30844a7995b82a9..c7a1da534baea886fe14add1220c105153d6bb80 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2-big-array.c @@ -39,6 +39,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c index 04f18fbb591d9dc50d56b20bce99cb79903e5e27..2a068d821aebee8ab646ff1b4c33209dc5b2fcbf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c @@ -37,6 +37,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c index b5eb87f4b96e1a577930654f4b1709024256e90e..ac7bf000196b3671044de57d88dd3a32080b68a8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-big-array.c @@ -41,6 +41,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a @@ -64,6 +65,7 @@ main1 (s *arr) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c index 69b970ef33b9dd8834b10baf7085b88a0c441a46..0a6050ae462332b8d74043fce094776892a80386 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c @@ -53,6 +53,7 @@ main1 (s *arr, int n) } /* check results: */ +#pragma GCC novector for (i = 0; i < n; i++) { if (res[i].c != arr[i].b + arr[i].c @@ -67,6 +68,7 @@ main1 (s *arr, int n) } /* Check also that we don't do more iterations than needed. */ +#pragma GCC novector for (i = n; i < N; i++) { if (res[i].c == arr[i].b + arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c index f1d05a5aaf9f6885b921c5ae3370d9c17795ff82..9ead5a776d0b1a69bec804615ffe7639f61f993f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c @@ -39,6 +39,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b + arr[i].c @@ -62,6 +63,7 @@ main1 (s *arr) } /* Check results. */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != arr[i].b diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c index b703e636b49f8c7995c4c463b38b585f79acbdf2..176c6a784bc73e0300e3114a74aba05dc8185cac 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c @@ -44,6 +44,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].a != check_res[i].a diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c index 764f10d0adaca01e664bb45dd4da59a0c3f8a2af..cef88f6bf8246a98933ff84103c090664398cedd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c @@ -42,6 +42,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c index 35bab79ce826ac663eabb1a1036ed7afd6d33e8b..c29c3ff6cdc304e5447f0e12aac00cd0fcd7b61e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c @@ -44,6 +44,7 @@ main1 (s *arr) } /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (res[i].c != arr[i].b - arr[i].a + arr[i].d - arr[i].c diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c index ea35835465c8ed18be1a0c9c4f226f078a51acaa..2d5c10a878c7145972aeaa678e0e11c1cf1b79dd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c @@ -27,6 +27,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c index df6b999c5a4d88c8b106829f6f9df8edbe00f86f..4848215a7a8f5fea569c0bfaf5909ac68a81bbf2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c @@ -32,6 +32,7 @@ main (void) foo (X, Y, Z); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i] != resultY[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c index 36861a059e03b1103adc2dca32409878ca95611e..2a94c73907e813019fcfbc912a1599f7423e2a47 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c @@ -40,6 +40,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i].a != result[i].a) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c index bfbb48b21ee632243f2f5ba63d7eeec0f687daef..b0e9d6f90391cfc05911f7cc709df199d7fbbdf1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c @@ -26,6 +26,7 @@ main (void) foo (X, &X[2]); /* check results: */ +#pragma GCC novector for (i = 0; i < N+2; i++) { if (X[i] != result[i]) diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c index d775f320e0c1e2c6de2e77a1d8df621971fc3d2d..27d762490908829d54cdbb81247926c2f677fe36 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-slp.c @@ -40,6 +40,7 @@ main (void) foo (X, Y); /* check results: */ +#pragma GCC novector for (i = 0; i < N; i++) { if (Y[i].a != result[i].a) diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c index 0d6e64081a17fed8d9b9239f9ba02ffa1b7a758d..f3abc9407f52784e391c495152e617b1f0753e92 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-1.c @@ -38,6 +38,7 @@ main (void) asm volatile ("" ::: "memory"); } f (a, b, c); +#pragma GCC novector for (int i = 0; i < N; ++i) if (a[i] != (SIGNEDNESS_1 short) ((BASE + i * 5) * (BASE + OFFSET + i * 4))) diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c index 4c95dd2017922904122aee2925491e9b9b48fe8e..dfbb2171c004565045d91605354b5d6e7219ab19 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-s16.c @@ -17,6 +17,7 @@ foo (int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 2333) abort (); @@ -32,6 +33,7 @@ bar (int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * (short) 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * (short) 2333) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c index 4075f815cea0ffbad1e05e0ac8b9b232bf3efe61..c2ad58f69e7fe5b62a9fbc55dd5dab43ba785104 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-const-u16.c @@ -17,6 +17,7 @@ foo (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 2333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 2333) abort (); @@ -32,6 +33,7 @@ bar (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = (unsigned short) 2333 * b[i]; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * (unsigned short) 2333) abort (); @@ -47,6 +49,7 @@ baz (unsigned int *__restrict a, for (i = 0; i < n; i++) a[i] = b[i] * 233333333; +#pragma GCC novector for (i = 0; i < n; i++) if (a[i] != b[i] * 233333333) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c index c4ac88e186dbc1a8f36f4d7567a9983446557eea..bfdcbaa09fbd42a16197023b09087cee6642105a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c @@ -43,12 +43,14 @@ int main (void) foo (); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF) abort (); bar (); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c index ebbf4f5e841b75cb1f5171ddedec85cd327f385e..e46b0cc3135fd982b07e0824955654f0ebc59506 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half.c @@ -38,6 +38,7 @@ int main (void) foo (COEF2); +#pragma GCC novector for (i = 0; i < N; i++) if (out[i] != in[i] * COEF || out2[i] != in[i] + COEF2) abort (); diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c index 91a8a290263c9630610a48bce3829de753a4b320..6b094868064e9b86c40018363564f356220125a5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c @@ -33,6 +33,7 @@ int main (void) foo1 (N); +#pragma GCC novector for (i=0; i