This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23605] memset() Optimization on x86-32 bit
- From: "kevin at planetsaphire dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2005 00:36:01 -0000
- Subject: [Bug target/23605] memset() Optimization on x86-32 bit
- References: <20050828200424.23605.kevin@planetsaphire.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kevin at planetsaphire dot com 2005-08-29 00:36 -------
Also, is setting %eax to $0 once per memset good enough? I don't think the
"stos" instruction would reset %eax... the resulting assembly code in
tektester.386.s is the same in -O3 and -O2...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23605