Home
last modified time | relevance | path

Searched refs:srcBits (Results 1 – 9 of 9) sorted by relevance

/external/compiler-rt/lib/builtins/
Dfp_trunc_impl.inc45 const int srcBits = sizeof(src_t)*CHAR_BIT;
46 const int srcExpBits = srcBits - srcSigBits - 1;
119 const bool sticky = significand << (srcBits - shift);
133 const dst_rep_t result = absResult | sign >> (srcBits - dstBits);
Dfp_extend_impl.inc44 const int srcBits = sizeof(src_t)*CHAR_BIT;
45 const int srcExpBits = srcBits - srcSigBits - 1;
106 const dst_rep_t result = absResult | (dst_rep_t)sign << (dstBits - srcBits);
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.cpp1040 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
1042 if (srcBits > 0) in calculateU8ConversionError()
1044 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
1071 static int getToSRGB8ConversionError (int srcBits) in getToSRGB8ConversionError() argument
1092 DE_ASSERT(srcBits >= 0); in getToSRGB8ConversionError()
1093 if (srcBits < DE_LENGTH_OF_ARRAY(errors)) in getToSRGB8ConversionError()
1094 return errors[srcBits]; in getToSRGB8ConversionError()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp428 unsigned srcBits = DVT.isSimple() ? DVT.getScalarType().getSizeInBits() : 1; in LowerSIGN_EXTEND_INREG() local
429 unsigned shiftBits = srcBits - baseBits; in LowerSIGN_EXTEND_INREG()
430 if (srcBits < 32) { in LowerSIGN_EXTEND_INREG()
443 if (srcBits < 32) { in LowerSIGN_EXTEND_INREG()
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp588 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
590 if (srcBits > 0) in calculateU8ConversionError()
592 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
Des31fDrawBuffersIndexedTests.cpp446 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() local
449 …return Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint64>()… in getFixedPointFormatThreshold()
Des31fCopyImageTests.cpp1512 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in calculateThreshold() local
1515 …return Vec4(1.0f) / ((tcu::IVec4(1) << (tcu::min(srcBits, readBits))) - tcu::IVec4(1)).cast<float>… in calculateThreshold()
/external/llvm/lib/Support/
DAPInt.cpp2440 unsigned int srcBits, unsigned int srcLSB) in tcExtract() argument
2444 dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth; in tcExtract()
2457 if (n < srcBits) { in tcExtract()
2458 integerPart mask = lowBitMask (srcBits - n); in tcExtract()
2461 } else if (n > srcBits) { in tcExtract()
2462 if (srcBits % integerPartWidth) in tcExtract()
2463 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth); in tcExtract()
/external/llvm/include/llvm/ADT/
DAPInt.h1621 const integerPart *, unsigned int srcBits,