[PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Uros Bizjak
Hello! This ICE was caused by a peephole2 pattern that allowed non-general regs arguments. 2015-07-08 Uros Bizjak ubiz...@gmail.com PR target/66814 * config/i386/predicates.md (nonimmediate_gr_operand): New predicate. * config/i386/i386.md (not peephole2): Use

Re: [PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Jakub Jelinek
On Thu, Jul 09, 2015 at 10:13:49PM +0200, Uros Bizjak wrote: I was under impression that peephole2 pass doesn't see subregs of hard regs (all x86 predicates are written in this way). Even documentation somehow agrees with this: '(subreg:M1 REG:M2 BYTENUM)' 'subreg' expressions are

Re: [PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Jakub Jelinek
On Thu, Jul 09, 2015 at 05:22:33PM +0200, Uros Bizjak wrote: Hello! This ICE was caused by a peephole2 pattern that allowed non-general regs arguments. 2015-07-08 Uros Bizjak ubiz...@gmail.com PR target/66814 * config/i386/predicates.md (nonimmediate_gr_operand): New

Re: [PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Uros Bizjak
On Thu, Jul 9, 2015 at 9:38 PM, Jakub Jelinek ja...@redhat.com wrote: On Thu, Jul 09, 2015 at 05:22:33PM +0200, Uros Bizjak wrote: Hello! This ICE was caused by a peephole2 pattern that allowed non-general regs arguments. 2015-07-08 Uros Bizjak ubiz...@gmail.com PR target/66814

Re: [PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Uros Bizjak
On Thu, Jul 9, 2015 at 10:17 PM, Jakub Jelinek ja...@redhat.com wrote: On Thu, Jul 09, 2015 at 10:13:49PM +0200, Uros Bizjak wrote: I was under impression that peephole2 pass doesn't see subregs of hard regs (all x86 predicates are written in this way). Even documentation somehow agrees with