public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
@ 2020-10-06  1:03 seurer at gcc dot gnu.org
  2020-10-06  9:09 ` [Bug ipa/97301] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-10-06  1:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97301
           Summary: [11 regression] gcc.target/powerpc/sse-movlps-1.c
                    fails after r11-3434
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:c33f474239308d81bf96cfdb2520d25488ad8724, r11-3434

make  -k check-gcc RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/sse-movlps-1.c"

FAIL: gcc.target/powerpc/sse-movlps-1.c execution test

# of expected passes            1
# of unexpected failures        1

commit c33f474239308d81bf96cfdb2520d25488ad8724
Author: Jan Hubicka <jh@suse.cz>
Date:   Thu Sep 24 15:09:17 2020 +0200

(gdb) run
Starting program: /home/seurer/gcc/git/build/gcc-test/./sse-movlps-1.exe 

Program received signal SIGABRT, Aborted.
0x00003fffb7cd260c in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
55        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) where
#0  0x00003fffb7cd260c in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
#1  0x00003fffb7cd47f8 in __GI_abort () at abort.c:90
#2  0x0000000010000768 in sse_test () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/sse-movlps-1.c:46
#3  do_test () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/sse-check.h:14
#4  0x0000000010000510 in main () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/sse-check.h:20

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

* [Bug ipa/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
@ 2020-10-06  9:09 ` rguenth at gcc dot gnu.org
  2020-10-16 12:11 ` [Bug testsuite/97301] " rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-06  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
          Component|other                       |ipa
                 CC|                            |marxin at gcc dot gnu.org

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
  2020-10-06  9:09 ` [Bug ipa/97301] " rguenth at gcc dot gnu.org
@ 2020-10-16 12:11 ` rguenth at gcc dot gnu.org
  2021-01-14  9:24 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ipa                         |testsuite

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
testsuite issue - find the TBAA violation or add -fno-strict-aliasing.

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
  2020-10-06  9:09 ` [Bug ipa/97301] " rguenth at gcc dot gnu.org
  2020-10-16 12:11 ` [Bug testsuite/97301] " rguenth at gcc dot gnu.org
@ 2021-01-14  9:24 ` rguenth at gcc dot gnu.org
  2021-01-22 12:08 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-01-14  9:24 ` rguenth at gcc dot gnu.org
@ 2021-01-22 12:08 ` jakub at gcc dot gnu.org
  2021-01-23  8:43 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-01-22 12:08 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the right fix is:
2021-01-22  Jakub Jelinek  <jakub@redhat.com>

        PR testsuite/97301
        * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.

--- gcc/config/rs6000/mmintrin.h.jj     2021-01-04 10:25:46.794143679 +0100
+++ gcc/config/rs6000/mmintrin.h        2021-01-22 13:03:28.511043929 +0100
@@ -58,7 +58,8 @@
 #include <altivec.h>
 /* The Intel API is flexible enough that we must allow aliasing with other
    vector types, and their scalar components.  */
-typedef __attribute__ ((__aligned__ (8))) unsigned long long __m64;
+typedef __attribute__ ((__aligned__ (8),
+                       __may_alias__)) unsigned long long __m64;

 typedef __attribute__ ((__aligned__ (8)))
 union
which will then match the ppc64le *intrin.h emulation match what x86 is doing
TBAA-wise.  x86 mmintrin.h has:
typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-01-22 12:08 ` jakub at gcc dot gnu.org
@ 2021-01-23  8:43 ` cvs-commit at gcc dot gnu.org
  2021-01-23  8:43 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-23  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:c63f091db89a56ae56b2bfa2ba4d9e956bd9693f

commit r11-6879-gc63f091db89a56ae56b2bfa2ba4d9e956bd9693f
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sat Jan 23 09:41:58 2021 +0100

    rs6000: Fix up __m64 typedef in mmintrin.h [PR97301]

    The x86 __m64 type is defined as:
    /* The Intel API is flexible enough that we must allow aliasing with other
       vector types, and their scalar components.  */
    typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));
    and so matches the comment above it in that reads and stores through
    pointers to __m64 can alias anything.
    But in the rs6000 headers that is the case only for __m128, but not __m64.

    The following patch adds that attribute, which fixes the
    FAIL: gcc.target/powerpc/sse-movhps-1.c execution test
    FAIL: gcc.target/powerpc/sse-movlps-1.c execution test
    regressions that appeared when Honza improved ipa-modref.

    2021-01-23  Jakub Jelinek  <jakub@redhat.com>

            PR testsuite/97301
            * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-01-23  8:43 ` cvs-commit at gcc dot gnu.org
@ 2021-01-23  8:43 ` jakub at gcc dot gnu.org
  2021-01-29 19:19 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-01-23  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-01-23  8:43 ` jakub at gcc dot gnu.org
@ 2021-01-29 19:19 ` cvs-commit at gcc dot gnu.org
  2021-04-20 23:31 ` cvs-commit at gcc dot gnu.org
  2021-04-22 16:50 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-29 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:db9a3ce7b83ce3ed3e0ffe7eb7a918595640e161

commit r10-9319-gdb9a3ce7b83ce3ed3e0ffe7eb7a918595640e161
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sat Jan 23 09:41:58 2021 +0100

    rs6000: Fix up __m64 typedef in mmintrin.h [PR97301]

    The x86 __m64 type is defined as:
    /* The Intel API is flexible enough that we must allow aliasing with other
       vector types, and their scalar components.  */
    typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));
    and so matches the comment above it in that reads and stores through
    pointers to __m64 can alias anything.
    But in the rs6000 headers that is the case only for __m128, but not __m64.

    The following patch adds that attribute, which fixes the
    FAIL: gcc.target/powerpc/sse-movhps-1.c execution test
    FAIL: gcc.target/powerpc/sse-movlps-1.c execution test
    regressions that appeared when Honza improved ipa-modref.

    2021-01-23  Jakub Jelinek  <jakub@redhat.com>

            PR testsuite/97301
            * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2021-01-29 19:19 ` cvs-commit at gcc dot gnu.org
@ 2021-04-20 23:31 ` cvs-commit at gcc dot gnu.org
  2021-04-22 16:50 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-20 23:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:669d843e4f8e40bcf2cddce92cf8acc3d4851bc7

commit r9-9409-g669d843e4f8e40bcf2cddce92cf8acc3d4851bc7
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sat Jan 23 09:41:58 2021 +0100

    rs6000: Fix up __m64 typedef in mmintrin.h [PR97301]

    The x86 __m64 type is defined as:
    /* The Intel API is flexible enough that we must allow aliasing with other
       vector types, and their scalar components.  */
    typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));
    and so matches the comment above it in that reads and stores through
    pointers to __m64 can alias anything.
    But in the rs6000 headers that is the case only for __m128, but not __m64.

    The following patch adds that attribute, which fixes the
    FAIL: gcc.target/powerpc/sse-movhps-1.c execution test
    FAIL: gcc.target/powerpc/sse-movlps-1.c execution test
    regressions that appeared when Honza improved ipa-modref.

    2021-01-23  Jakub Jelinek  <jakub@redhat.com>

            PR testsuite/97301
            * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.

    (cherry picked from commit db9a3ce7b83ce3ed3e0ffe7eb7a918595640e161)

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

* [Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434
  2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2021-04-20 23:31 ` cvs-commit at gcc dot gnu.org
@ 2021-04-22 16:50 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-22 16:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:254b1a5abcad1d6d2f3c249cb8724004c51d80e9

commit r8-10876-g254b1a5abcad1d6d2f3c249cb8724004c51d80e9
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sat Jan 23 09:41:58 2021 +0100

    rs6000: Fix up __m64 typedef in mmintrin.h [PR97301]

    The x86 __m64 type is defined as:
    /* The Intel API is flexible enough that we must allow aliasing with other
       vector types, and their scalar components.  */
    typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));
    and so matches the comment above it in that reads and stores through
    pointers to __m64 can alias anything.
    But in the rs6000 headers that is the case only for __m128, but not __m64.

    The following patch adds that attribute, which fixes the
    FAIL: gcc.target/powerpc/sse-movhps-1.c execution test
    FAIL: gcc.target/powerpc/sse-movlps-1.c execution test
    regressions that appeared when Honza improved ipa-modref.

    2021-01-23  Jakub Jelinek  <jakub@redhat.com>

            PR testsuite/97301
            * config/rs6000/mmintrin.h (__m64): Add __may_alias__ attribute.

    (cherry picked from commit db9a3ce7b83ce3ed3e0ffe7eb7a918595640e161)

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

end of thread, other threads:[~2021-04-22 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06  1:03 [Bug other/97301] New: [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434 seurer at gcc dot gnu.org
2020-10-06  9:09 ` [Bug ipa/97301] " rguenth at gcc dot gnu.org
2020-10-16 12:11 ` [Bug testsuite/97301] " rguenth at gcc dot gnu.org
2021-01-14  9:24 ` rguenth at gcc dot gnu.org
2021-01-22 12:08 ` jakub at gcc dot gnu.org
2021-01-23  8:43 ` cvs-commit at gcc dot gnu.org
2021-01-23  8:43 ` jakub at gcc dot gnu.org
2021-01-29 19:19 ` cvs-commit at gcc dot gnu.org
2021-04-20 23:31 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:50 ` cvs-commit 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).