[GHC] #5210: Add primops for copying/cloning byte arrays

GHC cvs-ghc at haskell.org
Tue May 24 15:36:13 CEST 2011


#5210: Add primops for copying/cloning byte arrays
---------------------------------+------------------------------------------
    Reporter:  tibbe             |        Owner:  simonmar    
        Type:  feature request   |       Status:  patch       
    Priority:  high              |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  7.0.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by tibbe):

 Replying to [comment:5 rl]:
 > Addr# is what Ptr and friends are implemented on top of. The operations
 would only be useful for unrolling, not for the pointer arithmetic.

 Fair enough. Once we have the actual unrolling going in the backends (LLVM
 will be first) we can look into it.

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



More information about the Glasgow-haskell-bugs mailing list