patch for -msse-math

Jan Hubicka jh@suse.cz
Wed Dec 12 00:21:00 GMT 2001


> 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~



More information about the Gcc-patches mailing list