This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: i386 is running out target mask bits
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Apr 2007 18:41:06 +0000 (UTC)
- Subject: Re: RFA: i386 is running out target mask bits
- References: <20070412175356.GA14152@lucon.org>
On Thu, 12 Apr 2007, H. J. Lu wrote:
> I am working SSE4.1/4.2 support. I need to add -msse4.1, -msse4.2
> and -msse4. But i386 is running out target mask bits. I got
>
> ./options.h:368:2: error: #error too many target masks
>
> Does anyone have suggestions to resolve this? Why not use structure
> of bitfields instead of int for target_flags?
You'd need to change everything that uses MASK_FOO|MASK_BAR.
You can specify Var together with Mask in .opt files; that allows you to
create a second variable for flag bits as a smaller patch for now.
--
Joseph S. Myers
joseph@codesourcery.com