This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][x86_64] Enable AVX512 VPOPCNTD/VPOPCNTQ instructions
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Dec 2016 14:47:17 +0100
- Subject: Re: [PATCH][x86_64] Enable AVX512 VPOPCNTD/VPOPCNTQ instructions
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4YkCBW09N7BLOLLu9cL1kEoD9LcxKTgw2u=yJwvqnFf3A@mail.gmail.com> <CAMXFM3sbGbB6wHM=FMruNVa93N0WfH1ivt7vs7Hemc6cB+1=-g@mail.gmail.com>
On Tue, Dec 27, 2016 at 2:40 PM, Andrew Senkevich
<andrew.n.senkevich@gmail.com> wrote:
> 2016-12-27 16:35 GMT+03:00 Uros Bizjak <ubizjak@gmail.com>:
>> Hello!
>>
>>> this patch enables AVX512 VPOPCNTD/VPOPCNTQ instructions recently
>>> added in Instruction Set Extensions
>>> (https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf).
>>
>> @@ -265,6 +268,9 @@
>> (define_mode_iterator VF_512
>> [V16SF V8DF])
>>
>> +(define_mode_iterator VI_AVX512F
>> + [V16SI V8DI])
>>
>> Please name this iterator VI_512.
>
> But there are already VI_512 :)
>
> ;; All 512bit vector integer modes
> (define_mode_iterator VI_512
> [(V64QI "TARGET_AVX512BW")
> (V32HI "TARGET_AVX512BW")
> V16SI V8DI])
Eh, this one is duplicate of VI_AVX512BW and should be removed.
Uros.