[GHC] #5210: Add primops for copying/cloning byte arrays
GHC
cvs-ghc at haskell.org
Fri Jun 17 06:44:29 CEST 2011
#5210: Add primops for copying/cloning byte arrays
---------------------------------+------------------------------------------
Reporter: tibbe | Owner: dterei
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 dterei):
No I understand the general idea going on in the backend with live vars
and all, I'm just not completely convinced this is the way it should be
handled. With these patches where you are just making one C function call,
src and co aren't really live across the call. Well they might be but the
assignTemp stuff to save them is local to our scope so it will only save
them for this code where they are only used for one C call so why are we
saving them? I'm rusty on this stuff so maybe I'm completely off here.
I'll apply the patches now as my only concern is that we may be doing more
work, not that the code is wrong.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5210#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list