From patchwork Fri Jan 15 09:13:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1426839 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=xRonkohb; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DHFqN0Hc0z9sWR for ; Fri, 15 Jan 2021 20:14:06 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 456B33840C37; Fri, 15 Jan 2021 09:14:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 456B33840C37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1610702043; bh=VT74Ibm7y5HeGrmGdbUe0kEaOqaRsLrNGvwVYbVZ6mA=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=xRonkohbJaTwHak1R+au1U7nUTxy4JKI5SXsRT1fzmP7cdONjWA9qzqL47ojzT0na CiyXmWB3ukc4p1xHfkK6aeG9U4wmy32mYMdOoppJwwJARqStq1QRlrkxg5ld9OTl5P tzwkDRf1FyVYZsUsuHwVdVAPgAMp5Sm64aWMYa78= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80085.outbound.protection.outlook.com [40.107.8.85]) by sourceware.org (Postfix) with ESMTPS id 9D76C3840C1D for ; Fri, 15 Jan 2021 09:13:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9D76C3840C1D Received: from MR2P264CA0060.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:31::24) by VE1PR08MB5725.eurprd08.prod.outlook.com (2603:10a6:800:1b0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Fri, 15 Jan 2021 09:13:39 +0000 Received: from VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:31:cafe::1) by MR2P264CA0060.outlook.office365.com (2603:10a6:500:31::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.12 via Frontend Transport; Fri, 15 Jan 2021 09:13:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;gcc.gnu.org; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT017.mail.protection.outlook.com (10.152.18.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12 via Frontend Transport; Fri, 15 Jan 2021 09:13:38 +0000 Received: ("Tessian outbound 8418c949a3fa:v71"); Fri, 15 Jan 2021 09:13:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 176a103c6b9730b2 X-CR-MTA-TID: 64aa7808 Received: from e5aee7213e1f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 823E2F87-BF35-464D-8E95-B06BBA3845BB.1; Fri, 15 Jan 2021 09:13:31 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e5aee7213e1f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 15 Jan 2021 09:13:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a5EFJ2QocIBn8ya8Iy3+zAWKiY7lkm3V+pKk4xHInR8kr1m+2aUjNaptvenivmu6BVrK0y1olU9ak+06KkMOao5CSk4nK8bym1Z8QcVjMsD0mwsE0yVttFnbmbRTIizg70iMZXP2jAalQXXTqtER9SZCEE5dWe1izzCXTTyeLUn2rtMuYr2+SqTvkwrCfNhuzpQ8JtzSX6wrk5XcBxNO21KTEZYqJwan/ggTkwClKA5wnwU8X0IHnSMyeQP5fE/gbvsBrsQXBjcQMNHag4480wlUUcoa7xw+a4m1ZZevFGz14qJN6pTSqkIgWbPCkXgKP7H0XhWVMa6TAbgQzBaIJA== 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-SenderADCheck; bh=VT74Ibm7y5HeGrmGdbUe0kEaOqaRsLrNGvwVYbVZ6mA=; b=ZFPJVobyWKmldNqIY7MDIGLqwY3A5NDW8P9A4KR33W7wG08oo6SpBo9YRFPKLMTC5k/V17nyWaJOH1wXSfxMeeQ0qZ+VPkHmaSzFnbjALh2NaLs8paAevoOcLgVx+cFA6bPI5sSbj0yurO1fsqFLch8rEHb3bVpHiibUSEm5/F2NGNlmCP5PPSJU3YDIFzM/Z1TeQzlXbKEIBG4qJLOMrhyiP7uqiHCklX1BI+S8TCu+CFNKh5vCH6DZfaZJOhP7WMoUWYgoKnSpuGYYzxBsGjVdz4xZKggdUQFrxcFlAn+9kshQKuD/JhWwELBI4ZR/zt0rvKFjxvqeFVv9MrjFRQ== 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 Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VE1PR08MB5136.eurprd08.prod.outlook.com (2603:10a6:803:107::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 15 Jan 2021 09:13:29 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::ed1e:9499:4501:2118]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::ed1e:9499:4501:2118%8]) with mapi id 15.20.3763.012; Fri, 15 Jan 2021 09:13:29 +0000 Date: Fri, 15 Jan 2021 09:13:26 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH][testsuite] (committed) Fix sed script errors in complex tests Message-ID: Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [217.140.106.53] X-ClientProxiedBy: LO2P123CA0006.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::18) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.53) by LO2P123CA0006.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Fri, 15 Jan 2021 09:13:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: fca12426-63a1-422b-ab96-08d8b935d829 X-MS-TrafficTypeDiagnostic: VE1PR08MB5136:|VE1PR08MB5725: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5797;OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vIW1VDnxgyPGwtD0NiNyEHTHQkamXqQP1l47Eq6SOW2IYNODkxYpxoyMFZalnTnZeTvdYwChIEdiKv8CR5+74btL6jd1cEXhPPA1Ek5hOTy5QtipEg1TOtB1v5rfAknxOnOdZG+Fc+hDqiu1FaHM4y2IwlEOeiIaKgGmDeCsxVn+P4McNYeJzbdBf4WYF2gyr/qiWa7ySXxOQKC9jLafeSnQ/GE1p33+n11NDvukq4uYEkeJGu0aH/i6xa2THvzIb5Za9NzWhyYBesOjUsuQZ2P1hhWIJrCD/8yzHupTnWbH0JX/SfusP3aCLBRJ8a5LoderdggNEH9toxbK7DLT17pTPJ9BYrWptpAGAkP9RjHHU38gU7ZwNGAVYlBDGDH5cirJ6BMqTzHdP0AVst99DhHdXpFiaiIE72euBtmxCa8AfXW6nnqrjGv8y4wJn/vtcw5tcKNOONQMq/UL6ewDYw== 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:(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(36756003)(33964004)(86362001)(55016002)(8676002)(6916009)(2906002)(44144004)(4326008)(66946007)(2616005)(186003)(478600001)(235185007)(7696005)(4743002)(26005)(66556008)(66476007)(66616009)(956004)(5660300002)(8936002)(8886007)(52116002)(44832011)(316002)(16526019)(4216001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?hJiEx6Lpi6KvbhbKq2HMAIwKq19kEU?= =?utf-8?q?oHeIJEXkkesbv0NtHzUv4D3KsU52PEwB0+EQlzq1E66LjHeIp0MIr0SmEZBj/Akho?= =?utf-8?q?/q5Ulom+egsrL4kapPUXoeDorWx+q0ckKlzJA4vsF7bQxAqUwm1IfwE92H21E9Evr?= =?utf-8?q?qAubxvIcGR4aJQ15sewJ2SiFWM1ry/xukkHtuKpfmy5yt0rjJXGIyICMqF6Sw/eP2?= =?utf-8?q?kYopwFCBcfNDIEM5Ms54oYyjJ8S7AmPwGHLcLp0nSIXJVGFZVilkMN/NTBE9Mcceg?= =?utf-8?q?W3cQlwNoxh6N2THgr90/nJFvfv3/Cn+6IV+uo1htsC47OywktgtEqRyRqCv2zP3bU?= =?utf-8?q?3h8Kdr/S/aXJiyy3uDlQssd6Ds+vX6glwo5R5hV0S9pgoFT0SxOH0W7qZQNmzQFdL?= =?utf-8?q?7PIDlD87UKP0eCcOGSgN8gpfBrluAf6AtGBHkrFiNM9qEPlkNBrlMjawHWmiQ6RmI?= =?utf-8?q?qCBCiI87Vr/LMYuiGZAxTI/FIN1B/F9BMxkr32zbl9IFFyAWVpoAXa1f+WwPJkCDj?= =?utf-8?q?IC85PnlHRF7gCA2cemqh/f+BFfq2jvVgjHoHs0xnlN2mZqwIX8TaZyk2MDEfFtdGb?= =?utf-8?q?bZKj/7LBMxAAiZbnDdA15Iq3oYF7tIN6J+vIj6cnZ2eTxTyzSu/8kGUFkU5AkuuH5?= =?utf-8?q?3U8p6aJnqeF1vQo7PjQlpq9Aqo/z6bLsPCLldI6/52t0MtgILE+pYvuaKAYhHRtts?= =?utf-8?q?8kvB3mS7xfTk+Qj1lc+bYEqC87F3BmUkygmHQ9tRvPwZymPOBAYYS5leFTKvolCXz?= =?utf-8?q?c1Gbd3I3E0rkT5wyeiFrfjlg+vxLZcMx1/UD2XP+9q+/Uv93cXIY0aDR+HY9AXG5n?= =?utf-8?q?yXiNom8r9O+AKBVisFeYuVlVBStBdSKLeSKJ09GHWJf0Zu50Vhs9l1Jzwlp1cpn70?= =?utf-8?q?1MLf+vVr6vMPKFzzYH8ucdyE98KYf+qfZub63E0AUGnZrc7hglORF/L8X3TO1/z4I?= =?utf-8?q?KjRpQAcWyZPZM0Yyxri?= X-MS-Exchange-Transport-Forked: True X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5136 Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 75ff329f-cf85-4d93-20a4-08d8b935d272 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KfDcHxqI4LJ3VvVzEwlpQ3ioLSW2GrCQJWqMZPnjd51aLD5xlpFEpDQM/9fRE4CElHs8oig9yryUMxNyD78kcoorIQyXCzpbiYYL6iW3+mMTpa1PSkLAbFFO2LApt52LPwhkUxJEf2DYNATh1skGe4WBEQuGzqYWXV7lNpj+yJDusfzaJtO5Qk5FFVCoRo5B4Us/V4A/8pXJwOI1T7wwMV7yrVHj/OI1j85fAE3vAaZxFfV7pYtBNXLV66t09Cq9Ds1aqIWbNmwtXyRFjpWa3u+F8vgE+cdZc2lgDj09WvZUKMyfbd7QLpFb0WqQKSeMDJ8XbBLd61161+6qgLlrXGML8u0+UY/y8oqwyCJpp77qM4DMX3H/wgWE5gH8h53YyvtybRWtOILalmN1EfQtvN9n96KjCr5I0L9YHHRUVCSbdoxTqBPefOkRSS+qe/HtNljniWer2Ofe5MKaWU1jRoVURUiFfPU1CEevG4+ETlnzod7SzAGD6ctvQnJPxHbR5AhlMTYknxrE1b9bl20iZjQCCnOwGn3C6nV6zjYtk+shg2U63rXWZoQUrKjrH2KPRx7IzQr0jvQmHbIoXMaalErP4tjn1EduPidjOoMMm/n9RBIUmzLZaTeq6tdoHGPbCiFlOVxguXBPNzZFburY47dnx85svfZDuE/pvmqBof0= 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:(4636009)(396003)(376002)(136003)(346002)(39860400002)(46966006)(7696005)(956004)(36756003)(336012)(6916009)(33964004)(44144004)(8936002)(81166007)(5660300002)(235185007)(86362001)(82740400003)(2616005)(8886007)(316002)(8676002)(107886003)(44832011)(4743002)(34020700004)(4326008)(16526019)(186003)(82310400003)(356005)(66616009)(2906002)(70586007)(70206006)(478600001)(55016002)(26005)(47076005)(4216001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2021 09:13:38.2150 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fca12426-63a1-422b-ab96-08d8b935d829 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: VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5725 X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_LOTSOFHASH, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tamar Christina via Gcc-patches From: Tamar Christina Reply-To: Tamar Christina Cc: nd@arm.com, rguenther@suse.de Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi All, I ran sed script late over the tests which accidentally introduced a syntax error in the tests. This fixes it. Committed under the obvious rule. Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/testsuite/ChangeLog: * gcc.dg/vect/complex/complex-mla-template.c: Fix sed. * gcc.dg/vect/complex/complex-mls-template.c: Likewise. --- inline copy of patch -- diff --git a/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c b/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c index 8995e0a9f6bbfa535fa3630dc65bc3baad1016e5..4b5c42b29f1b40bc88c39e6baedd8c930c823dd1 100644 diff --git a/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c b/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c index 8995e0a9f6bbfa535fa3630dc65bc3baad1016e5..4b5c42b29f1b40bc88c39e6baedd8c930c823dd1 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c +++ b/gcc/testsuite/gcc.dg/vect/complex/complex-mla-template.c @@ -3,77 +3,77 @@ void fma0 (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * b[i]; } void fma90snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * (b[i] * I); } void fma180snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * (b[i] * I * I); } void fma270snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * (b[i] * I * I * I); } void fma90fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += (a[i] * I) * b[i]; } void fma180fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += (a[i] * I * I) * b[i]; } void fma270fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += (a[i] * I * I * I) * b[i]; } void fmaconjfst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += ~a[i] * b[i]; } void fmaconjsnd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * ~b[i]; } void fmaconjboth (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += ~a[i] * ~b[i]; } void fma_elem (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * b; } @@ -81,21 +81,21 @@ void fma_elem (_Complex TYPE a[restrict N], _Complex TYPE b, void fma_elemconjfst (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += ~a[i] * b; } void fma_elemconjsnd (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += a[i] * ~b; } void fma_elemconjboth (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i+=0; i < N; i++) + for (int i=0; i < N; i++) c[i] += ~a[i] * ~b; } diff --git a/gcc/testsuite/gcc.dg/vect/complex/complex-mls-template.c b/gcc/testsuite/gcc.dg/vect/complex/complex-mls-template.c index 2940be46eaefbfb8224f999a2c3c78c95d46b41e..1954be8b06ad4db91d5ae4ced01aefaaf22b4071 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/complex-mls-template.c +++ b/gcc/testsuite/gcc.dg/vect/complex/complex-mls-template.c @@ -3,77 +3,77 @@ void fms0 (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * b[i]; } void fms90snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * (b[i] * I); } void fms180snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * (b[i] * I * I); } void fms270snd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * (b[i] * I * I * I); } void fms90fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= (a[i] * I) * b[i]; } void fms180fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= (a[i] * I * I) * b[i]; } void fms270fst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= (a[i] * I * I * I) * b[i]; } void fmsconjfst (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= ~a[i] * b[i]; } void fmsconjsnd (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * ~b[i]; } void fmsconjboth (_Complex TYPE a[restrict N], _Complex TYPE b[restrict N], _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= ~a[i] * ~b[i]; } void fms_elem (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * b; } @@ -81,21 +81,21 @@ void fms_elem (_Complex TYPE a[restrict N], _Complex TYPE b, void fms_elemconjfst (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= ~a[i] * b; } void fms_elemconjsnd (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= a[i] * ~b; } void fms_elemconjboth (_Complex TYPE a[restrict N], _Complex TYPE b, _Complex TYPE c[restrict N]) { - for (int i-=0; i < N; i++) + for (int i=0; i < N; i++) c[i] -= ~a[i] * ~b; }