From patchwork Mon Dec 10 11:17:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 1010375 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-491989-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="TWUn99WE"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43D0sd5LK0z9s4s for ; Mon, 10 Dec 2018 22:17:23 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=qb3Mc5cm2ZvK8dDU 2KCNiBRALksCame/Ir+CYaFNJ6UStRP3CpXyJRDlUAmLxytZP+d9I0DQQ84MH2nA cSC36VPKs7xeresBLtR0kTGuIAkfmhNTz27DiPGrEkQEothbOtwsDI/ygyhxl3KM WXNvM0ESYPra8tddbNyUY3lMKOY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=SWuMUZZSVGxGUSap6uXsWZ XwCKA=; b=TWUn99WEql2xepoHWyTv7Iv6vy9Ifeoc4detVnUNUyXMMPQRv/DscO LSp4tpahHk8LW6exVSB8IGnC8ZzzRBgoyD2wCT5e1mmzCQ6++gqSk8//IXGrp9H9 WEJVGaUdYcr2CQvZPDmYzx9RKSsDdiO4A8ZmHU03pzohOWzNEduhk= Received: (qmail 54660 invoked by alias); 10 Dec 2018 11:17:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 54634 invoked by uid 89); 10 Dec 2018 11:17:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=bis, Small, 31 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Dec 2018 11:17:13 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 150A48137F for ; Mon, 10 Dec 2018 12:17:11 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nBDIIKukio7H for ; Mon, 10 Dec 2018 12:17:11 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id E2E4981386 for ; Mon, 10 Dec 2018 12:17:10 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [testsuite] Small tweak for Visium Date: Mon, 10 Dec 2018 12:17:10 +0100 Message-ID: <3529050.HrMZkjoJ5K@polaris> MIME-Version: 1.0 Tested on visium-elf and x86_64-suse-linux, applied on mainline and 8 branch. 2018-12-10 Eric Botcazou * c-c++-common/patchable_function_entry-decl.c: Pass -mcpu=gr6 for Visium and remove other specific handling. * c-c++-common/patchable_function_entry-default.c: Likewise. * c-c++-common/patchable_function_entry-definition.c: Likewise. Index: c-c++-common/patchable_function_entry-decl.c =================================================================== --- c-c++-common/patchable_function_entry-decl.c (revision 266906) +++ c-c++-common/patchable_function_entry-decl.c (working copy) @@ -1,8 +1,8 @@ /* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ -/* { dg-final { scan-assembler-times "nop|NOP" 2 { target { ! { alpha*-*-* visium-*-* } } } } } */ +/* { dg-additional-options "-mcpu=gr6" { target visium-*-* } } +/* { dg-final { scan-assembler-times "nop|NOP" 2 { target { ! { alpha*-*-* } } } } } */ /* { dg-final { scan-assembler-times "bis" 2 { target alpha*-*-* } } } */ -/* { dg-final { scan-assembler-times "nop" 3 { target visium-*-* } } } */ extern int a; Index: c-c++-common/patchable_function_entry-default.c =================================================================== --- c-c++-common/patchable_function_entry-default.c (revision 266906) +++ c-c++-common/patchable_function_entry-default.c (working copy) @@ -1,8 +1,8 @@ /* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ -/* { dg-final { scan-assembler-times "nop|NOP" 3 { target { ! { alpha*-*-* visium-*-* } } } } } */ +/* { dg-additional-options "-mcpu=gr6" { target visium-*-* } } +/* { dg-final { scan-assembler-times "nop|NOP" 3 { target { ! { alpha*-*-* } } } } } */ /* { dg-final { scan-assembler-times "bis" 3 { target alpha*-*-* } } } */ -/* { dg-final { scan-assembler-times "nop" 4 { target visium-*-* } } } */ extern int a; Index: c-c++-common/patchable_function_entry-definition.c =================================================================== --- c-c++-common/patchable_function_entry-definition.c (revision 266906) +++ c-c++-common/patchable_function_entry-definition.c (working copy) @@ -1,8 +1,8 @@ /* { dg-do compile { target { ! nvptx*-*-* } } } */ /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */ -/* { dg-final { scan-assembler-times "nop|NOP" 1 { target { ! { alpha*-*-* visium-*-* } } } } } */ +/* { dg-additional-options "-mcpu=gr6" { target visium-*-* } } +/* { dg-final { scan-assembler-times "nop|NOP" 1 { target { ! { alpha*-*-* } } } } } */ /* { dg-final { scan-assembler-times "bis" 1 { target alpha*-*-* } } } */ -/* { dg-final { scan-assembler-times "nop" 2 { target visium-*-* } } } */ extern int a;