This is the mail archive of the gcc-patches@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]

Re: A bit of vector extension documentation


Bernd Schmidt <bernds@redhat.com> writes:

> Index: gcc/config/i386/i386.h
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.h,v
> retrieving revision 1.204
> diff -c -p -r1.204 i386.h
> *** i386.h	2001/09/21 12:55:17	1.204
> --- gcc/config/i386/i386.h	2001/09/27 14:48:36
> *************** extern int ix86_arch;
> *** 511,516 ****
> --- 511,518 ----
>   %{mcpu=k6:-D__tune_k6__ }\
>   %{mcpu=athlon:-D__tune_athlon__ }\
>   %{mcpu=pentium4:-D__tune_pentium4__ }\
> + %{mmmx:-D__MMX_extensions__ }\
> + %{msse:-D__SSE_extensions__ }\
>   %{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}"

What about -msse2?  Shouldn't it be handled also?  Currently -msse2
enables -mmmx and -msse2 AFAIR.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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