public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE
@ 2023-02-08 20:53 seurer at gcc dot gnu.org
  2023-02-14  9:54 ` [Bug target/108728] " linkw at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-02-08 20:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108728
           Summary: gcc.dg/torture/float128-cmp-invalid.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}'
dg-torture.exp=gcc.dg/torture/float128-cmp-invalid.c"

This fail on power 9 (only) and fails for trunk as well as gcc 12, 11, and 10.

FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O0  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O1  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O3 -g  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -Os  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
# of expected passes            14
# of expected passes            7
# of expected passes            21
# of unexpected failures        7
# of unexpected failures        7

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

* [Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE
  2023-02-08 20:53 [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE seurer at gcc dot gnu.org
@ 2023-02-14  9:54 ` linkw at gcc dot gnu.org
  2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-02-14  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-02-14
                 CC|                            |linkw at gcc dot gnu.org,
                   |                            |meissner at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
Confirmed.

On Power8 it calls the lib function __lekf2, while on Power9 it leverages
xscmpuqp, but which doesn't raise invalid operation exception for qNaN
unfortunately. So it gets unexpected invalid exception result.

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

* [Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE
  2023-02-08 20:53 [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-14  9:54 ` [Bug target/108728] " linkw at gcc dot gnu.org
@ 2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
  2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
  2023-08-30  5:25 ` guihaoc at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-04-21  8:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:4dca6024fb8254117bc1b0ea005a92ee6a7b84be

commit r14-132-g4dca6024fb8254117bc1b0ea005a92ee6a7b84be
Author: Haochen Gui <guihaoc@gcc.gnu.org>
Date:   Fri Apr 21 16:35:07 2023 +0800

    testsuite: make ppc_cpu_supports_hw as effective target keyword [PR108728]

    gcc/testsuite/
            PR target/108728
            * lib/target-supports.exp (is-effective-target-keyword): Add
            ppc_cpu_supports_hw.

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

* [Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE
  2023-02-08 20:53 [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-14  9:54 ` [Bug target/108728] " linkw at gcc dot gnu.org
  2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
@ 2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
  2023-08-30  5:25 ` guihaoc at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-04-21  8:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by HaoChen Gui <guihaoc@gcc.gnu.org>:

https://gcc.gnu.org/g:6afa7d31a0e8865e17b317ada5cc5014b5d07da3

commit r14-133-g6afa7d31a0e8865e17b317ada5cc5014b5d07da3
Author: Haochen Gui <guihaoc@gcc.gnu.org>
Date:   Fri Apr 21 16:42:31 2023 +0800

    rs6000: xfail float128 comparison test case that fails on powerpc64.

    This patch xfails a float128 comparison test case on powerpc64 that
    fails due to a longstanding issue with floating-point compares.

    See PR58684 for more information.

    When float128 hardware is enabled (-mfloat128-hardware), xscmpuqp is
    generated for comparison which is unexpected.   When float128 software
    emulation is enabled (-mno-float128-hardware), we still have to xfail
    the hardware version (__lekf2_hw) which finally generates xscmpuqp.

    gcc/testsuite/
            PR target/108728
            * gcc.dg/torture/float128-cmp-invalid.c: Add xfail.

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

* [Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE
  2023-02-08 20:53 [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
@ 2023-08-30  5:25 ` guihaoc at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: guihaoc at gcc dot gnu.org @ 2023-08-30  5:25 UTC (permalink / raw)
  To: gcc-bugs

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

HaoChen Gui <guihaoc at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from HaoChen Gui <guihaoc at gcc dot gnu.org> ---
Fixed by xfail the test case.

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

end of thread, other threads:[~2023-08-30  5:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 20:53 [Bug target/108728] New: gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE seurer at gcc dot gnu.org
2023-02-14  9:54 ` [Bug target/108728] " linkw at gcc dot gnu.org
2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
2023-04-21  8:44 ` cvs-commit at gcc dot gnu.org
2023-08-30  5:25 ` guihaoc 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).