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: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2005 23:36:02 -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 ian at airs dot com 2005-08-28 23:36 -------
The generated code for your second test case doesn't look too bad to me. The
bulk of the code is checking the alignment of the buffer in order to get an
efficient rep; stosl. What would you recommend as faster code?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23605