recog: Increase max number of alternatives.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 19 May 2015 14:47:11 +0000 (14:47 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
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.

From-SVN: r223367

gcc/ChangeLog
gcc/recog.h

index bd1886731ac2d5e4455ed9977cf8c5fe321e8811..2f3b2303c39f922238c14aed1a38f303624d75b5 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 463c748bd922de3ca627598bc81bcfab4db53059..3a0930494e2adaa70267a323bd6a37e39f9f5e31 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)