[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2021-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 Hongtao.liu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:52e7f09698ecb5ba6d9e921ffe912d1f66158e9e commit r11-4204-g52e7f09698ecb5ba6d9e921ffe912d1f66158e9e Author: liuhongt Date: Tue Oct

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #7 from Hongtao.liu --- I'm testing --- diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 869f0d11b2e..9c397157f28 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -4170,6 +4170,33 @@ simplify_binary_operation_1

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #6 from Hongtao.liu --- We all ready have bellow in simplify-rtx.c, it seems we can also handle such situation here. --- 3954 case VEC_SELECT: 3955 if (!VECTOR_MODE_P (mode)) 3956 { 3957 gcc_assert

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #5 from Segher Boessenkool --- (In reply to Richard Biener from comment #3) > Guess you want to figure what built the (vec_select:V8QI (V16QI)) and if > it was appropriately simplified (and simplify_rtx would handle this case). > In

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-10-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #4 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > Guess you want to figure what built the (vec_select:V8QI (V16QI)) and if > it was appropriately simplified (and simplify_rtx would handle this case). > In any

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-09-30 CC|

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-09-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #2 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > for i386 backend, maybe we can adjust pattern of > > diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md > index 934b60a288f..2bfa9635fab 100644 > ---

[Bug rtl-optimization/97249] Missing vec_select and subreg optimization

2020-09-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #1 from Hongtao.liu --- for i386 backend, maybe we can adjust pattern of diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 934b60a288f..2bfa9635fab 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@