This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A bit of vector extension documentation
- To: Bernd Schmidt <bernds at redhat dot com>
- Subject: Re: A bit of vector extension documentation
- From: Andreas Jaeger <aj at suse dot de>
- Date: Sun, 14 Oct 2001 11:13:21 +0200
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>,<gcc-patches at gcc dot gnu dot org>
- References: <Pine.LNX.4.33.0109271556440.27756-100000@host140.cambridge.redhat.com>
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