www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/30/22:10:07

From: lubaldo AT adinet DOT com DOT uy
Message-Id: <3.0.1.32.19980730202035.007a4c80@adinet.com.uy>
Date: Thu, 30 Jul 1998 20:20:35 -0300
To: djgpp AT delorie DOT com
Subject: -m and -march= switches and a 5x86...
Mime-Version: 1.0

	Hello.
	I have GCC 2.8.1 installed.
	I have tryed the -m386, -m486, -mpentium and -mpentiumpro switches and
they generate the exact same code... why is that?

	I have tryed the -march=586 switch. It produces Pentium code that it is
not compatible with earlyer CPU's, like 486, 386... but it works on my
machine! I have an AMD 5x86 processor, to my knowledge, this is a 486DX
compatible processor but it is not meant to be Pentium compatible... so
what? I have tryed also the -march=686 and that it doesn't work and thats
Ok... And the code produced by GCC with the -march=586 directive is
different from the one produced with the -march=486 directive... so: I
don't understand why it works... someone knows something?

	I hope I am not bothering too much with my silly intrigues...

	Thanks and goodbye.


Ivan Baldo:
lubaldo AT adinet DOT com DOT uy - http://members.xoom.com/baldo - ICQ 10215364
Phone: (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.

(If you have problems with the previous addresses, try this ones:
ibaldo AT usa DOT net, http://baldo.home.ml.org).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019