Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/
Dashrdi3.c66 const int bits_in_word = (int)(sizeof(INT32) * CHAR_BIT); in __ashrdi3() local
70 if (b & bits_in_word) // bits_in_word <= b < bits_in_dword in __ashrdi3()
73 result.high = input.high >> (bits_in_word - 1); in __ashrdi3()
74 result.low = input.high >> (b - bits_in_word); in __ashrdi3()
81 result.low = (input.high << (bits_in_word - b)) | (input.low >> b); in __ashrdi3()
Dlshrdi3.c66 const int bits_in_word = (int)(sizeof(INT32) * CHAR_BIT); in __lshrdi3() local
70 if (b & bits_in_word) // bits_in_word <= b < bits_in_dword in __lshrdi3()
73 result.low = input.high >> (b - bits_in_word); in __lshrdi3()
80 result.low = (input.high << (bits_in_word - b)) | (input.low >> b); in __lshrdi3()
Dashldi3.c66 const int bits_in_word = (int)(sizeof(INT32) * CHAR_BIT); in __ashldi3() local
70 if (b & bits_in_word) // bits_in_word <= b < bits_in_dword in __ashldi3()
73 result.high = input.low << (b - bits_in_word); in __ashldi3()
80 result.high = (input.high << b) | (input.low >> (bits_in_word - b)); in __ashldi3()
/device/google/contexthub/firmware/lib/builtins/
Daeabi_llsr.c26 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT); in __aeabi_llsr() local
30 if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */ in __aeabi_llsr()
33 result.s.low = input.s.high >> (b - bits_in_word); in __aeabi_llsr()
40 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __aeabi_llsr()
Daeabi_llsl.c26 const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT); in __aeabi_llsl() local
30 if (b & bits_in_word) /* bits_in_word <= b < bits_in_dword */ in __aeabi_llsl()
33 result.s.high = input.s.low << (b - bits_in_word); in __aeabi_llsl()
40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b)); in __aeabi_llsl()