On 7/18/19 10:05 AM, Jan Beulich wrote:
>>>> On 27.06.19 at 10:59,  wrote:
>> NOT on vectors of integers does not require loading a constant vector of
>> all ones into a register - VPTERNLOG can be used here (and could/should
>> be further used to carry out other binary and ternary logical operations
>> which don't have a special purpose instruction).
>>
>> gcc/
>> 2019-06-27  Jan Beulich  <jbeul...@suse.com>
>>
>>      * config/i386/sse.md (ternlogsuffix): New.
>>      (one_cmpl<mode>2): Don't force CONSTM1_RTX into a register when
>>      AVX512F is in use.
>>      (<mask_codefor>one_cmpl<mode>2<mask_name>): New.
I'll trust you got the constant right, I didn't work through that aspect
of how vpternlog works.

OK for the trunk,
jeff

Reply via email to