#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to