[Bug target/48227] New: "rep ret" generated for -march=core2
zuxy.meng at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 22 09:10:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48227
Summary: "rep ret" generated for -march=core2
Product: gcc
Version: 4.5.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zuxy.meng@gmail.com
gcc 4.5 will use "rep; ret" for K8, Athlon, AMDFam10, Core2, and
generic. Looking into the change history, we can see that gcc has padded
returns for Core2 ever since Core2 support was added here:
http://gcc.gnu.org/ml/gcc-patches/2006-11/msg00860.html
It is suspected
that Vlad just copied the generic tunings for Core2, and didn't notice
that there was no particular reason to pad returns for Core2.
More information about the Gcc-bugs
mailing list