public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Optimized code with GCC-3.3.3
@ 2004-08-16 16:30 petsku86
  2004-08-16 23:54 ` Alexander Helm
  0 siblings, 1 reply; 2+ messages in thread
From: petsku86 @ 2004-08-16 16:30 UTC (permalink / raw)
  To: gcc-help

Hi! 
I am trying to optimize to code produced by gcc-3.3.3 for my pentium4. 
After reading the following manual page a got a little confused.

http://tinyurl.com/5zt9b

Does -march=cpu-type mean that a I automaticly have also -mcpu or do I have 
to specify them both to get the best possible code? Imply is a verb which
when translated to my language (Finnish) could mean that it comes automaticly 
or it needs to be specified. I tried using google but I didn't get any 
answers there  because I saw the -march option used both with and without 
-mcpu. Thanks in advance. 

Regards,
Petteri Räty

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Optimized code with GCC-3.3.3
  2004-08-16 16:30 Optimized code with GCC-3.3.3 petsku86
@ 2004-08-16 23:54 ` Alexander Helm
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Helm @ 2004-08-16 23:54 UTC (permalink / raw)
  To: petsku86; +Cc: gcc-help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

march includes mcpu.
Or mathematically march => mcpu (this is what implies means).

	CU
	Alexander

petsku86@welho.com wrote:
| Hi!
| I am trying to optimize to code produced by gcc-3.3.3 for my pentium4.
| After reading the following manual page a got a little confused.
|
| http://tinyurl.com/5zt9b
|
| Does -march=cpu-type mean that a I automaticly have also -mcpu or do I
have
| to specify them both to get the best possible code? Imply is a verb which
| when translated to my language (Finnish) could mean that it comes
automaticly
| or it needs to be specified. I tried using google but I didn't get any
| answers there  because I saw the -march option used both with and without
| -mcpu. Thanks in advance.
|
| Regards,
| Petteri Räty
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBIQGsgRDwdtJH/NcRAlQ1AJ0eithYpzo656EKoS5aRDh6pPm//QCggQT5
rJL1E7lWsL2ufPowC2rLoxk=
=MoHR
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-16 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-16 16:30 Optimized code with GCC-3.3.3 petsku86
2004-08-16 23:54 ` Alexander Helm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).