There seems to be plenty of documentation around on implementing a new primop,
much of it needs some tweaking as files have moved and such. I can't seem to
find any documentation about how to implement primtypes though.
For example, I want to experiment with a new primtype DV#, my assumption
On Tuesday 11 October 2011, 00:57:39, Paul Monday wrote:
There seems to be plenty of documentation around on implementing a new
primop, much of it needs some tweaking as files have moved and such. I
can't seem to find any documentation about how to implement primtypes
though.
For example,
No, I've tried with and without the type parameter, it's the same type of
error leading me to think there is something I'm missing about prim type
declarations, here are the variations.
primtype DoubleVec#
primop ExtractDoubleVecOp extractDoubleVec# GenPrimOp
DoubleVec# - Int# - Double#