[vector] #20: Optimization strategy unclear (-Odph / -O2)

vector vector at projects.haskell.org
Thu May 20 06:11:38 EDT 2010


#20: Optimization strategy unclear (-Odph / -O2)
----------------------------------------+-----------------------------------
Reporter:  choener                      |        Owner:     
    Type:  defect                       |       Status:  new
Priority:  major                        |    Milestone:  0.7
 Version:  0.6                          |   Resolution:     
Keywords:  documentation, optimization  |  
----------------------------------------+-----------------------------------
Comment (by Khudyakov):

 Indeed. Here are results for functions without INLINE pragma. Difference
 between generic and unboxed versions are gone.
 {{{
 Comp. flag  |   G      G'   |   U     U'   |
 ------------|---------------|--------------|
             | 223     44    | 191    45    |
 -O2         |   1.09   1.08 |   1.09  1.08 |
 -O2 -fn.m.s |   1.09   1.08 |   1.09  1.08 |
 -Odph       | 126     25.6  | 125    26.7  |
 }}}

 As far I understand function without INLINE pragma won't get fused if
 imported from another module.

-- 
Ticket URL: <http://trac.haskell.org/vector/ticket/20#comment:7>
vector <http://trac.haskell.org/vector>
Package vector


More information about the vector mailing list