This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimized code with GCC-3.3.3
- From: Alexander Helm <helm at fs dot tum dot de>
- To: petsku86 at welho dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 16 Aug 2004 20:49:16 +0200
- Subject: Re: Optimized code with GCC-3.3.3
- References: <1092670127.4120d2af702b0@webmail.welho.com>
-----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-----