mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
add fixed point sign extend to 128 int deps
This commit is contained in:
@@ -5203,6 +5203,16 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sz >= 64) {
|
||||||
|
if (is_type_unsigned(x.type)) {
|
||||||
|
add_package_dependency(c, "runtime", "umodti3", true);
|
||||||
|
add_package_dependency(c, "runtime", "udivti3", true);
|
||||||
|
} else {
|
||||||
|
add_package_dependency(c, "runtime", "modti3", true);
|
||||||
|
add_package_dependency(c, "runtime", "divti3", true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
operand->type = x.type;
|
operand->type = x.type;
|
||||||
operand->mode = Addressing_Value;
|
operand->mode = Addressing_Value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user