[patch] Macroize logic patterns

Marek Polacek polacek@redhat.com
Mon Aug 25 12:25:00 GMT 2014


On Mon, Aug 25, 2014 at 02:52:16PM +0400, Petr Murzin wrote:
> Done.
> 
> 2014-08-25  Petr Murzin  <petr.murzin@intel.com>
> 
> * 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.

This broke gcc build:
i386.md:894: unterminated construct

Uros, ok to fix with the following?  (Though it looks obvious enough...)

2014-08-25  Marek Polacek  <polacek@redhat.com>

	* config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.

diff --git gcc/config/i386/i386.md gcc/config/i386/i386.md
index f56ad07..723f42f 100644
--- gcc/config/i386/i386.md
+++ gcc/config/i386/i386.md
@@ -892,7 +892,7 @@
 
 ;; All integer modes with AVX512BW.
 (define_mode_iterator SWI1248_AVX512BW
-  [QI HI (SI "TARGET_AVX512BW") (DI "TARGET_AVX512BW")]
+  [QI HI (SI "TARGET_AVX512BW") (DI "TARGET_AVX512BW")])
 
 ;; All integer modes without QImode.
 (define_mode_iterator SWI248x [HI SI DI])

	Marek



More information about the Gcc-patches mailing list