Home
last modified time | relevance | path

Searched refs:sign_bit (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h155 uint64_t sign_bit = 1 << (WIDTH - 1); in signExtend() local
157 return ((pVal & mask) ^ sign_bit) - sign_bit; in signExtend()
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/
Dintrinsics_float.h160 uint64_t sign_bit = 0x80000000U; in Negative() local
161 asm("pxor %2, %0" : "=x"(result.value_) : "0"(v.value_), "x"(sign_bit)); in Negative()
168 uint64_t sign_bit = 0x8000000000000000ULL; in Negative() local
169 asm("pxor %2, %0" : "=x"(result.value_) : "0"(v.value_), "x"(sign_bit)); in Negative()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_floating_point_impl.h333 constexpr UInt sign_bit = std::numeric_limits<Int>::min(); in FSgnj() local
335 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() local
348 return {bit_cast<FloatType>(bit_cast<UInt>(x) ^ (bit_cast<UInt>(y) & sign_bit))}; in FSgnjx()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp51 uint64_t sign_bit = 1 << (pOri_width - 1); in helper_sign_extend() local
52 return (pVal ^ sign_bit) - sign_bit; in helper_sign_extend()