Re: [PATCH] Fix 4 avx512* mask reg constraints

2016-08-12 Thread Uros Bizjak
On Fri, Aug 12, 2016 at 12:51 PM, Jakub Jelinek wrote: > Hi! > > For the VEXTRACT* insns, I can't find anything that would make them > special wrt. masking, so I believe they can't accept {%k0}, just > no masking or {%k1} through {%k7}. > > I've tried to reproduce it with: > #include > > __m128i

[PATCH] Fix 4 avx512* mask reg constraints

2016-08-12 Thread Jakub Jelinek
Hi! For the VEXTRACT* insns, I can't find anything that would make them special wrt. masking, so I believe they can't accept {%k0}, just no masking or {%k1} through {%k7}. I've tried to reproduce it with: #include __m128i f1 (__m128i a, __m512i b, __mmask8 c) { register __mmask8 d __asm ("k0"