clash-ghc-0.4: primitives/GHC.Prim.json
[ { "BlackBox" :
{ "name" : "GHC.Prim.+#"
, "templateE" : "~ARG[0] + ~ARG[1]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.-#"
, "templateE" : "~ARG[0] - ~ARG[1]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.*#"
, "templateE" : "~ARG[0] * ~ARG[1]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.quotInt#"
, "templateE" : "~ARG[0] div ~ARG[1]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.remInt#"
, "templateE" : "~ARG[0] rem ~ARG[1]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.negateInt#"
, "templateE" : "-~ARG[0]"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.>#"
, "templateE" : "1 when ~ARG[0] > ~ARG[1] else 0"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.>=#"
, "templateE" : "1 when ~ARG[0] >= ~ARG[1] else 0"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.==#"
, "templateE" : "1 when ~ARG[0] = ~ARG[1] else 0"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim./=#"
, "templateE" : "1 when ~ARG[0] /= ~ARG[1] else 0"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.<#"
, "templateE" : "1 when ~ARG[0] < ~ARG[1] else 0"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.<=#"
, "templateE" : "1 when ~ARG[0] <= ~ARG[1] else 0"
}
}
, { "Primitive" :
{ "name" : "GHC.Prim.dataToTag#"
, "primType" : "Function"
}
}
, { "Primitive" :
{ "name" : "GHC.Prim.tagToEnum#"
, "primType" : "Function"
}
}
, { "BlackBox" :
{ "name" : "GHC.Prim.unsafeCoerce#"
, "templateE" : "~ARG[0]"
}
}
]