@@ -557,6 +557,8 @@ doOp v (LTrunc (ITFixed from) ITNative) [x]
557 = v ++ "MKINT((i_int)" ++ creg x ++ "->info.bits" ++ show (nativeTyWidth from) ++ ")"
557 = v ++ "MKINT((i_int)" ++ creg x ++ "->info.bits" ++ show (nativeTyWidth from) ++ ")"
558doOp v (LTrunc (ITFixed from) ITChar) [x]
558doOp v (LTrunc (ITFixed from) ITChar) [x]
559 = doOp v (LTrunc (ITFixed from) ITNative) [x]
559 = doOp v (LTrunc (ITFixed from) ITNative) [x]
560+doOp v (LTrunc ITBig (ITFixed IT64)) [x]
561+ = v ++ "idris_b64const(vm, ISINT(" ++ creg x ++ ") ? GETINT(" ++ creg x ++ ") : idris_truncBigB64(GETMPZ(" ++ creg x ++ ")))"
560doOp v (LTrunc ITBig (ITFixed to)) [x]
562doOp v (LTrunc ITBig (ITFixed to)) [x]
561 = v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, ISINT(" ++ creg x ++ ") ? GETINT(" ++ creg x ++ ") : mpz_get_ui(GETMPZ(" ++ creg x ++ ")))"
563 = v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, ISINT(" ++ creg x ++ ") ? GETINT(" ++ creg x ++ ") : mpz_get_ui(GETMPZ(" ++ creg x ++ ")))"
562doOp v (LTrunc (ITFixed from) (ITFixed to)) [x]
564doOp v (LTrunc (ITFixed from) (ITFixed to)) [x]