[MacPorts] #18384: glib2, glib2-devel: don't -funroll-loops

MacPorts noreply at macports.org
Thu Feb 5 04:25:57 PST 2009


#18384: glib2, glib2-devel: don't -funroll-loops
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  ryandesign@…           
     Type:  defect                   |      Status:  new                    
 Priority:  Normal                   |   Milestone:  Port Bugs              
Component:  ports                    |     Version:  1.7.0                  
 Keywords:                           |        Port:  glib2, glib2-devel     
-------------------------------------+--------------------------------------
 Joshua asked me by email:

 >Is there a good reason for glib2 having this?[[br]]
 >[[br]]
 >`configure.cflags-append \`[[br]]
 >`    -funroll-loops \`[[br]]
 >[[br]]
 >Unrolling loops will often make things slower these days, as branch
 prediction is good and cache misses are expensive.

 I responded:

 >No idea. Looks like it's been there since the port was added by mij in
 r1322.

-- 
Ticket URL: <http://trac.macports.org/ticket/18384>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list