https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #7 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Nov 7 18:51:22 2017
New Revision: 254505
URL: https://gcc.gnu.org/viewcvs?rev=254505&root=gcc&view=rev
Log:
PR target/80425
* config/i386.i386.md (*zero_exten
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #6 from Uroš Bizjak ---
Mostly fixed, an issue from Comment #4 remains, although *zero_extendsidi2
pattern now reads:
(define_insn "*zero_extendsidi2"
[(set (match_operand:DI 0 "nonimmediate_operand"
"=r,?r,?o,r ,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #5 from Uroš Bizjak ---
Author: uros
Date: Mon May 15 19:04:35 2017
New Revision: 248070
URL: https://gcc.gnu.org/viewcvs?rev=248070&root=gcc&view=rev
Log:
* config/i386.i386.md (*zero_extendsidi2): Do not penalize
no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #4 from Uroš Bizjak ---
(In reply to Uroš Bizjak from comment #1)
> Looks like RA issue.
A related problem is shown with:
extern int a;
__m512i
f1 (__m512i x)
{
return _mm512_srai_epi32 (x, a);
}
compiled with -O2 -mavx512f:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #3 from Uroš Bizjak ---
(In reply to Vladimir Makarov from comment #2)
> So I don't know how to fix it in IRA or in LRA. I am pretty sure the
> old RA and reload would have had the same problem.
>
> Probably the issue should be fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
--- Comment #2 from Vladimir Makarov ---
We have the following fragment:
8: r96:DI=zero_extend(r93:SI)
REG_DEAD r93:SI
13: r91:V8DI#0=r95:V16SI>>r96:DI
REG_DEAD r96:DI
REG_DEAD r95:V16SI
IRA allocates general regs to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425
Uroš Bizjak changed:
What|Removed |Added
Keywords||ra
Status|UNCONFIRMED