This is the mail archive of the
mailing list for the GCC project.
Re: define MMX/SSE intrinsics without requiring cmdline isa flags
On Thu, Aug 19, 2010 at 10:36:54AM -0700, Xinliang David Li wrote:
> You have not comment on why you think the patch is a kludge --- though
> it does not solve the problem of mixing regions with different target
> options in the same function, it is an independent patch on top of the
> per function target attribute that will make people's life much easier
> (all it does is predefine all isa builtins and 'unguard' the intrinsic
> wrapper defs). It makes your second example in
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39840 work when merging
> all sources into one file (after adding appropriate target attribute).
Those macros are not used just by a GCC header file. They're used by
user code too. This seems like an obvious way to break a whole lot