zig/lib/compiler_rt/udivti3.zig

14 lines
453 B
Zig
Raw Normal View History

2018-04-29 03:03:07 +01:00
const udivmodti4 = @import("udivmodti4.zig");
const builtin = @import("builtin");
pub fn __udivti3(a: u128, b: u128) callconv(.C) u128 {
@setRuntimeSafety(builtin.is_test);
2018-04-29 03:03:07 +01:00
return udivmodti4.__udivmodti4(a, b, null);
}
2020-04-28 06:46:09 +01:00
const v128 = @import("std").meta.Vector(2, u64);
pub fn __udivti3_windows_x86_64(a: v128, b: v128) callconv(.C) v128 {
2018-04-29 03:03:07 +01:00
@setRuntimeSafety(builtin.is_test);
return udivmodti4.__udivmodti4_windows_x86_64(a, b, null);
}