public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/112606] New: [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp'
Date: Sat, 18 Nov 2023 13:32:31 +0000	[thread overview]
Message-ID: <bug-112606-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112606

            Bug ID: 112606
           Summary: [14 Regression] powerpc64le-linux-gnu: 'FAIL:
                    gcc.target/powerpc/p8vector-fp.c scan-assembler
                    xsnabsdp'
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: pinskia at gcc dot gnu.org, xry111 at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64le-linux-gnu

If my tracking is to be believed, the recent commit
r14-5542-g9e9279fadbd1c673c875b9d20261d2de0473f63f "Only allow (copysign x,
NEG_CONST) -> (fneg (fabs x)) simplification for constant folding [PR112483]"
causes a regression for powerpc64le-linux-gnu:

    @@ -169558,7 +169764,7 @@ PASS: gcc.target/powerpc/p8vector-fp.c
scan-assembler xsdivdp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xsdivsp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xsmuldp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xsmulsp
    [-PASS:-]{+FAIL:+} gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnegdp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xssqrtdp
    PASS: gcc.target/powerpc/p8vector-fp.c scan-assembler xssqrtsp

With that commit reverted (PASS) vs. non-reverted (FAIL):

    --- p8vector-fp.s   2023-11-18 14:22:23.862421425 +0100
    +++ p8vector-fp.s   2023-11-18 14:11:49.554421425 +0100
    @@ -33,13 +33,15 @@
     0: addis 2,12,.TOC.-.LCF1@ha
        addi 2,2,.TOC.-.LCF1@l
        .localentry     nabs_sf,.-nabs_sf
    +   addis 9,2,.LC0@toc@ha
        lxsspx 32,0,3
     #APP
      # 16 "[...]/source-gcc/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c" 1
        # reg 32
      # 0 "" 2
     #NO_APP
    -   xsnabsdp 1,32
    +   lfs 1,.LC0@toc@l(9)
    +   xscpsgndp 1,1,32
        blr
        .long 0
        .byte 0,0,0,0,0,0,0,0
    @@ -201,13 +203,15 @@
     0: addis 2,12,.TOC.-.LCF9@ha
        addi 2,2,.TOC.-.LCF9@l
        .localentry     nabs_df,.-nabs_df
    +   addis 9,2,.LC2@toc@ha
        lxsdx 32,0,3
     #APP
      # 77 "[...]/source-gcc/gcc/testsuite/gcc.target/powerpc/p8vector-fp.c" 1
        # reg 32
      # 0 "" 2
     #NO_APP
    -   xsnabsdp 1,32
    +   lfd 1,.LC2@toc@l(9)
    +   xscpsgndp 1,1,32
        blr
        .long 0
        .byte 0,0,0,0,0,0,0,0
    @@ -338,5 +342,14 @@
        .cfi_endproc
     .LFE15:
        .size   sqrt_df,.-sqrt_df
    +   .section        .rodata.cst4,"aM",@progbits,4
    +   .align 2
    +.LC0:
    +   .long   -1082130432
    +   .section        .rodata.cst8,"aM",@progbits,8
    +   .align 3
    +.LC2:
    +   .long   0
    +   .long   -1074790400
        .gnu_attribute 4, 1
        .section        .note.GNU-stack,"",@progbits

             reply	other threads:[~2023-11-18 13:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-18 13:32 tschwinge at gcc dot gnu.org [this message]
2023-11-18 14:05 ` [Bug rtl-optimization/112606] " tnfchris at gcc dot gnu.org
2023-11-18 19:45 ` [Bug target/112606] " pinskia at gcc dot gnu.org
2023-11-24 17:59 ` jakub at gcc dot gnu.org
2023-11-28 19:43 ` seurer at gcc dot gnu.org
2023-12-05 20:40 ` cvs-commit at gcc dot gnu.org
2024-01-08  3:34 ` linkw at gcc dot gnu.org
2024-01-10  5:09 ` cvs-commit at gcc dot gnu.org
2024-01-10  5:20 ` linkw at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-112606-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).