File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,10 @@ comptime {
276
276
277
277
const __clzsi2 = @import ("compiler_rt/clzsi2.zig" ).__clzsi2 ;
278
278
@export (__clzsi2 , .{ .name = "__clzsi2" , .linkage = linkage });
279
+ const __clzdi2 = @import ("compiler_rt/clzdi2.zig" ).__clzdi2 ;
280
+ @export (__clzdi2 , .{ .name = "__clzdi2" , .linkage = linkage });
281
+ const __clzti2 = @import ("compiler_rt/clzti2.zig" ).__clzti2 ;
282
+ @export (__clzti2 , .{ .name = "__clzti2" , .linkage = linkage });
279
283
280
284
if (builtin .link_libc and os_tag == .openbsd ) {
281
285
const __emutls_get_address = @import ("compiler_rt/emutls.zig" ).__emutls_get_address ;
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ test "clzsi2" {
273
273
try test__clzsi2 (0xFD000000 , 0 );
274
274
try test__clzsi2 (0xFE000000 , 0 );
275
275
try test__clzsi2 (0xFF000000 , 0 );
276
+ try test__clzsi2 (0x00000000 , 32 );
276
277
try test__clzsi2 (0x00000001 , 31 );
277
278
try test__clzsi2 (0x00000002 , 30 );
278
279
try test__clzsi2 (0x00000004 , 29 );
You can’t perform that action at this time.
0 commit comments