This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add AVX512 k-mask intrinsics
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Kirill Yukhin <kirill dot yukhin at gmail dot com>, Thomas Schwinge <thomas at codesourcery dot com>, Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Biener <rguenther at suse dot de>
- Date: Thu, 26 Jan 2017 11:54:52 +0100
- Subject: Re: [PATCH] Add AVX512 k-mask intrinsics
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3sOT+QWaH==NPo8h4SCiYk82fO9bibN+5G1B4Etp6_h1w@mail.gmail.com> <20170119103859.GA35306@ubuntu> <CAMXFM3vLdWVF2CQTcz=g1h5ic8Lx3AzxG3P+vebPjOCg_jBMHQ@mail.gmail.com> <20170119175506.GA5570@ubuntu> <CAMXFM3vDTzDpZOJEPowfmcFSKvwGCO6dGnZrc8SpmFHdjcuayA@mail.gmail.com> <CAFULd4bwOe8uTLck4kbMji2LAmtmJ7sjW5GGg-ikM3dcSjKHXw@mail.gmail.com> <20170120170801.GA3718@ubuntu> <CAMXFM3vF9n6pWnc5W_-qFV5qQ4d=86erEYwDg1HnAcKjh4Tzxg@mail.gmail.com> <874m0mchdf.fsf@euler.schwinge.homeip.net> <20170126104454.GA55910@ubuntu> <20170126105120.GY1867@tucnak>
On Thu, Jan 26, 2017 at 11:51 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Jan 26, 2017 at 02:44:56AM -0800, Kirill Yukhin wrote:
>> Hello Thomas,
>> On 26 Jan 10:14, Thomas Schwinge wrote:
>> > I see:
>> >
>> > {+FAIL: gcc.target/i386/avx512f-ktestw-2.c (test for excess errors)+}
>> > {+UNRESOLVED: gcc.target/i386/avx512f-ktestw-2.c compilation failed to produce executable+}
>> >
>> > ... because of:
>> >
>> > /tmp/ccjv3mX2.s: Assembler messages:
>> > /tmp/ccjv3mX2.s:26: Error: no such instruction: `ktestw %k1,%k0'
>> > compiler exited with status 1
>> Which version of gas do you use?
>> It should be OK since v2.25.
>
> It is weird, because the test already has:
> /* { dg-require-effective-target avx512f } */
> Perhaps if there are gas versions with partial avx512f support, we need
> to improve the avx512f effective target test.
This is actually AVX512DQ instruction, please see [1], 3-509.
[1] https://software.intel.com/sites/default/files/managed/ad/01/253666-sdm-vol-2a.pdf
Uros.