
#8296: Patch: new primops for byte range copies ByteArray# <-> Addr# -------------------------------------+------------------------------------ Reporter: duncan | Owner: Type: feature request | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by rwbarton): It looks like the comments in `doCopyByteArrayToAddrOp` and `doCopyAddrToByteArrayOp` were copied from `doCopyByteArrayOp`. Actually, the reason it's okay to assume the memory ranges aren't overlapping in the former two functions is that that is a precondition of the primop. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8296#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler