recog: Increase max number of alternatives.
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 May 2015 14:47:11 +0000 (14:47 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 May 2015 14:47:11 +0000 (14:47 +0000)
With the vector facility support z13 mov patterns have more than 30
alternatives.

gcc/
* recog.h: Increase MAX_RECOG_ALTERNATIVES.
Change type of alternative_mask to uint64_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223367 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/recog.h

index bd18867..2f3b230 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * recog.h: Increase MAX_RECOG_ALTERNATIVES.  Change type of
+       alternative_mask to uint64_t.
+
 2015-05-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/66187
index 463c748..3a09304 100644 (file)
@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3.  If not see
 /* Random number that should be large enough for all purposes.  Also define
    a type that has at least MAX_RECOG_ALTERNATIVES + 1 bits, with the extra
    bit giving an invalid value that can be used to mean "uninitialized".  */
-#define MAX_RECOG_ALTERNATIVES 30
-typedef unsigned int alternative_mask;
+#define MAX_RECOG_ALTERNATIVES 35
+typedef uint64_t alternative_mask;
 
 /* A mask of all alternatives.  */
 #define ALL_ALTERNATIVES ((alternative_mask) -1)