* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
@ 2021-12-10 9:48 ` linkw at gcc dot gnu.org
2021-12-10 13:28 ` wschmidt at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: linkw at gcc dot gnu.org @ 2021-12-10 9:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |linkw at gcc dot gnu.org,
| |wschmidt at gcc dot gnu.org
--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
Confirmed, started to fail from r12-5752.
The __builtin_vec_vcmpeq_p for doubleword overload requires power8-vector. Its
current stanza is vsx, but should be power8-vector. The related bifs are:
const vsll __builtin_altivec_vcmpequd (vull, vull);
const int __builtin_altivec_vcmpequd_p (int, vsll, vsll);
const vsll __builtin_altivec_vcmpgtsd (vsll, vsll);
const int __builtin_altivec_vcmpgtsd_p (int, vsll, vsll);
const vsll __builtin_altivec_vcmpgtud (vull, vull);
const int __builtin_altivec_vcmpgtud_p (int, vsll, vsll);
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
2021-12-10 9:48 ` [Bug target/103625] " linkw at gcc dot gnu.org
@ 2021-12-10 13:28 ` wschmidt at gcc dot gnu.org
2021-12-10 13:29 ` wschmidt at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-10 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
Bill Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org
Target Milestone|--- |12.0
--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
2021-12-10 9:48 ` [Bug target/103625] " linkw at gcc dot gnu.org
2021-12-10 13:28 ` wschmidt at gcc dot gnu.org
@ 2021-12-10 13:29 ` wschmidt at gcc dot gnu.org
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-10 13:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
BTW, Arseny, please CC me on any other built-in issues you see.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (2 preceding siblings ...)
2021-12-10 13:29 ` wschmidt at gcc dot gnu.org
@ 2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-12 16:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Kewen, how did you confirm this? My cross doesn't accept -mvsx as valid.
$ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c
-B/home/wschmidt/gcc/build/gcc-e300/gcc
/home/wschmidt/gcc/build/gcc-e300/gcc/as: line 114: exec: -m: invalid option
exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (3 preceding siblings ...)
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
@ 2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
2021-12-13 2:23 ` linkw at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-12 16:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
Bill Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-12-12
Status|UNCONFIRMED |NEW
--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Confirmed by Kewen, so setting status.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (4 preceding siblings ...)
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
@ 2021-12-13 2:23 ` linkw at gcc dot gnu.org
2021-12-13 13:27 ` wschmidt at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: linkw at gcc dot gnu.org @ 2021-12-13 2:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #6 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to Bill Schmidt from comment #4)
> Kewen, how did you confirm this? My cross doesn't accept -mvsx as valid.
>
> $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c
> -B/home/wschmidt/gcc/build/gcc-e300/gcc
> /home/wschmidt/gcc/build/gcc-e300/gcc/as: line 114: exec: -m: invalid option
> exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
I used the original command which doesn't specify -O2. I just confirmed that
it's reproducible with that, just noticed that with O2 all seems optimized out,
then it's going to invoke assembler (-S can make it silent).
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (5 preceding siblings ...)
2021-12-13 2:23 ` linkw at gcc dot gnu.org
@ 2021-12-13 13:27 ` wschmidt at gcc dot gnu.org
2021-12-13 13:28 ` wschmidt at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-13 13:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Oh, duh, sorry. Yes, I can reproduce as well.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (6 preceding siblings ...)
2021-12-13 13:27 ` wschmidt at gcc dot gnu.org
@ 2021-12-13 13:28 ` wschmidt at gcc dot gnu.org
2021-12-13 16:19 ` wschmidt at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-13 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
And Kewen's analysis is spot-on, will fix that.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (7 preceding siblings ...)
2021-12-13 13:28 ` wschmidt at gcc dot gnu.org
@ 2021-12-13 16:19 ` wschmidt at gcc dot gnu.org
2021-12-14 17:20 ` cvs-commit at gcc dot gnu.org
2021-12-14 17:27 ` wschmidt at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-13 16:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #9 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Patch posted here:
https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586713.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (8 preceding siblings ...)
2021-12-13 16:19 ` wschmidt at gcc dot gnu.org
@ 2021-12-14 17:20 ` cvs-commit at gcc dot gnu.org
2021-12-14 17:27 ` wschmidt at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-14 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by William Schmidt <wschmidt@gcc.gnu.org>:
https://gcc.gnu.org/g:936051f9241ee2eafae8f5b8a4ad99fd7ed693bc
commit r12-5964-g936051f9241ee2eafae8f5b8a4ad99fd7ed693bc
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Mon Dec 13 09:30:18 2021 -0600
rs6000: Builtins for doubleword compare should be in [power8-vector]
(PR103625)
2021-12-13 Bill Schmidt <wschmidt@linux.ibm.com>
gcc/
PR target/103625
* config/rs6000/rs6000-builtin-new.def
(__builtin_altivec_vcmpequd):
Move to power8-vector stanza.
(__builtin_altivec_vcmpequd_p): Likewise.
(__builtin_altivec_vcmpgtsd): Likewise.
(__builtin_altivec_vcmpgtsd_p): Likewise.
(__builtin_altivec_vcmpgtud): Likewise.
(__builtin_altivec_vcmpgtud_p): Likewise.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
` (9 preceding siblings ...)
2021-12-14 17:20 ` cvs-commit at gcc dot gnu.org
@ 2021-12-14 17:27 ` wschmidt at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2021-12-14 17:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625
Bill Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #11 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 12+ messages in thread