2018-04-29 03:03:07 +01:00
|
|
|
const udivmodti4 = @import("udivmodti4.zig");
|
2017-08-27 10:44:03 +01:00
|
|
|
const builtin = @import("builtin");
|
2017-08-18 21:26:09 +01:00
|
|
|
|
2018-01-25 09:10:11 +00:00
|
|
|
pub extern fn __udivti3(a: u128, b: u128) u128 {
|
2018-01-25 06:46:12 +00:00
|
|
|
@setRuntimeSafety(builtin.is_test);
|
2018-04-29 03:03:07 +01:00
|
|
|
return udivmodti4.__udivmodti4(a, b, null);
|
|
|
|
}
|
|
|
|
|
2019-04-10 23:47:14 +01:00
|
|
|
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);
|
2019-04-10 23:47:14 +01:00
|
|
|
return udivmodti4.__udivmodti4_windows_x86_64(a, b, null);
|
2017-08-18 21:26:09 +01:00
|
|
|
}
|