public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108730] New: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE
@ 2023-02-08 21:21 seurer at gcc dot gnu.org
  2023-02-24  6:24 ` [Bug testsuite/108730] " linkw at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-02-08 21:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108730
           Summary: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on
                    power 9 BE
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
bfp.exp=gcc.target/powerpc/bfp/scalar-test-neg-8.c"

This fails on power 9 (only) and fails for trunk as well as gcc 12, 11, and 10.
 Previously it was always unsupported.

FAIL: gcc.target/powerpc/bfp/scalar-test-neg-8.c (test for excess errors)
# of expected passes            2
# of expected passes            2
# of unexpected failures        1
# of unexpected failures        1
# of unresolved testcases       1
# of unresolved testcases       1

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

* [Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE
  2023-02-08 21:21 [Bug target/108730] New: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE seurer at gcc dot gnu.org
@ 2023-02-24  6:24 ` linkw at gcc dot gnu.org
  2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
  2023-03-08  8:03 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-02-24  6:24 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |linkw at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org
   Last reconfirmed|                            |2023-02-24
          Component|target                      |testsuite
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
The bif builtin_vsx_scalar_test_neg_qp is guarded with ieee128-hw, which
requires -m64, so the test case needs lp64 effective target.

  if (TARGET_FLOAT128_HW && !TARGET_64BIT)
    {
      if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
        error ("%qs requires %qs", "%<-mfloat128-hardware%>", "-m64");

      rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
    }

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

* [Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE
  2023-02-08 21:21 [Bug target/108730] New: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-24  6:24 ` [Bug testsuite/108730] " linkw at gcc dot gnu.org
@ 2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
  2023-03-08  8:03 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-08  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kewen Lin <linkw@gcc.gnu.org>:

https://gcc.gnu.org/g:9fd3d3567396e63cf5dde96ef03fcc92c6bcec71

commit r13-6541-g9fd3d3567396e63cf5dde96ef03fcc92c6bcec71
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Wed Mar 8 00:56:32 2023 -0600

    testsuite: Adjust scalar-test-neg-8.c with lp64 [PR108730]

    The built-in function scalar_test_neg_qp is under stanza
    ieee128-hw, that is TARGET_FLOAT128_HW.  Since we don't
    have float128 hardware support on 32-bit as follows:

    if (TARGET_FLOAT128_HW && !TARGET_64BIT)
      {
        if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
          error ("%qs requires %qs", "%<-mfloat128-hardware%>", "-m64");
        rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
      }

    So adjust the case with lp64 effective target accordingly.

            PR testsuite/108730

    gcc/testsuite/ChangeLog:

            * gcc.target/powerpc/bfp/scalar-test-neg-8.c: Adjust with lp64
            effective target requirement.

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

* [Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE
  2023-02-08 21:21 [Bug target/108730] New: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-24  6:24 ` [Bug testsuite/108730] " linkw at gcc dot gnu.org
  2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
@ 2023-03-08  8:03 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-03-08  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
           Keywords|                            |testsuite-fail

--- Comment #3 from Kewen Lin <linkw at gcc dot gnu.org> ---
Should be fixed on trunk.

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 21:21 [Bug target/108730] New: gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE seurer at gcc dot gnu.org
2023-02-24  6:24 ` [Bug testsuite/108730] " linkw at gcc dot gnu.org
2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
2023-03-08  8:03 ` linkw at gcc dot gnu.org

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