Home
last modified time | relevance | path

Searched refs:signBit (Results 1 – 25 of 30) sorted by relevance

12

/external/compiler-rt/lib/builtins/
Dfloatsisf.c35 sign = signBit; in ARM_EABI_FNALIAS()
51 if (round > signBit) result++; in ARM_EABI_FNALIAS()
52 if (round == signBit) result += result & 1; in ARM_EABI_FNALIAS()
Dfloatunsisf.c43 if (round > signBit) result++; in ARM_EABI_FNALIAS()
44 if (round == signBit) result += result & 1; in ARM_EABI_FNALIAS()
Dfp_add_impl.inc33 if ((toRep(a) ^ toRep(b)) == signBit) return fromRep(qnanRep);
71 const rep_t resultSign = aRep & signBit;
72 const bool subtraction = (aRep ^ bRep) & signBit;
Dfp_mul_impl.inc20 const rep_t productSign = (toRep(a) ^ toRep(b)) & signBit;
113 if (productLo > signBit) productHi++;
114 if (productLo == signBit) productHi += productHi & 1;
Dnegsf2.c21 return fromRep(toRep(a) ^ signBit); in ARM_EABI_FNALIAS()
Dnegdf2.c21 return fromRep(toRep(a) ^ signBit); in ARM_EABI_FNALIAS()
Dsubdf3.c23 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in ARM_EABI_FNALIAS()
Dsubsf3.c23 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in ARM_EABI_FNALIAS()
Dsubtf3.c24 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
Dfloatsitf.c32 sign = signBit; in __floatsitf()
Dfloatsidf.c35 sign = signBit; in ARM_EABI_FNALIAS()
Dfloatditf.c32 sign = signBit; in __floatditf()
Dfp_lib.h223 #define signBit (REP_C(1) << (significandBits + exponentBits)) macro
224 #define absMask (signBit - 1U)
Dfp_fixuint_impl.inc21 const int sign = aRep & signBit ? -1 : 1;
Dfp_fixint_impl.inc23 const fixint_t sign = aRep & signBit ? -1 : 1;
Ddivsf3.c29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS()
Ddivdf3.c29 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in ARM_EABI_FNALIAS()
Ddivtf3.c27 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit; in __divtf3()
/external/deqp/framework/common/
DtcuFloat.hpp109 …inline int signBit (void) const { return (int)(m_value >> (ExponentBits+MantissaBits)) & 1; … in signBit() function in tcu::Float
113 inline int sign (void) const { return signBit() ? -1 : 1; } in sign()
231 const StorageType signBit = static_cast<StorageType>(sign < 0 ? 1 : 0); in constructBits() local
238 …return Float(StorageType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits)… in constructBits()
269 …const StorageType s = StorageType((StorageType(other.signBit())) << (StorageType(ExponentBits+Man… in convert()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp518 uint32_t signBit = (offset & 0x800000) >> 23; in adjustFixupValue() local
520 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
522 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
526 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10Bits); in adjustFixupValue()
554 uint32_t signBit = (offset & 0x400000) >> 22; in adjustFixupValue() local
556 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
558 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
562 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10HBits); in adjustFixupValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp558 uint32_t signBit = (offset & 0x800000) >> 23; in adjustFixupValue() local
560 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
562 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
566 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10Bits); in adjustFixupValue()
594 uint32_t signBit = (offset & 0x400000) >> 22; in adjustFixupValue() local
596 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
598 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
602 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10HBits); in adjustFixupValue()
/external/clang/test/CodeGen/
Dstruct-init.c30 const uint32x2_t signBit = { (uint2) 0x80000000 }; in foo() local
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp2048 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2108 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2155 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2204 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2263 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat64()
DvktSpvAsmTypeTests.cpp513 const string signBit = (isSigned) ? "1" : "0"; in getOtherSizeTypes() local
520 str += "%" + signPrefix + "8 = OpTypeInt 8 " + signBit + "\n"; in getOtherSizeTypes()
530 str += "%" + signPrefix + "16 = OpTypeInt 16 " + signBit + "\n"; in getOtherSizeTypes()
540 str += "%" + signPrefix + "64 = OpTypeInt 64 " + signBit + "\n"; in getOtherSizeTypes()
2956 const T signBit = static_cast<T>(x & (1 << (y + z - 1))); in test_bitFieldSExtract() local
2957 const T signMask = static_cast<T>(signBit ? allOnes : allZeros); in test_bitFieldSExtract()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp611 const deUint64 signBit = 1ull << (bits-1); in signExtend() local
613 src |= ~((src & signBit) - 1); in signExtend()

12