Home
last modified time | relevance | path

Searched refs:signBit (Results 1 - 25 of 28) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
H A DtcuFloat.hpp117 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) | (mantissaBits))); in constructBits()
298 const StorageType s = StorageType((StorageType(other.signBit())) << (StorageType(ExponentBits+MantissaBits))); // \note Not sign, but sign bit. in convert()
H A DtcuTexture.cpp532 const deUint32 signBit = 1u << (bits-1); in signExtend() local
534 src |= ~((src & signBit) - 1); in signExtend()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp612 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/
H A DvktSpvAsmGraphicsShaderTestUtil.cpp2584 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2644 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2691 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2740 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat()
2799 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat64()
[all...]
H A DvktSpvAsmTrinaryMinMaxTests.cpp542 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()
H A DvktSpvAsmTypeTests.cpp553 const string signBit = (isSigned) ? "1" : "0";
560 str += "%" + signPrefix + "8 = OpTypeInt 8 " + signBit + "\n";
570 str += "%" + signPrefix + "16 = OpTypeInt 16 " + signBit + "\n";
580 str += "%" + signPrefix + "64 = OpTypeInt 64 " + signBit + "\n";
3180 const T signBit = static_cast<T>(x & (1 << (y + z - 1)));
3181 const T signMask = static_cast<T>(signBit ? ~extractMask : allZeros);
H A DvktSpvAsmFloatControlsTests.cpp2478 if (returnedFloat.isZero() && !returnedFloat.signBit()) in isZeroOrOtherValue()
2573 if (returnedFloat.isInf() && returnedFloat.signBit()) in isLogResultCorrect()
2591 if (returnedFloat.isInf() && !returnedFloat.signBit()) in isInverseSqrtResultCorrect()
2609 if (returnedFloat.isZero() && !returnedFloat.signBit()) in isSqrtResultCorrect()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmGraphicsShaderTestUtil.cpp2581 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()
[all...]
H A DvktSpvAsmTrinaryMinMaxTests.cpp542 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()
H A DvktSpvAsmTypeTests.cpp553 const string signBit = (isSigned) ? "1" : "0";
560 str += "%" + signPrefix + "8 = OpTypeInt 8 " + signBit + "\n";
570 str += "%" + signPrefix + "16 = OpTypeInt 16 " + signBit + "\n";
580 str += "%" + signPrefix + "64 = OpTypeInt 64 " + signBit + "\n";
3182 const T signBit = static_cast<T>(x & (1 << (y + z - 1)));
3183 const T signMask = static_cast<T>(signBit ? ~extractMask : allZeros);
H A DvktSpvAsmFloatControlsTests.cpp2476 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifierUtil.cpp611 const deUint64 signBit = 1ull << (bits-1);
613 src |= ~((src & signBit) - 1);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifierUtil.cpp611 const deUint64 signBit = 1ull << (bits-1);
613 src |= ~((src & signBit) - 1);
/third_party/node/src/
H A Djsvm.h950 * @param signBit: Determines if the resulting BigInt will be positive or negative.
958 int signBit,
1179 * of elements in the array. signBit and words may be both set to NULL, in order to get only wordCount.
1183 * @param signBit: Integer representing if the JavaScript BigInt is positive or negative.
1192 int* signBit,
H A Djs_native_api_v8.cc3022 int signBit,
3035 v8::BigInt::NewFromWords(context, signBit, wordCount, words);
3594 int* signBit,
3609 if (signBit == nullptr && words == nullptr) {
3612 CHECK_ARG(env, signBit);
3614 big->ToWordsArray(signBit, &word_count_int, words);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp75 int signBit = rnd.getInt(0, 1); in getRandomNormal() local
80 return T::construct(kSignValues[signBit], exponent, (kLeadingMantissaBit | mantissa)); in getRandomNormal()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderFConvertTests.cpp75 int signBit = rnd.getInt(0, 1); in getRandomNormal() local
80 return T::construct(kSignValues[signBit], exponent, (kLeadingMantissaBit | mantissa)); in getRandomNormal()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp1129 const deUint64 signBit = (1ull << (componentSize*8-1)); in getRandomClearColor() local
1137 if (finalValue & signBit) in getRandomClearColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectRenderingTests.cpp375 const int signBit = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER ? 1 : 0); in getClearValue() local
378 return vk::makeClearValueColorU32(0u, 0u, 0u, deUint32((deUint64(1) << (bits[3] - signBit)) - 1)); in getClearValue()
380 return vk::makeClearValueColorI32(0u, 0u, 0u, deInt32((deUint64(1) << (bits[3] - signBit)) - 1)); in getClearValue()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBC_Decoder.cpp487 bool signBit = value < 0; in unquantizeSigned() local
488 if(signBit) in unquantizeSigned()
504 if(signBit) in unquantizeSigned()
/third_party/mesa3d/src/gallium/auxiliary/tessellator/
H A Dtessellator.cpp58 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/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp1248 const deUint64 signBit = (1ull << (componentSize*8-1)); in getRandomClearColor() local
1256 if (finalValue & signBit) in getRandomClearColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp753 const deUint32 signBit = 1u << (bits-1); in signExtend() local
755 src |= ~((src & signBit) - 1); in signExtend()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp752 const deUint32 signBit = 1u << (bits-1); in signExtend() local
754 src |= ~((src & signBit) - 1); in signExtend()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp641 const int signBit = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER ? 1 : 0); in generateBuffer() local
646 maxValue[i] = static_cast<float>((deUint64(1) << (bits[i] - signBit)) - 1); in generateBuffer()

Completed in 93 milliseconds

12