zig/lib/std/special/compiler_rt/udivti3.zig

14 lines
422 B
Zig
Raw Normal View History

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