[GHC] #3586: Slow array code

GHC trac at galois.com
Wed Oct 14 13:08:27 EDT 2009


#3586: Slow array code
-----------------------------------------+----------------------------------
    Reporter:  simonpj                   |        Owner:                  
        Type:  run-time performance bug  |       Status:  new             
    Priority:  normal                    |    Milestone:                  
   Component:  Compiler                  |      Version:  6.10.4          
    Severity:  normal                    |   Resolution:                  
    Keywords:                            |   Difficulty:  Unknown         
    Testcase:                            |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple          |  
-----------------------------------------+----------------------------------
Comment (by dons):

 The uvector version generates an inner loop of:

 {{{
 Main_zdwfold_info:
         cmpq    $2000000, %rsi
         je      .L8
 .L4:
         addsd   .LC0(%rip), %xmm5
         leaq    1(%rsi), %rsi
         jmp     Main_zdwfold_info
 }}}

 Fusion FTW.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3586#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list