This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: sse2
- From: Brian Gough <brian dot gough at network-theory dot co dot uk>
- To: Sam Halliday <fommil at yahoo dot ie>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Mon, 9 Dec 2002 21:30:27 +0000 (GMT)
- Subject: Re: sse2
- References: <20021208161915.2802c156.fommil@yahoo.ie>
Sam Halliday writes:
> hi there,
> i tried compiling gsl with the flags -march=pentium4 -mfpmath=sse
> -msse2 on gcc-3.2.1, and all seemed to work, the make checks all
> passed also and my programs have no difference in their outputs
Thanks. I've added it to the install notes.
> i think this is something which would really benefit people if
> they have a P4 (and therefore sse2), as my own tests show that on
> double arithmetic the performance is increased by 33% moving up to
> the sse2 instructions from the older 387 chip. maybe this could be
> encorporated into the configure script to add these flags if a P4
> is detected?
I will leave it to the user, since that's the usual way autoconf
works.
Brian