This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386, PR57623] Introduce synonyms for BMI intrinsics


On Tue, Jul 2, 2013 at 10:32 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> As mentioned by Uros [1], we have few intrinsics which described in
> Intel Spec, but absent in bmiintin.h
> Attached patch resolves this.
>
> Bootstrap passing. Updated tests passing on BMI-featured HW.
>
> ChangeLog:
> 2013-07-02  Kirill Yukhin  <kirill.yukhin@intel.com>
>
>         * config/i386/bmiintrin.h (_blsi_u32): New.
>         (_blsi_u64): Ditto.
>         (_blsr_u32): Ditto.
>         (_blsr_u64): Ditto.
>         (_blsmsk_u32): Ditto.
>         (_blsmsk_u64): Ditto.
>         (_tzcnt_u32): Ditto.
>         (_tzcnt_u64): Ditto.
>
> testsuite/ChangeLog:
> 2013-07-02  Kirill Yukhin  <kirill.yukhin@intel.com>
>
>         * gcc.target/i386/bmi-1.c: Extend with new instrinsics.
>         Fix scan patterns.
>         * gcc.target/i386/bmi-2.c: Ditto.
>
> [1] http://gcc.gnu.org/ml/gcc-patches/2013-06/msg01286.html

This is OK for mainline.

BTW: Do we want to backport this patch (and your previous) to 4.8 branch?

Thanks,
Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]