* [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