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] Macroize logic patterns


On Mon, Aug 25, 2014 at 11:00 AM, Petr Murzin <petrmurzin1@gmail.com> wrote:

> I've macroized logic patterns. Please have a look. Is it ok for trunk?
>
> 2014-08-25  Petr Murzin  <petr.murzin@intel.com>
>
> * config/i386/i386.md: Macroize logic patterns.

Please write ChangeLog entry like:

*config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
(*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
SWI1248_AVX512BW mode iterator.

+;; All integer modes with avx512bw.
+(define_mode_iterator SWI1248_avx512bw
+  [QI HI (SI "TARGET_AVX512BW") (DI "TARGET_AVX512BW")])

Mode iterator should be named in all caps.

OK with this change.

Thanks,
Uros.


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