public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] rs6000,testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c
@ 2023-11-06  7:20 Jiufu Guo
  2023-11-07  2:27 ` [PATCH] rs6000, testcase: " Kewen.Lin
  0 siblings, 1 reply; 3+ messages in thread
From: Jiufu Guo @ 2023-11-06  7:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: segher, dje.gcc, linkw, bergner, guojiufu

Hi,

With latest trunk, case pr106550_1.c can run with failure on ppc under -m32.
While, the case is testing 64bit constant building. So, "has_arch_ppc64"
is required.

Test pass on ppc64{,le}.

BR,
Jeff (Jiufu Guo)

gcc/testsuite/ChangeLog:

	* gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.

---
 gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
index 7e709fcf9d8..5ab40d71a56 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
@@ -1,5 +1,6 @@
 /* PR target/106550 */
 /* { dg-require-effective-target power10_ok } */
+/* { dg-require-effective-target has_arch_ppc64 } */
 /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */
 /* force the constant splitter run after RA: -fdisable-rtl-split1.  */
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rs6000, testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c
  2023-11-06  7:20 [PATCH] rs6000,testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c Jiufu Guo
@ 2023-11-07  2:27 ` Kewen.Lin
  2023-11-07  9:36   ` Jiufu Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Kewen.Lin @ 2023-11-07  2:27 UTC (permalink / raw)
  To: Jiufu Guo; +Cc: segher, dje.gcc, linkw, bergner, gcc-patches

Hi,

on 2023/11/6 15:20, Jiufu Guo wrote:
> Hi,
> 
> With latest trunk, case pr106550_1.c can run with failure on ppc under -m32.
> While, the case is testing 64bit constant building. So, "has_arch_ppc64"
> is required.

Please also mention that it failed with ICE initially due to PR111971, now
that PR got fixed so this omission is exposed.

> 
> Test pass on ppc64{,le}.
> 
> BR,
> Jeff (Jiufu Guo)
> 
> gcc/testsuite/ChangeLog:
> 

There is PR112340, need a corresponding PR marker line.

OK for trunk with these nits tweaked, thanks!

BR,
Kewen

> 	* gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.
> 
> ---
>  gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
> index 7e709fcf9d8..5ab40d71a56 100644
> --- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
> +++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
> @@ -1,5 +1,6 @@
>  /* PR target/106550 */
>  /* { dg-require-effective-target power10_ok } */
> +/* { dg-require-effective-target has_arch_ppc64 } */
>  /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */
>  /* force the constant splitter run after RA: -fdisable-rtl-split1.  */
>  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rs6000, testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c
  2023-11-07  2:27 ` [PATCH] rs6000, testcase: " Kewen.Lin
@ 2023-11-07  9:36   ` Jiufu Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Jiufu Guo @ 2023-11-07  9:36 UTC (permalink / raw)
  To: Kewen.Lin; +Cc: segher, dje.gcc, linkw, bergner, gcc-patches


Hi,

"Kewen.Lin" <linkw@linux.ibm.com> writes:

> Hi,
>
> on 2023/11/6 15:20, Jiufu Guo wrote:
>> Hi,
>> 
>> With latest trunk, case pr106550_1.c can run with failure on ppc under -m32.
>> While, the case is testing 64bit constant building. So, "has_arch_ppc64"
>> is required.
>
> Please also mention that it failed with ICE initially due to PR111971, now
> that PR got fixed so this omission is exposed.
Thanks!
>
>> 
>> Test pass on ppc64{,le}.
>> 
>> BR,
>> Jeff (Jiufu Guo)
>> 
>> gcc/testsuite/ChangeLog:
>> 
>
> There is PR112340, need a corresponding PR marker line.
Yeap! Thanks for pointing out this!

>
> OK for trunk with these nits tweaked, thanks!

Committed via r14-5184.

BR,
Jeff (Jiufu Guo)

>
> BR,
> Kewen
>
>> 	* gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.
>> 
>> ---
>>  gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
>> index 7e709fcf9d8..5ab40d71a56 100644
>> --- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
>> +++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c
>> @@ -1,5 +1,6 @@
>>  /* PR target/106550 */
>>  /* { dg-require-effective-target power10_ok } */
>> +/* { dg-require-effective-target has_arch_ppc64 } */
>>  /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */
>>  /* force the constant splitter run after RA: -fdisable-rtl-split1.  */
>>  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-07  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06  7:20 [PATCH] rs6000,testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c Jiufu Guo
2023-11-07  2:27 ` [PATCH] rs6000, testcase: " Kewen.Lin
2023-11-07  9:36   ` Jiufu Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).