Searched refs:sign_bit (Results 1 – 4 of 4) sorted by relevance
155 uint64_t sign_bit = 1 << (WIDTH - 1); in signExtend() local157 return ((pVal & mask) ^ sign_bit) - sign_bit; in signExtend()
160 uint64_t sign_bit = 0x80000000U; in Negative() local161 asm("pxor %2, %0" : "=x"(result.value_) : "0"(v.value_), "x"(sign_bit)); in Negative()168 uint64_t sign_bit = 0x8000000000000000ULL; in Negative() local169 asm("pxor %2, %0" : "=x"(result.value_) : "0"(v.value_), "x"(sign_bit)); in Negative()
333 constexpr UInt sign_bit = std::numeric_limits<Int>::min(); in FSgnj() local335 return {bit_cast<FloatType>((bit_cast<UInt>(x) & non_sign_bit) | (bit_cast<UInt>(y) & sign_bit))}; in FSgnj()347 constexpr UInt sign_bit = std::numeric_limits<Int>::min(); in FSgnjx() local348 return {bit_cast<FloatType>(bit_cast<UInt>(x) ^ (bit_cast<UInt>(y) & sign_bit))}; in FSgnjx()
51 uint64_t sign_bit = 1 << (pOri_width - 1); in helper_sign_extend() local52 return (pVal ^ sign_bit) - sign_bit; in helper_sign_extend()