Searched refs:pOri_width (Results 1 – 1 of 1) sorted by relevance
43 static uint64_t helper_sign_extend(uint64_t pVal, uint64_t pOri_width) { in helper_sign_extend() argument44 assert(pOri_width <= 64); in helper_sign_extend()45 if (pOri_width == 64) in helper_sign_extend()48 uint64_t mask = (~((uint64_t)0)) >> (64 - pOri_width); in helper_sign_extend()51 uint64_t sign_bit = 1 << (pOri_width - 1); in helper_sign_extend()