This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386-sse-*.c fails on mainline
> On Mon, 6 May 2002, Richard Henderson wrote:
>
> > On Tue, May 07, 2002 at 01:27:27AM +0100, Bernd Schmidt wrote:
> > > That wouldn't work unless -march=pentium4 also enables the builtins.
> >
> > It should.
> >
> > if (processor_alias_table[i].flags & PTA_SSE2
> > && !(target_flags & MASK_SSE2_SET))
> > target_flags |= MASK_SSE2;
>
> Ah, ok. I'll be applying the following patch then.
There is also bugreport concerning that -msse2 does not define __SSE2__.
Would be possible to also ad -msse define __SSE__ and close the bugreport?
(probably backport the patch after release to 3.1.x)
Honza