Home
last modified time | relevance | path

Searched refs:bits_in_word (Results 1 – 3 of 3) sorted by relevance

/llvm-project/compiler-rt/lib/builtins/
H A Dashrdi3.c20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT); in __ashrdi3() local
24 if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */ { in __ashrdi3()
26 result.s.high = input.s.high >> (bits_in_word - 1); in __ashrdi3()
27 result.s.low = input.s.high >> (b - bits_in_word); in __ashrdi3()
33 ((su_int)input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __ashrdi3()
H A Dlshrdi3.c20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT); in __lshrdi3() local
24 if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */ { in __lshrdi3()
26 result.s.low = input.s.high >> (b - bits_in_word); in __lshrdi3()
31 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __lshrdi3()
H A Dashldi3.c20 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT); in __ashldi3() local
24 if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */ { in __ashldi3()
26 result.s.high = input.s.low << (b - bits_in_word); in __ashldi3()
32 ((su_int)input.s.high << b) | (input.s.low >> (bits_in_word - b)); in __ashldi3()