This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Add target_isa_flags


On 4/13/07, H. J. Lu <hjl@lucon.org> wrote:
On Fri, Apr 13, 2007 at 12:04:04PM -0700, Andrew Pinski wrote:
> On 4/13/07, H. J. Lu <hjl@lucon.org> wrote:
>
> You don't need to do all this, You can just use variable with MASK
> which was added by JSM when PPC64-linux-gnu's target bits overflowed.

For i386, we are adding new target mask bits for new instruction sets.
The new bits are used togther with existing ISA bits to selectively
enable builtins. I don't know how to make the new variable to work
when a new variable will have a set of bits overlapping with the exist
ones. For example, SSE2 has

I mean you can move over all the ISA flags to their own mask variable without changing the common part of the compilers as you can use MASK and variable together in the .opt files.

You don't need to have an extra option called ISA for these variables.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]