File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
libclc/clc/lib/generic/integer Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ _CLC_OVERLOAD _CLC_DEF char __clc_clz(char x) {
1414 return __clc_clz (__clc_as_uchar (x ));
1515}
1616
17- _CLC_OVERLOAD _CLC_DEF uchar __clc_clz (uchar x ) {
18- return __builtin_clzg (x , 8 );
19- }
17+ _CLC_OVERLOAD _CLC_DEF uchar __clc_clz (uchar x ) { return __builtin_clzg (x , 8 ); }
2018
2119_CLC_OVERLOAD _CLC_DEF short __clc_clz (short x ) {
2220 return __clc_clz (__clc_as_ushort (x ));
@@ -30,9 +28,7 @@ _CLC_OVERLOAD _CLC_DEF int __clc_clz(int x) {
3028 return __clc_clz (__clc_as_uint (x ));
3129}
3230
33- _CLC_OVERLOAD _CLC_DEF uint __clc_clz (uint x ) {
34- return __builtin_clzg (x , 32 );
35- }
31+ _CLC_OVERLOAD _CLC_DEF uint __clc_clz (uint x ) { return __builtin_clzg (x , 32 ); }
3632
3733_CLC_OVERLOAD _CLC_DEF long __clc_clz (long x ) {
3834 return __clc_clz (__clc_as_ulong (x ));
You can’t perform that action at this time.
0 commit comments