public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933
@ 2022-09-13 13:56 guojiufu at gcc dot gnu.org
  2022-09-13 14:08 ` [Bug middle-end/106928] " guojiufu at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2022-09-13 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106928
           Summary: 500.perlbench_r fail(VE) since r13-1933
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: guojiufu at gcc dot gnu.org
  Target Milestone: ---

With the latest trunk, the 500.perlbench_r (-Ofast) from spec2017 encounter VE
on power9 and power10 on no matter with or without
-fno-unsafe-math-optimizations.

With bisect, the commit may be r13-1933 (Implement basic range operators to
enable floating point VRP).


One compiling command:
gcc     -std=c99   -m64 -c -o reentr.o -DSPEC -DNDEBUG -DPERL_CORE -I.
-Idist/IO -Icpan/Time-HiRes -Icpan/HTML-Parser -Iext/re -Ispecrand
-DDOUBLE_SLASHES_SPECIAL=0 -DSPEC_AUTO_SUPPRESS_OPENMP -D_LARGE_FILES
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Ofast 
-fno-unsafe-math-optimizations        -DSPEC_LINUX_PPC_LE   
-fno-strict-aliasing -fgnu89-inline   -DSPEC_LP64  reentr.c



In configure, I use:

default=base:         # flags for all base                                      
   OPTIMIZE    = -Ofast  -fno-unsafe-math-optimizations                         
   FOPTIMIZE = -std=legacy
intrate,intspeed=base: # flags for integer base                                 
   EXTRA_COPTIMIZE   = -fno-strict-aliasing -fgnu89-inline


Log message:
*** Miscompare of diffmail.4.800.10.17.19.300.out; for details see

benchspec/CPU/500.perlbench_r/run/run_base_refrate_base_64.0000/diffmail.4.800.10.17.19.300.out.mis
Error: 1x500.perlbench_r

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

* [Bug middle-end/106928] 500.perlbench_r fail(VE) since r13-1933
  2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
@ 2022-09-13 14:08 ` guojiufu at gcc dot gnu.org
  2022-09-13 14:19 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2022-09-13 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
The out.mis file:
3258:  # of abstol errors: 0
       Minimum abstol: nan
       ^
3259:  Maximum reltol: 0.00000e+00
       # of abstol errors: 0
       ^
3260:  # of reltol errors: 0
       Maximum reltol: 0.00000e+00
       ^
3261:  # of obiwan errors: 0
       Minimum reltol: nan
       ^
3262:  # of skiptol errors: 0
       # of reltol errors: 0
            ^
3263:  specdiff run completed
       # of obiwan errors: 0
       ^
3264:  (0, 1): spec_diff(--lines, 10, --quiet, --calctol, --histogram, -m,
--cw, one002, two003)
       # of skiptol errors: 0
       ^
3265:  Absolute differences:
       specdiff run completed
       ^
3266:        *
       (0, 1): spec_diff(--lines, 10, --quiet, --calctol, --histogram, -m,
--cw, one002, two003)
       ^
3267:        *
       Absolute differences:
       ^

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

* [Bug middle-end/106928] 500.perlbench_r fail(VE) since r13-1933
  2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
  2022-09-13 14:08 ` [Bug middle-end/106928] " guojiufu at gcc dot gnu.org
@ 2022-09-13 14:19 ` marxin at gcc dot gnu.org
  2022-09-14  2:10 ` guojiufu at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-09-13 14:19 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I think you missed -fno-finite-math-only option as documented here:
https://www.spec.org/cpu2017/Docs/benchmarks/500.perlbench_r.html#portability

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

* [Bug middle-end/106928] 500.perlbench_r fail(VE) since r13-1933
  2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
  2022-09-13 14:08 ` [Bug middle-end/106928] " guojiufu at gcc dot gnu.org
  2022-09-13 14:19 ` marxin at gcc dot gnu.org
@ 2022-09-14  2:10 ` guojiufu at gcc dot gnu.org
  2024-05-02 21:31 ` pinskia at gcc dot gnu.org
  2024-05-02 21:31 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2022-09-14  2:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #2)
> I think you missed -fno-finite-math-only option as documented here:
> https://www.spec.org/cpu2017/Docs/benchmarks/500.perlbench_r.html#portability

Thanks! It pass with -fno-finite-math-only.

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

* [Bug middle-end/106928] 500.perlbench_r fail(VE) since r13-1933
  2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-09-14  2:10 ` guojiufu at gcc dot gnu.org
@ 2024-05-02 21:31 ` pinskia at gcc dot gnu.org
  2024-05-02 21:31 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-02 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---


*** This bug has been marked as a duplicate of bug 103318 ***

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

* [Bug middle-end/106928] 500.perlbench_r fail(VE) since r13-1933
  2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-05-02 21:31 ` pinskia at gcc dot gnu.org
@ 2024-05-02 21:31 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-02 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---


*** This bug has been marked as a duplicate of bug 103088 ***

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

end of thread, other threads:[~2024-05-02 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13 13:56 [Bug middle-end/106928] New: 500.perlbench_r fail(VE) since r13-1933 guojiufu at gcc dot gnu.org
2022-09-13 14:08 ` [Bug middle-end/106928] " guojiufu at gcc dot gnu.org
2022-09-13 14:19 ` marxin at gcc dot gnu.org
2022-09-14  2:10 ` guojiufu at gcc dot gnu.org
2024-05-02 21:31 ` pinskia at gcc dot gnu.org
2024-05-02 21:31 ` pinskia 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).