/third_party/vk-gl-cts/framework/common/ |
D | tcuFloat.hpp | 117 …inline int signBit (void) const { return (int)(m_value >> (ExponentBits+MantissaBits)) & 1; … in signBit() function in tcu::Float 121 inline int sign (void) const { return signBit() ? -1 : 1; } in sign() 258 const StorageType signBit = static_cast<StorageType>(sign < 0 ? 1 : 0); in constructBits() local 265 …return Float(StorageType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits)… in constructBits() 298 …const StorageType s = StorageType((StorageType(other.signBit())) << (StorageType(ExponentBits+Man… in convert()
|
D | tcuTexture.cpp | 494 const deUint32 signBit = 1u << (bits-1); in signExtend() local 496 src |= ~((src & signBit) - 1); in signExtend()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAsmBackend.cpp | 612 uint32_t signBit = (offset & 0x800000) >> 23; in adjustFixupValue() local 614 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue() 616 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue() 620 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10Bits); in adjustFixupValue() 648 uint32_t signBit = (offset & 0x400000) >> 22; in adjustFixupValue() local 650 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue() 652 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue() 656 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10HBits); in adjustFixupValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 2581 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2641 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2688 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2737 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2796 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat64()
|
D | vktSpvAsmTrinaryMinMaxTests.cpp | 542 const std::string signBit = (m_params.baseType == BaseType::TYPE_INT ? "1" : "0"); in getSpirVReplacements() local 550 replacements["TYPES"] += "%" + baseTypeName + " = OpTypeInt " + bitSize + " " + signBit + "\n"; in getSpirVReplacements()
|
D | vktSpvAsmTypeTests.cpp | 553 const string signBit = (isSigned) ? "1" : "0"; in getOtherSizeTypes() local 560 str += "%" + signPrefix + "8 = OpTypeInt 8 " + signBit + "\n"; in getOtherSizeTypes() 570 str += "%" + signPrefix + "16 = OpTypeInt 16 " + signBit + "\n"; in getOtherSizeTypes() 580 str += "%" + signPrefix + "64 = OpTypeInt 64 " + signBit + "\n"; in getOtherSizeTypes() 3182 const T signBit = static_cast<T>(x & (1 << (y + z - 1))); in test_bitFieldSExtract() local 3183 const T signMask = static_cast<T>(signBit ? ~extractMask : allZeros); in test_bitFieldSExtract()
|
D | vktSpvAsmFloatControlsTests.cpp | 2476 if (returnedFloat.isZero() && !returnedFloat.signBit()) in isZeroOrOtherValue() 2571 if (returnedFloat.isInf() && returnedFloat.signBit()) in isLogResultCorrect() 2589 if (returnedFloat.isInf() && !returnedFloat.signBit()) in isInverseSqrtResultCorrect() 2607 if (returnedFloat.isZero() && !returnedFloat.signBit()) in isSqrtResultCorrect()
|
D | vktSpvAsmInstructionTests.cpp | 16200 out[componentNdx] = (dp.signBit() == 1) ? n.bits() : fp16type(-n.asDouble()).bits(); in calc()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 611 const deUint64 signBit = 1ull << (bits-1); in signExtend() local 613 src |= ~((src & signBit) - 1); in signExtend()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderFConvertTests.cpp | 75 int signBit = rnd.getInt(0, 1); in getRandomNormal() local 80 return T::construct(kSignValues[signBit], exponent, (kLeadingMantissaBit | mantissa)); in getRandomNormal()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 487 bool signBit = value < 0; in unquantizeSigned() local 488 if(signBit) in unquantizeSigned() 504 if(signBit) in unquantizeSigned()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerBorderSwizzleTests.cpp | 1201 const deUint64 signBit = (1ull << (componentSize*8-1)); in getRandomClearColor() local 1209 if (finalValue & signBit) in getRandomClearColor()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | tessellator.cpp | 52 static const int signBit = 0x80000000; in tess_flush() local 57 b = signBit & (*(int*)&a); in tess_flush()
|
/third_party/mesa3d/src/gallium/auxiliary/tessellator/ |
D | tessellator.cpp | 58 static const int signBit = 0x80000000; in tess_flush() local 65 b = signBit & (fiu.i); in tess_flush()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.cpp | 722 const deUint32 signBit = 1u << (bits-1); in signExtend() local 724 src |= ~((src & signBit) - 1); in signExtend()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 519 const int signBit = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER ? 1 : 0); in generateBuffer() local 524 maxValue[i] = static_cast<float>((deUint64(1) << (bits[i] - signBit)) - 1); in generateBuffer()
|