This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55953] hand loop faster then builtin memset
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Jan 2013 23:35:53 +0000
- Subject: [Bug target/55953] hand loop faster then builtin memset
- Auto-submitted: auto-generated
- References: <bug-55953-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55953
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Component|c |target
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-11 23:35:53 UTC ---
This is a target issue. The first function uses the AVX/SSE registers while
the second only uses the integer registers. So the target decides not to
vectorize memset but only use the integer registers.