This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 01/13] recog: Increased max number of alternatives.
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 May 2015 09:01:52 -0500
- Subject: Re: [PATCH 01/13] recog: Increased max number of alternatives.
- Authentication-results: sourceware.org; auth=none
- References: <1431350621-21405-1-git-send-email-krebbel at linux dot vnet dot ibm dot com> <1431350621-21405-2-git-send-email-krebbel at linux dot vnet dot ibm dot com>
On Mon, May 11, 2015 at 03:23:29PM +0200, Andreas Krebbel wrote:
> With the vector facility support z13 mov patterns have more than 30
> alternatives.
Wow, that is a lot!
> --- a/gcc/recog.h
> +++ b/gcc/recog.h
> @@ -23,7 +23,7 @@ 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
> +#define MAX_RECOG_ALTERNATIVES 35
> typedef unsigned int alternative_mask;
"int" isn't at least 36 bits.
Segher