From: Mateusz Marzantowicz <mateuszm@server.pl>
To: linux-assembly@vger.kernel.org
Subject: Re: GCC Optimization?
Date: Tue, 23 Nov 2004 17:43:26 +0100 [thread overview]
Message-ID: <41A368AE.8020407@server.pl> (raw)
In-Reply-To: <2462.1101169594@www25.gmx.net>
> Second question:
> What does mov $0x0,%eax? Why dont they use xor %eax and what is it good for?
>
It's because GCC was designed for more processors than only x86 based
and in some cases it won't work. With optimization enabled you will find
there xorl %eax, %eax instead of mov $0x0,%ea
Regards
next prev parent reply other threads:[~2004-11-23 16:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 0:26 GCC Optimization? asmfreshmeat
2004-11-23 1:06 ` Brian Raiter
2004-11-23 16:43 ` Mateusz Marzantowicz [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-23 9:22 an0nym
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41A368AE.8020407@server.pl \
--to=mateuszm@server.pl \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.