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]
Other format: [Raw text]

Re: patch for -msse-math


> On Tue, Dec 11, 2001 at 07:34:13PM +0100, Jan Hubicka wrote:
> > this patch adds -msse-math controlling whether sse will be used for for FP
> > arithmetics.  The patch has passed bootstrap/regtesting and I've tested that
> > the various combinations of switches apepars to work properly.
> 
> I wonder if we want a -mmath={387,sse} switch that could be
> extended to -mmath=3dnow in the future.
I would personally preffer -msse-math separately for simple purpose that it makes sense:
-m387-math -msse-math  =  use both units at once  (we need to fix regclass before enabling
						   it but it already works, just adds
						   unnecesary stores)
-m3dnow-math -msse-math = similary

so I guess it behaves more like binary switche, even when some combinations are invalid.
> 
> Otherwise it looks ok.
I will hold until you decide what is better :)

Honza
> 
> 
> r~


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