Searched refs:sign_bit (Results 1 – 2 of 2) sorted by relevance
155 uint64_t sign_bit = 1 << (WIDTH - 1); in signExtend() local157 return ((pVal & mask) ^ sign_bit) - sign_bit; in signExtend()
51 uint64_t sign_bit = 1 << (pOri_width - 1); in helper_sign_extend() local52 return (pVal ^ sign_bit) - sign_bit; in helper_sign_extend()