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 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


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