* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
@ 2020-12-06 15:27 ` mikpelinux at gmail dot com
2021-04-28 10:24 ` redi at gcc dot gnu.org
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: mikpelinux at gmail dot com @ 2020-12-06 15:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Care to submit this to gcc-patches?
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
2020-12-06 15:27 ` [Bug target/97367] " mikpelinux at gmail dot com
@ 2021-04-28 10:24 ` redi at gcc dot gnu.org
2021-04-28 10:33 ` redi at gcc dot gnu.org
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-28 10:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Mikael Pettersson from comment #1)
> Care to submit this to gcc-patches?
Please send it to the mailing list. Patches don't go in bugzilla, thanks.
https://gcc.gnu.org/contribute.html#patches
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
2020-12-06 15:27 ` [Bug target/97367] " mikpelinux at gmail dot com
2021-04-28 10:24 ` redi at gcc dot gnu.org
@ 2021-04-28 10:33 ` redi at gcc dot gnu.org
2021-04-28 10:36 ` redi at gcc dot gnu.org
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-28 10:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
URL| |https://gcc.gnu.org/piperma
| |il/gcc-patches/2020-Decembe
| |r/560994.html
Target|powerpc |powerpc*-*-*
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ah yes, it was sent to the ML:
https://gcc.gnu.org/pipermail/gcc-patches/2020-December/560994.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (2 preceding siblings ...)
2021-04-28 10:33 ` redi at gcc dot gnu.org
@ 2021-04-28 10:36 ` redi at gcc dot gnu.org
2024-03-08 8:59 ` rene at exactcode dot de
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-28 10:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Rebased patch:
https://svn.exactcode.de/t2/trunk/package/develop/gcc/g5-cell-not-power7.patch
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (3 preceding siblings ...)
2021-04-28 10:36 ` redi at gcc dot gnu.org
@ 2024-03-08 8:59 ` rene at exactcode dot de
2024-03-08 9:21 ` sjames at gcc dot gnu.org
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rene at exactcode dot de @ 2024-03-08 8:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #5 from René Rebe <rene at exactcode dot de> ---
latest version:
https://svn.exactcode.de/t2/trunk/package/develop/gcc/hotfix-g5-power4.patch
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (4 preceding siblings ...)
2024-03-08 8:59 ` rene at exactcode dot de
@ 2024-03-08 9:21 ` sjames at gcc dot gnu.org
2024-03-08 21:30 ` bergner at gcc dot gnu.org
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-03-08 9:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #6 from Sam James <sjames at gcc dot gnu.org> ---
Please send it to the ML with git-send-email.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (5 preceding siblings ...)
2024-03-08 9:21 ` sjames at gcc dot gnu.org
@ 2024-03-08 21:30 ` bergner at gcc dot gnu.org
2024-06-12 19:51 ` redi at gcc dot gnu.org
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bergner at gcc dot gnu.org @ 2024-03-08 21:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |linkw at gcc dot gnu.org
--- Comment #7 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Sam James from comment #6)
> Please send it to the ML with git-send-email.
...and CC our port maintainers, Segher, Ke Wen and David who are all on CC
here.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (6 preceding siblings ...)
2024-03-08 21:30 ` bergner at gcc dot gnu.org
@ 2024-06-12 19:51 ` redi at gcc dot gnu.org
2024-07-12 22:06 ` bergner at gcc dot gnu.org
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2024-06-12 19:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma
|il/gcc-patches/2020-Decembe |il/gcc-patches/2024-June/65
|r/560994.html |4217.html
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Updated patch https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654217.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (7 preceding siblings ...)
2024-06-12 19:51 ` redi at gcc dot gnu.org
@ 2024-07-12 22:06 ` bergner at gcc dot gnu.org
2024-07-18 18:14 ` cvs-commit at gcc dot gnu.org
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bergner at gcc dot gnu.org @ 2024-07-12 22:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Target Milestone|--- |15.0
URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma
|il/gcc-patches/2024-June/65 |il/gcc-patches/2024-July/65
|4217.html |7184.html
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-07-12
--- Comment #9 from Peter Bergner <bergner at gcc dot gnu.org> ---
I posted an updated version of the latest patch that incorporates the review
comments plus an additional code change from myself.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (8 preceding siblings ...)
2024-07-12 22:06 ` bergner at gcc dot gnu.org
@ 2024-07-18 18:14 ` cvs-commit at gcc dot gnu.org
2024-07-18 18:20 ` bergner at gcc dot gnu.org
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-07-18 18:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:6962835bca3e6bef0f6ceae84a7814138b08b8a5
commit r15-2144-g6962835bca3e6bef0f6ceae84a7814138b08b8a5
Author: René Rebe <rene@exactcode.de>
Date: Fri Jul 12 21:17:08 2024 +0000
rs6000: Fix .machine cpu selection w/ altivec [PR97367]
There are various non-IBM CPUs with altivec, so we cannot use that
flag to determine which .machine cpu to use, so ignore it.
Emit an additional ".machine altivec" if Altivec is enabled so
that the assembler doesn't require an explicit -maltivec option
to assemble any Altivec instructions for those targets where
the ".machine cpu" is insufficient to enable Altivec. For example,
-mcpu=G5 emits a ".machine power4".
2024-07-18 René Rebe <rene@exactcode.de>
Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/97367
* config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not
consider
OPTION_MASK_ALTIVEC.
(emit_asm_machine): For Altivec compiles, emit a ".machine
altivec".
gcc/testsuite/
PR target/97367
* gcc.target/powerpc/pr97367.c: New test.
Signed-off-by: René Rebe <rene@exactcode.de>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (9 preceding siblings ...)
2024-07-18 18:14 ` cvs-commit at gcc dot gnu.org
@ 2024-07-18 18:20 ` bergner at gcc dot gnu.org
2024-07-19 20:07 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bergner at gcc dot gnu.org @ 2024-07-18 18:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org
--- Comment #11 from Peter Bergner <bergner at gcc dot gnu.org> ---
Fixed on trunk. I'll push the backports after a little burn-in time on trunk.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (10 preceding siblings ...)
2024-07-18 18:20 ` bergner at gcc dot gnu.org
@ 2024-07-19 20:07 ` cvs-commit at gcc dot gnu.org
2024-07-19 20:18 ` bergner at gcc dot gnu.org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-07-19 20:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:1205104bbef40abe3baa5965a676f3b0f68971dd
commit r14-10476-g1205104bbef40abe3baa5965a676f3b0f68971dd
Author: René Rebe <rene@exactcode.de>
Date: Fri Jul 12 21:17:08 2024 +0000
rs6000: Fix .machine cpu selection w/ altivec [PR97367]
There are various non-IBM CPUs with altivec, so we cannot use that
flag to determine which .machine cpu to use, so ignore it.
Emit an additional ".machine altivec" if Altivec is enabled so
that the assembler doesn't require an explicit -maltivec option
to assemble any Altivec instructions for those targets where
the ".machine cpu" is insufficient to enable Altivec. For example,
-mcpu=G5 emits a ".machine power4".
2024-07-18 René Rebe <rene@exactcode.de>
Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/97367
* config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not
consider
OPTION_MASK_ALTIVEC.
(emit_asm_machine): For Altivec compiles, emit a ".machine
altivec".
gcc/testsuite/
PR target/97367
* gcc.target/powerpc/pr97367.c: New test.
Signed-off-by: René Rebe <rene@exactcode.de>
(cherry picked from commit 6962835bca3e6bef0f6ceae84a7814138b08b8a5)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (11 preceding siblings ...)
2024-07-19 20:07 ` cvs-commit at gcc dot gnu.org
@ 2024-07-19 20:18 ` bergner at gcc dot gnu.org
2024-07-20 2:20 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: bergner at gcc dot gnu.org @ 2024-07-19 20:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #13 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #11)
> Fixed on trunk. I'll push the backports after a little burn-in time on
> trunk.
All of Bill's CI testers were green wrt this test case, so I've started
backports.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (12 preceding siblings ...)
2024-07-19 20:18 ` bergner at gcc dot gnu.org
@ 2024-07-20 2:20 ` cvs-commit at gcc dot gnu.org
2024-07-20 16:07 ` cvs-commit at gcc dot gnu.org
2024-07-20 16:07 ` bergner at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-07-20 2:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:44fe2c06a156a63f7ae359fd5dd3ce98afa3e92a
commit r13-8925-g44fe2c06a156a63f7ae359fd5dd3ce98afa3e92a
Author: René Rebe <rene@exactcode.de>
Date: Fri Jul 12 21:17:08 2024 +0000
rs6000: Fix .machine cpu selection w/ altivec [PR97367]
There are various non-IBM CPUs with altivec, so we cannot use that
flag to determine which .machine cpu to use, so ignore it.
Emit an additional ".machine altivec" if Altivec is enabled so
that the assembler doesn't require an explicit -maltivec option
to assemble any Altivec instructions for those targets where
the ".machine cpu" is insufficient to enable Altivec. For example,
-mcpu=G5 emits a ".machine power4".
2024-07-18 René Rebe <rene@exactcode.de>
Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/97367
* config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not
consider
OPTION_MASK_ALTIVEC.
(emit_asm_machine): For Altivec compiles, emit a ".machine
altivec".
gcc/testsuite/
PR target/97367
* gcc.target/powerpc/pr97367.c: New test.
Signed-off-by: René Rebe <rene@exactcode.de>
(cherry picked from commit 6962835bca3e6bef0f6ceae84a7814138b08b8a5)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (13 preceding siblings ...)
2024-07-20 2:20 ` cvs-commit at gcc dot gnu.org
@ 2024-07-20 16:07 ` cvs-commit at gcc dot gnu.org
2024-07-20 16:07 ` bergner at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-07-20 16:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:319b57fb02b52ba9036c00dda36ff28d8274e13d
commit r12-10628-g319b57fb02b52ba9036c00dda36ff28d8274e13d
Author: René Rebe <rene@exactcode.de>
Date: Fri Jul 12 21:17:08 2024 +0000
rs6000: Fix .machine cpu selection w/ altivec [PR97367]
There are various non-IBM CPUs with altivec, so we cannot use that
flag to determine which .machine cpu to use, so ignore it.
Emit an additional ".machine altivec" if Altivec is enabled so
that the assembler doesn't require an explicit -maltivec option
to assemble any Altivec instructions for those targets where
the ".machine cpu" is insufficient to enable Altivec. For example,
-mcpu=G5 emits a ".machine power4".
2024-07-18 René Rebe <rene@exactcode.de>
Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/97367
* config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not
consider
OPTION_MASK_ALTIVEC.
(emit_asm_machine): For Altivec compiles, emit a ".machine
altivec".
gcc/testsuite/
PR target/97367
* gcc.target/powerpc/pr97367.c: New test.
Signed-off-by: René Rebe <rene@exactcode.de>
(cherry picked from commit 6962835bca3e6bef0f6ceae84a7814138b08b8a5)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7
2020-10-11 10:59 [Bug target/97367] New: powerpc64 g5 and cell optimizations result in .machine power7 rene at exactcode dot de
` (14 preceding siblings ...)
2024-07-20 16:07 ` cvs-commit at gcc dot gnu.org
@ 2024-07-20 16:07 ` bergner at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: bergner at gcc dot gnu.org @ 2024-07-20 16:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #16 from Peter Bergner <bergner at gcc dot gnu.org> ---
Fixed everywhere.
^ permalink raw reply [flat|nested] 17+ messages in thread