From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2100) id B775C3858430; Mon, 11 Oct 2021 20:34:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B775C3858430 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Giuliano Belinassi To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/giulianob/heads/pfe_backport_dirty)] Backport patchable_function_entry-decl.c: Pass -mcpu=gr6 for Visium and remove other specific handli X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/users/giulianob/heads/pfe_backport_dirty X-Git-Oldrev: c8af74ab9212cb4b70f84a6ac01dd3108914c459 X-Git-Newrev: ff208199e828e3c4fe67ab4490e91ae262fb8dad Message-Id: <20211011203407.B775C3858430@sourceware.org> Date: Mon, 11 Oct 2021 20:34:07 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2021 20:34:07 -0000 https://gcc.gnu.org/g:ff208199e828e3c4fe67ab4490e91ae262fb8dad commit ff208199e828e3c4fe67ab4490e91ae262fb8dad Author: Eric Botcazou Date: Mon Dec 10 11:16:47 2018 +0000 Backport patchable_function_entry-decl.c: Pass -mcpu=gr6 for Visium and remove other specific handling. * 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. Diff: --- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/c-c++-common/patchable_function_entry-decl.c | 4 ++-- gcc/testsuite/c-c++-common/patchable_function_entry-default.c | 4 ++-- .../c-c++-common/patchable_function_entry-definition.c | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc3cbdbfde0..80d13ef80ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2021-10-07 Giuliano Belinassi + + Backport from mainline + 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. + 2021-10-07 Giuliano Belinassi Backport from mainline diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c index 3bfb7568bee..572297ca1f4 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c @@ -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; diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c index bd7c6e98fc6..942ec14c8e5 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-default.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-default.c @@ -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; diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c index 709113890ef..e88b0eb15c1 100644 --- a/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c @@ -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;