This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Mips has 31 Masks in mips.opt
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, apinski at cavium dot com, GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 24 Jan 2014 17:02:47 -0800
- Subject: Re: GCC Mips has 31 Masks in mips.opt
- Authentication-results: sourceware.org; auth=none
- References: <08ead5c2-5777-4f50-a607-e63202286db6 at BAMAIL02 dot ba dot imgtec dot org>
On Fri, Jan 24, 2014 at 3:20 PM, Steve Ellcey <sellcey@mips.com> wrote:
> Richard,
>
> While experimenting with a local GCC change I added two new Masks to
> mips.opt and ran into a build failure about too many masks:
>
> ./options.h:4172:2: error: #error too many target masks
>
> It looks like we already have 31 Masks in the MIPS mips.opt file and 32
> is the limit. It looks like the fix for this is to put some of the Masks
> in a variable other then target_flags with the Var() syntax. I see i386
> and rs6000 doing this with ix86_isa_flags and rs6000_isa_flags.
>
i386 uses HOST_WIDE_INT for ix86_isa_flags, which
bugs us some time, until we need more than 64 bits.
--
H.J.