Home
last modified time | relevance | path

Searched refs:Precision (Results 1 – 25 of 155) sorted by relevance

1234567

/external/llvm/lib/Target/PowerPC/
Dp9-instrs.txt202 // VSX Scalar Quad-Precision Move Instructions
204 // VSX Scalar Copy Sign Quad-Precision X-form p.553
207 // VSX Scalar Absolute Quad-Precision X-form 531
208 // VSX Scalar Negate Quad-Precision X-form 627
209 // VSX Scalar Negative Absolute Quad-Precision X-form 626
215 // VSX Scalar Quad-Precision Elementary Arithmetic
217 // VSX Scalar Add Quad-Precision [using round to Odd] X-form 539
218 // VSX Scalar Divide Quad-Precision [using round to Odd] X-form 584
219 // VSX Scalar Multiply Quad-Precision [using round to Odd] X-form 622
222 // VSX Scalar Square Root Quad-Precision [using round to Odd] X-form 662
[all …]
/external/eigen/unsupported/Eigen/
DMPRealSupport78 …static inline Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::ma…
79 …static inline Real lowest (long Precision = mpfr::mpreal::get_default_prec()) { return -mpfr::ma…
82 …static inline Real Pi (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
83 …static inline Real Euler (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
84 …static inline Real Log2 (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
85 …static inline Real Catalan (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
87 …static inline Real epsilon (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::mac…
91 …inline int digits10 (long Precision = mpfr::mpreal::get_default_prec()) { return std::numeric_lim…
/external/llvm/lib/Support/
DScaledNumber.cpp163 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
188 Float.toString(Chars, Precision, 0); in toStringAPFloat()
203 unsigned Precision) { in toString() argument
236 return toStringAPFloat(D, E, Precision); in toString()
279 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
282 if (!Precision || DigitsOut <= Precision) in toString()
287 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
317 int Width, unsigned Precision) { in print() argument
318 return OS << toString(D, E, Width, Precision); in print()
/external/deqp/modules/gles31/functional/
Des31fShaderUniformIntegerFunctionTests.cpp45 …ase (Context& context, const char* description, int inputValue, glu::Precision precision, glu::…
66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType);
68 …ionCase(Context& context, const char* description, int inputValue, glu::Precision precision, glu::… in UniformIntegerFunctionCase()
146 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
174 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName()
191 …FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindMSBEdgeCase()
218 …FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shader… in FindLSBEdgeCase()
243 …group->addChild(new TestClass(parent->getContext(), input, glu::Precision(prec), glu::ShaderType(s… in addFunctionCases()
Des31fShaderCommonFunctionTests.cpp127 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
153 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
166 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent()
179 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent()
192 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable()
464 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
492 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
500 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
525 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
537 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des31fShaderIntegerFunctionTests.cpp111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount()
137 …::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUin… in generateRandomInputData()
322 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::S… in getIntegerFuncCaseName()
358 …UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType… in UaddCarryCase()
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
454 …UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderTyp… in UsubBorrowCase()
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des31fShaderAtomicOpTests.cpp68 …me, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const…
82 const Precision m_precision;
96 …me, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const… in ShaderAtomicOpCase()
258 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicAddCase()
347 static int getPrecisionNumIntegerBits (glu::Precision precision) in getPrecisionNumIntegerBits()
366 static bool intEqualsAfterUintCast (deInt32 value, deUint32 casted, glu::Precision precision) in intEqualsAfterUintCast()
393 …ontainsAfterUintCast (const std::set<deInt32>& haystack, deUint32 needle, glu::Precision precision) in containsAfterUintCast()
401 …ontainsAfterUintCast (const std::set<deUint32>& haystack, deInt32 needle, glu::Precision precision) in containsAfterUintCast()
412 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicMinCase()
493 …text& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) in ShaderAtomicMaxCase()
[all …]
Des31fShaderSharedVarTests.cpp74 …SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, …
86 const Precision m_precision;
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVe… in getBasicCaseDescription()
101 …edBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const… in SharedBasicVarCase()
383 …me = string(getDataTypeName(DataType(basicType))) + "_" + getPrecisionName(Precision(precision)); in init()
385 …ld(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), work… in init()
Des31fShaderPackingFunctionTests.cpp120 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case()
249 glu::Precision m_precision;
342 PackUnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackUnorm2x16Case()
440 glu::Precision m_precision;
749 PackSnorm4x8Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm4x8Case()
857 glu::Precision m_precision;
958 PackUnorm4x8Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackUnorm4x8Case()
1066 glu::Precision m_precision;
1191 addChild(new PackSnorm4x8Case(m_context, allShaderTypes[shaderTypeNdx], glu::Precision(prec))); in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp123 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
149 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
390 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
422 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
504 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase()
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
552 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
Des3fShaderPrecisionTests.cpp64 …reateFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const… in createFloatPrecisionEvalProgram()
124 …valProgram (const glu::RenderContext& context, glu::DataType type, glu::Precision precision, const… in createIntUintPrecisionEvalProgram()
182 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const…
199 glu::Precision m_precision;
215 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const… in ShaderFloatPrecisionCase()
436 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b…
450 glu::Precision m_precision;
467 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b… in ShaderIntPrecisionCase()
630 …t char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int b…
644 glu::Precision m_precision;
[all …]
Des3fShaderDerivateTests.cpp222 static int getNumMantissaBits (const glu::Precision precision) in getNumMantissaBits()
235 static int getMinExponent (const glu::Precision precision) in getMinExponent()
326 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valu… in getDerivateThreshold()
440 glu::Precision precision, in reverifyConstantDerivateWithFlushRelaxations()
575 glu::Precision m_precision;
578 glu::Precision m_coordPrecision;
610 static std::string genVertexSource (glu::DataType coordType, glu::Precision precision) in genVertexSource()
939 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin…
952 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin… in LinearDerivateCase()
1138 …e, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUin…
[all …]
Des3fFragmentOutputTests.cpp103 …FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = … in FragmentOutput()
112 glu::Precision precision;
339 static Vec2 getFloatRange (glu::Precision precision) in getFloatRange()
353 static IVec2 getIntRange (glu::Precision precision) in getIntRange()
366 static UVec2 getUintRange (glu::Precision precision) in getUintRange()
474 glu::Precision outPrecision;
880 const glu::Precision outPrecision = attachments[attachNdx].outPrecision; in iterate()
987 static const glu::Precision precisions[] = in createRandomCase()
1056 …glu::Precision precision = rnd.choose<glu::Precision>(&precisions[0], &precisions[0] + DE_LENGTH_… in createRandomCase()
1143 static const glu::Precision precisions[] = in init()
[all …]
Des3fShaderInvarianceTests.cpp459 glu::Precision prec; in init()
484 const glu::Precision precision = precisions[precNdx].prec; in init()
629 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); in init()
630 …const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precis… in init()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp131 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
157 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
170 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent()
183 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent()
196 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable()
341 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
369 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
434 …parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::Shad… in addFunctionCases()
600 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
612 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
DvktShaderIntegerFunctionTests.cpp113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount()
139 …::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUin… in generateRandomInputData()
196 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
224 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::S… in getIntegerFuncCaseName()
305 …parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::Shad… in addFunctionCases()
463 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
517 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
545 …UaddCarryCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::S… in UaddCarryCase()
573 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
625 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
[all …]
DvktShaderPackingFunctionTests.cpp67 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix()
157 …text& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const… in PackSnorm2x16CaseInstance()
251 const glu::Precision m_precision;
257 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case()
273 const glu::Precision m_precision;
380 …text& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const… in PackUnorm2x16CaseInstance()
474 const glu::Precision m_precision;
480 PackUnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackUnorm2x16Case()
496 const glu::Precision m_precision;
851 …text& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const… in PackSnorm4x8CaseInstance()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp101 …InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precisio…
107 glu::Precision m_precision;
113 …olationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const… in InterpolationCase()
126 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
141 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
302 glu::Precision minPrecision; in init()
321 …string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coo… in init()
323 …addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coor… in init()
324 …addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precis… in init()
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp103 …InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precisio…
109 glu::Precision m_precision;
115 …olationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const… in InterpolationCase()
128 static bool isValidFloat (glu::Precision precision, float val) in isValidFloat()
143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) in isValidFloatVec()
308 glu::Precision minPrecision; in init()
327 …string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coo… in init()
329 …addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coor… in init()
330 …addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precis… in init()
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp129 …Context& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecisio…
142 glu::Precision m_texCoordPrecision;
149 …Context& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecisio…
/external/deqp/framework/randomshaders/
DrsgVariableType.hpp53 enum Precision enum in rsg::VariableType
138 Precision getPrecision (void) const { return m_precision; } in getPrecision()
170 Precision m_precision;
/external/deqp/framework/opengl/
DgluVarType.hpp53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
63 Precision getPrecision (void) const { DE_ASSERT(isBasicType()); return m_data.basic.precision; } in getPrecision()
99 Precision precision;
121 inline VarType varTypeOf (Precision prec = PRECISION_LAST) { return VarType(dataTypeOf<T>(), prec);… in varTypeOf()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp191 static int getNumMantissaBits (const glu::Precision precision) in getNumMantissaBits()
204 static int getMinExponent (const glu::Precision precision) in getMinExponent()
295 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valu… in getDerivateThreshold()
404 glu::Precision precision, in reverifyConstantDerivateWithFlushRelaxations()
538 glu::Precision precision;
541 glu::Precision coordPrecision;
764 static std::string genVertexSource (glu::DataType coordType, glu::Precision precision) in genVertexSource()
1060 glu::Precision precision,
1079 glu::Precision precision, in LinearDerivateCase()
1348 glu::Precision precision,
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatProviders.h305 Optional<size_t> Precision = parseNumericPrecision(Style);
306 if (!Precision.hasValue())
307 Precision = getDefaultPrecision(S);
309 write_double(Stream, static_cast<double>(V), S, Precision);
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp457 glu::Precision prec; in init()
482 const glu::Precision precision = precisions[precNdx].prec; in init()
627 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); in init()
628 …const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precis… in init()

1234567