[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

Kewen Lin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #5 from Kewen Lin  ---
Should be fixed on latest trunk now.

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

--- Comment #4 from CVS Commits  ---
The master branch has been updated by Kewen Lin :

https://gcc.gnu.org/g:39d2411c787493adb1e1ae894cbef161cb7a114f

commit r12-8275-g39d2411c787493adb1e1ae894cbef161cb7a114f
Author: Kewen Lin 
Date:   Tue Apr 26 06:34:24 2022 -0500

rs6000: Move V2DI vec_neg under power8-vector [PR105271]

As PR105271 shows, __builtin_altivec_neg_v2di requires option
-mpower8-vector as its pattern expansion relies on subv2di which
has guard VECTOR_UNIT_P8_VECTOR_P (V2DImode).  This fix is to move
the related lines for __builtin_altivec_neg_v2di to the section
of stanza power8-vector.

PR target/105271

gcc/ChangeLog:

* config/rs6000/rs6000-builtins.def (NEG_V2DI): Move to
[power8-vector]
stanza.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/pr105271.c: New test.

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P1
 CC||jakub at gcc dot gnu.org

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |12.0

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

Kewen Lin  changed:

   What|Removed |Added

URL||https://gcc.gnu.org/piperma
   ||il/gcc-patches/2022-April/5
   ||93289.html

--- Comment #3 from Kewen Lin  ---
Forgot to note, a patch was posted at
https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593289.html.

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271

Kewen Lin  changed:

   What|Removed |Added

Summary|ICE in extract_insn, at |[12 Regression] ICE in
   |recog.cc:2791 (error:   |extract_insn, at
   |unrecognizable insn)|recog.cc:2791 (error:
   ||unrecognizable insn)

--- Comment #2 from Kewen Lin  ---
GCC11's behavior:

/opt/at15.0/bin//gcc test.c -mvsx -mcpu=power7
test.c: In function ‘test3’:
test.c:7:5: note: builtin ‘__builtin_vec_neg’ requires builtin
‘__builtin_altivec_neg_v2di’
7 | return vec_neg (x);
  | ^~
In file included from test.c:2:
test.c:7:12: error: ‘__builtin_altivec_neg_v2di’ requires the ‘-mpower8-vector’
option
7 | return vec_neg (x);
  |^~~