the cmm pages on the wiki seem out of date
Carter Schonwald
carter.schonwald at gmail.com
Sat Apr 6 05:37:23 CEST 2013
Hey all, I've been staring at the cmm primop code in ghc over the past week
to understand a number of things, and I was just today looking at the
current cmm documentation on the ghc wiki.
specifically i've been looking at
https://github.com/ghc/ghc/blob/master/compiler/cmm/Cmm.hs
https://github.com/ghc/ghc/blob/master/compiler/cmm/CmmParse.y
and
https://github.com/ghc/ghc/blob/master/rts/PrimOps.cmm
versus the wiki docs
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/CmmType
it looks like CMM supports a nicer function definition convention than the
wiki implies.
(and presumably that also would hold for the ffi for calling user written
cmm code too?)
If the wiki is out of date, i'm happy to make a first pass at trying to add
this info somewhere,
thanks
-Carter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130405/910c2765/attachment-0001.htm>
More information about the ghc-devs
mailing list