public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
@ 2023-12-12  0:54 haochen.jiang
  2023-12-12  1:01 ` Andrew Pinski (QUIC)
  0 siblings, 1 reply; 7+ messages in thread
From: haochen.jiang @ 2023-12-12  0:54 UTC (permalink / raw)
  To: quic_apinski, gcc-regression, gcc-patches, haochen.jiang

On Linux/x86_64,

85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit
commit 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
Author: Andrew Pinski <quic_apinski@quicinc.com>
Date:   Sat Nov 11 15:54:10 2023 -0800

    MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type are the same

caused

FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2

with GCC configured with

../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com.)
(If you met problems with cascadelake related, disabling AVX512F in command line might save that.)
(However, please make sure that there is no potential problems with AVX512.)

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

* RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  0:54 [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64 haochen.jiang
@ 2023-12-12  1:01 ` Andrew Pinski (QUIC)
  2023-12-12  1:10   ` Jiang, Haochen
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Pinski (QUIC) @ 2023-12-12  1:01 UTC (permalink / raw)
  To: haochen.jiang, Andrew Pinski (QUIC),
	gcc-regression, gcc-patches, haochen.jiang

> -----Original Message-----
> From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> Sent: Monday, December 11, 2023 4:54 PM
> To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> regression@gcc.gnu.org; gcc-patches@gcc.gnu.org; haochen.jiang@intel.com
> Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> assembler-times shrq 2 on Linux/x86_64
> 
> On Linux/x86_64,
> 
> 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit commit
> 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> Author: Andrew Pinski <quic_apinski@quicinc.com>
> Date:   Sat Nov 11 15:54:10 2023 -0800
> 
>     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type are
> the same
> 
> caused
> 
> FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2


So I think this is a testsuite issue, in that shrx instruction is being used here instead of just ` shrq` due to that instruction being enabled with `-march=cascadelake` .
Can someone confirm that and submit a testcase change?

Thanks,
Andrew

> 
> with GCC configured with
> 
> ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-zlib -
> -with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --
> enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
> 
> To reproduce:
> 
> $ cd {build_dir}/gcc && make check
> RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> target_board='unix{-m64\ -march=cascadelake}'"
> 
> (Please do not reply to this email, for question about this report, contact me at
> haochen dot jiang at intel.com.) (If you met problems with cascadelake
> related, disabling AVX512F in command line might save that.) (However,
> please make sure that there is no potential problems with AVX512.)

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

* RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  1:01 ` Andrew Pinski (QUIC)
@ 2023-12-12  1:10   ` Jiang, Haochen
  2023-12-12  5:47     ` Jiang, Haochen
  0 siblings, 1 reply; 7+ messages in thread
From: Jiang, Haochen @ 2023-12-12  1:10 UTC (permalink / raw)
  To: Andrew Pinski (QUIC), haochen.jiang, gcc-regression, gcc-patches

> -----Original Message-----
> From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> Sent: Tuesday, December 12, 2023 9:01 AM
> To: haochen.jiang <haochenj@ecsmtp.sh.intel.com>; Andrew Pinski (QUIC)
> <quic_apinski@quicinc.com>; gcc-regression@gcc.gnu.org; gcc-
> patches@gcc.gnu.org; Jiang, Haochen <haochen.jiang@intel.com>
> Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> assembler-times shrq 2 on Linux/x86_64
> 
> > -----Original Message-----
> > From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> > Sent: Monday, December 11, 2023 4:54 PM
> > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> > regression@gcc.gnu.org; gcc-patches@gcc.gnu.org; haochen.jiang@intel.com
> > Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> > assembler-times shrq 2 on Linux/x86_64
> >
> > On Linux/x86_64,
> >
> > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit commit
> > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> > Author: Andrew Pinski <quic_apinski@quicinc.com>
> > Date:   Sat Nov 11 15:54:10 2023 -0800
> >
> >     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type are
> > the same
> >
> > caused
> >
> > FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2
> 
> 
> So I think this is a testsuite issue, in that shrx instruction is being used here
> instead of just ` shrq` due to that instruction being enabled with `-
> march=cascadelake` .
> Can someone confirm that and submit a testcase change?

I will do that today.

Thx,
Haochen

> 
> Thanks,
> Andrew
> 
> >
> > with GCC configured with
> >
> > ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> > bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-zlib -
> > -with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --
> > enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
> >
> > To reproduce:
> >
> > $ cd {build_dir}/gcc && make check
> > RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> > target_board='unix{-m64\ -march=cascadelake}'"
> >
> > (Please do not reply to this email, for question about this report, contact me at
> > haochen dot jiang at intel.com.) (If you met problems with cascadelake
> > related, disabling AVX512F in command line might save that.) (However,
> > please make sure that there is no potential problems with AVX512.)

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

* RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  1:10   ` Jiang, Haochen
@ 2023-12-12  5:47     ` Jiang, Haochen
  2023-12-12  5:49       ` Andrew Pinski
  2023-12-12  6:05       ` Hongtao Liu
  0 siblings, 2 replies; 7+ messages in thread
From: Jiang, Haochen @ 2023-12-12  5:47 UTC (permalink / raw)
  To: Andrew Pinski (QUIC), haochen.jiang, gcc-regression, gcc-patches

> -----Original Message-----
> From: Jiang, Haochen
> Sent: Tuesday, December 12, 2023 9:11 AM
> To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; haochen.jiang
> <haochenj@ecsmtp.sh.intel.com>; gcc-regression@gcc.gnu.org; gcc-
> patches@gcc.gnu.org
> Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> assembler-times shrq 2 on Linux/x86_64
> 
> > -----Original Message-----
> > From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> > Sent: Tuesday, December 12, 2023 9:01 AM
> > To: haochen.jiang <haochenj@ecsmtp.sh.intel.com>; Andrew Pinski (QUIC)
> > <quic_apinski@quicinc.com>; gcc-regression@gcc.gnu.org; gcc-
> > patches@gcc.gnu.org; Jiang, Haochen <haochen.jiang@intel.com>
> > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> scan-
> > assembler-times shrq 2 on Linux/x86_64
> >
> > > -----Original Message-----
> > > From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> > > Sent: Monday, December 11, 2023 4:54 PM
> > > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> > > regression@gcc.gnu.org; gcc-patches@gcc.gnu.org;
> haochen.jiang@intel.com
> > > Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> > > assembler-times shrq 2 on Linux/x86_64
> > >
> > > On Linux/x86_64,
> > >
> > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit
> commit
> > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> > > Author: Andrew Pinski <quic_apinski@quicinc.com>
> > > Date:   Sat Nov 11 15:54:10 2023 -0800
> > >
> > >     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type
> are
> > > the same
> > >
> > > caused
> > >
> > > FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2
> >
> >
> > So I think this is a testsuite issue, in that shrx instruction is being used here
> > instead of just ` shrq` due to that instruction being enabled with `-
> > march=cascadelake` .
> > Can someone confirm that and submit a testcase change?
> 
> I will do that today.

I suppose we might just need to change the scan-asm from shrq to shr to cover
shrx.

Is that ok? If it is, I will commit a patch to change that.

Thx,
Haochen

> 
> Thx,
> Haochen
> 
> >
> > Thanks,
> > Andrew
> >
> > >
> > > with GCC configured with
> > >
> > > ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> > > bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-
> zlib -
> > > -with-demangler-in-ld --with-fpmath=sse --enable-
> languages=c,c++,fortran --
> > > enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
> > >
> > > To reproduce:
> > >
> > > $ cd {build_dir}/gcc && make check
> > > RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> > > target_board='unix{-m64\ -march=cascadelake}'"
> > >
> > > (Please do not reply to this email, for question about this report, contact
> me at
> > > haochen dot jiang at intel.com.) (If you met problems with cascadelake
> > > related, disabling AVX512F in command line might save that.) (However,
> > > please make sure that there is no potential problems with AVX512.)

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

* Re: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  5:47     ` Jiang, Haochen
@ 2023-12-12  5:49       ` Andrew Pinski
  2023-12-12  6:05       ` Hongtao Liu
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Pinski @ 2023-12-12  5:49 UTC (permalink / raw)
  To: Jiang, Haochen
  Cc: Andrew Pinski (QUIC), haochen.jiang, gcc-regression, GCC Patches

[-- Attachment #1: Type: text/plain, Size: 3447 bytes --]

On Mon, Dec 11, 2023, 21:48 Jiang, Haochen <haochen.jiang@intel.com> wrote:

> > -----Original Message-----
> > From: Jiang, Haochen
> > Sent: Tuesday, December 12, 2023 9:11 AM
> > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; haochen.jiang
> > <haochenj@ecsmtp.sh.intel.com>; gcc-regression@gcc.gnu.org; gcc-
> > patches@gcc.gnu.org
> > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> scan-
> > assembler-times shrq 2 on Linux/x86_64
> >
> > > -----Original Message-----
> > > From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> > > Sent: Tuesday, December 12, 2023 9:01 AM
> > > To: haochen.jiang <haochenj@ecsmtp.sh.intel.com>; Andrew Pinski (QUIC)
> > > <quic_apinski@quicinc.com>; gcc-regression@gcc.gnu.org; gcc-
> > > patches@gcc.gnu.org; Jiang, Haochen <haochen.jiang@intel.com>
> > > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> > scan-
> > > assembler-times shrq 2 on Linux/x86_64
> > >
> > > > -----Original Message-----
> > > > From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> > > > Sent: Monday, December 11, 2023 4:54 PM
> > > > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> > > > regression@gcc.gnu.org; gcc-patches@gcc.gnu.org;
> > haochen.jiang@intel.com
> > > > Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> scan-
> > > > assembler-times shrq 2 on Linux/x86_64
> > > >
> > > > On Linux/x86_64,
> > > >
> > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit
> > commit
> > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> > > > Author: Andrew Pinski <quic_apinski@quicinc.com>
> > > > Date:   Sat Nov 11 15:54:10 2023 -0800
> > > >
> > > >     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one
> type
> > are
> > > > the same
> > > >
> > > > caused
> > > >
> > > > FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2
> > >
> > >
> > > So I think this is a testsuite issue, in that shrx instruction is
> being used here
> > > instead of just ` shrq` due to that instruction being enabled with `-
> > > march=cascadelake` .
> > > Can someone confirm that and submit a testcase change?
> >
> > I will do that today.
>
> I suppose we might just need to change the scan-asm from shrq to shr to
> cover
> shrx.
>
> Is that ok? If it is, I will commit a patch to change that.
>


From my point of view, that would be the correct approach but I cannot
approve it.

Thanks,
Andrew




> Thx,
> Haochen
>
> >
> > Thx,
> > Haochen
> >
> > >
> > > Thanks,
> > > Andrew
> > >
> > > >
> > > > with GCC configured with
> > > >
> > > > ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> > > > bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-
> > zlib -
> > > > -with-demangler-in-ld --with-fpmath=sse --enable-
> > languages=c,c++,fortran --
> > > > enable-cet --without-isl --enable-libmpx x86_64-linux
> --disable-bootstrap
> > > >
> > > > To reproduce:
> > > >
> > > > $ cd {build_dir}/gcc && make check
> > > > RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> > > > target_board='unix{-m64\ -march=cascadelake}'"
> > > >
> > > > (Please do not reply to this email, for question about this report,
> contact
> > me at
> > > > haochen dot jiang at intel.com.) (If you met problems with
> cascadelake
> > > > related, disabling AVX512F in command line might save that.)
> (However,
> > > > please make sure that there is no potential problems with AVX512.)
>

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

* Re: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  5:47     ` Jiang, Haochen
  2023-12-12  5:49       ` Andrew Pinski
@ 2023-12-12  6:05       ` Hongtao Liu
  2023-12-12  8:21         ` Jiang, Haochen
  1 sibling, 1 reply; 7+ messages in thread
From: Hongtao Liu @ 2023-12-12  6:05 UTC (permalink / raw)
  To: Jiang, Haochen
  Cc: Andrew Pinski (QUIC), haochen.jiang, gcc-regression, gcc-patches

On Tue, Dec 12, 2023 at 1:47 PM Jiang, Haochen via Gcc-regression
<gcc-regression@gcc.gnu.org> wrote:
>
> > -----Original Message-----
> > From: Jiang, Haochen
> > Sent: Tuesday, December 12, 2023 9:11 AM
> > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; haochen.jiang
> > <haochenj@ecsmtp.sh.intel.com>; gcc-regression@gcc.gnu.org; gcc-
> > patches@gcc.gnu.org
> > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> > assembler-times shrq 2 on Linux/x86_64
> >
> > > -----Original Message-----
> > > From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> > > Sent: Tuesday, December 12, 2023 9:01 AM
> > > To: haochen.jiang <haochenj@ecsmtp.sh.intel.com>; Andrew Pinski (QUIC)
> > > <quic_apinski@quicinc.com>; gcc-regression@gcc.gnu.org; gcc-
> > > patches@gcc.gnu.org; Jiang, Haochen <haochen.jiang@intel.com>
> > > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> > scan-
> > > assembler-times shrq 2 on Linux/x86_64
> > >
> > > > -----Original Message-----
> > > > From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> > > > Sent: Monday, December 11, 2023 4:54 PM
> > > > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> > > > regression@gcc.gnu.org; gcc-patches@gcc.gnu.org;
> > haochen.jiang@intel.com
> > > > Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> > > > assembler-times shrq 2 on Linux/x86_64
> > > >
> > > > On Linux/x86_64,
> > > >
> > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit
> > commit
> > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> > > > Author: Andrew Pinski <quic_apinski@quicinc.com>
> > > > Date:   Sat Nov 11 15:54:10 2023 -0800
> > > >
> > > >     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type
> > are
> > > > the same
> > > >
> > > > caused
> > > >
> > > > FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2
> > >
> > >
> > > So I think this is a testsuite issue, in that shrx instruction is being used here
> > > instead of just ` shrq` due to that instruction being enabled with `-
> > > march=cascadelake` .
> > > Can someone confirm that and submit a testcase change?
> >
> > I will do that today.
>
> I suppose we might just need to change the scan-asm from shrq to shr to cover
> shrx.
Please use shr\[qx\], not shr.
>
> Is that ok? If it is, I will commit a patch to change that.
>
> Thx,
> Haochen
>
> >
> > Thx,
> > Haochen
> >
> > >
> > > Thanks,
> > > Andrew
> > >
> > > >
> > > > with GCC configured with
> > > >
> > > > ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> > > > bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-system-
> > zlib -
> > > > -with-demangler-in-ld --with-fpmath=sse --enable-
> > languages=c,c++,fortran --
> > > > enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
> > > >
> > > > To reproduce:
> > > >
> > > > $ cd {build_dir}/gcc && make check
> > > > RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> > > > target_board='unix{-m64\ -march=cascadelake}'"
> > > >
> > > > (Please do not reply to this email, for question about this report, contact
> > me at
> > > > haochen dot jiang at intel.com.) (If you met problems with cascadelake
> > > > related, disabling AVX512F in command line might save that.) (However,
> > > > please make sure that there is no potential problems with AVX512.)



-- 
BR,
Hongtao

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

* RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64
  2023-12-12  6:05       ` Hongtao Liu
@ 2023-12-12  8:21         ` Jiang, Haochen
  0 siblings, 0 replies; 7+ messages in thread
From: Jiang, Haochen @ 2023-12-12  8:21 UTC (permalink / raw)
  To: Hongtao Liu
  Cc: Andrew Pinski (QUIC),
	haochen.jiang, gcc-regression, gcc-patches, Uros Bizjak

> -----Original Message-----
> From: Hongtao Liu <crazylht@gmail.com>
> Sent: Tuesday, December 12, 2023 2:06 PM
> To: Jiang, Haochen <haochen.jiang@intel.com>
> Cc: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; haochen.jiang
> <haochenj@ecsmtp.sh.intel.com>; gcc-regression@gcc.gnu.org; gcc-
> patches@gcc.gnu.org
> Subject: Re: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-
> assembler-times shrq 2 on Linux/x86_64
> 
> On Tue, Dec 12, 2023 at 1:47 PM Jiang, Haochen via Gcc-regression
> <gcc-regression@gcc.gnu.org> wrote:
> >
> > > -----Original Message-----
> > > From: Jiang, Haochen
> > > Sent: Tuesday, December 12, 2023 9:11 AM
> > > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; haochen.jiang
> > > <haochenj@ecsmtp.sh.intel.com>; gcc-regression@gcc.gnu.org; gcc-
> > > patches@gcc.gnu.org
> > > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> scan-
> > > assembler-times shrq 2 on Linux/x86_64
> > >
> > > > -----Original Message-----
> > > > From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> > > > Sent: Tuesday, December 12, 2023 9:01 AM
> > > > To: haochen.jiang <haochenj@ecsmtp.sh.intel.com>; Andrew Pinski
> (QUIC)
> > > > <quic_apinski@quicinc.com>; gcc-regression@gcc.gnu.org; gcc-
> > > > patches@gcc.gnu.org; Jiang, Haochen <haochen.jiang@intel.com>
> > > > Subject: RE: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> > > scan-
> > > > assembler-times shrq 2 on Linux/x86_64
> > > >
> > > > > -----Original Message-----
> > > > > From: haochen.jiang <haochenj@ecsmtp.sh.intel.com>
> > > > > Sent: Monday, December 11, 2023 4:54 PM
> > > > > To: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>; gcc-
> > > > > regression@gcc.gnu.org; gcc-patches@gcc.gnu.org;
> > > haochen.jiang@intel.com
> > > > > Subject: [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c
> scan-
> > > > > assembler-times shrq 2 on Linux/x86_64
> > > > >
> > > > > On Linux/x86_64,
> > > > >
> > > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa is the first bad commit
> > > commit
> > > > > 85c5efcffed19ca6160eeecc2d4faebd9fee63aa
> > > > > Author: Andrew Pinski <quic_apinski@quicinc.com>
> > > > > Date:   Sat Nov 11 15:54:10 2023 -0800
> > > > >
> > > > >     MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one
> type
> > > are
> > > > > the same
> > > > >
> > > > > caused
> > > > >
> > > > > FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2
> > > >
> > > >
> > > > So I think this is a testsuite issue, in that shrx instruction is being used
> here
> > > > instead of just ` shrq` due to that instruction being enabled with `-
> > > > march=cascadelake` .
> > > > Can someone confirm that and submit a testcase change?
> > >
> > > I will do that today.
> >
> > I suppose we might just need to change the scan-asm from shrq to shr to
> cover
> > shrx.
> Please use shr\[qx\], not shr.

I see. I will take that.

Thx,
Haochen

> >
> > Is that ok? If it is, I will commit a patch to change that.
> >
> > Thx,
> > Haochen
> >
> > >
> > > Thx,
> > > Haochen
> > >
> > > >
> > > > Thanks,
> > > > Andrew
> > > >
> > > > >
> > > > > with GCC configured with
> > > > >
> > > > > ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-
> > > > > bisect/master/master/r14-6420/usr --enable-clocale=gnu --with-
> system-
> > > zlib -
> > > > > -with-demangler-in-ld --with-fpmath=sse --enable-
> > > languages=c,c++,fortran --
> > > > > enable-cet --without-isl --enable-libmpx x86_64-linux --disable-
> bootstrap
> > > > >
> > > > > To reproduce:
> > > > >
> > > > > $ cd {build_dir}/gcc && make check
> > > > > RUNTESTFLAGS="i386.exp=gcc.target/i386/pr110790-2.c --
> > > > > target_board='unix{-m64\ -march=cascadelake}'"
> > > > >
> > > > > (Please do not reply to this email, for question about this report,
> contact
> > > me at
> > > > > haochen dot jiang at intel.com.) (If you met problems with cascadelake
> > > > > related, disabling AVX512F in command line might save that.)
> (However,
> > > > > please make sure that there is no potential problems with AVX512.)
> 
> 
> 
> --
> BR,
> Hongtao

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

end of thread, other threads:[~2023-12-12  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12  0:54 [r14-6420 Regression] FAIL: gcc.target/i386/pr110790-2.c scan-assembler-times shrq 2 on Linux/x86_64 haochen.jiang
2023-12-12  1:01 ` Andrew Pinski (QUIC)
2023-12-12  1:10   ` Jiang, Haochen
2023-12-12  5:47     ` Jiang, Haochen
2023-12-12  5:49       ` Andrew Pinski
2023-12-12  6:05       ` Hongtao Liu
2023-12-12  8:21         ` Jiang, Haochen

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).