Re: Compiling with -march=c3-2 generates illegal SSE instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 24, 2019 at 7:54 PM tedheadster <tedheadster@xxxxxxxxx> wrote:
>
> I am compiling with gcc 7.3.0 for -march=c3-2, and it is generating
> illegal Pentium-III vintage SSE instructions.
>
> The VIA C3-2 (Nehemiah model) is an i686 Pentium Pro class processor,
> so these instructions should never have been generated.
>

Of course I should have done some more research. I found this in
gcc/config/i386/i386.c:

      {"c3-2", PROCESSOR_PENTIUMPRO, CPU_PENTIUMPRO,
        PTA_MMX | PTA_SSE | PTA_FXSR},

I am pretty sure I got that wrong, and seems (from Wikipedia at least)
the C3-2 does indeed support SSE instructions.

- Matthew



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux