Home
last modified time | relevance | path

Searched refs:log2x (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dlog_scale.c29 static uint32_t Log2FractionPart(const uint32_t x, const uint32_t log2x) { in Log2FractionPart() argument
31 int32_t frac = x - (1LL << log2x); in Log2FractionPart()
32 if (log2x < kLogScaleLog2) { in Log2FractionPart()
33 frac <<= kLogScaleLog2 - log2x; in Log2FractionPart()
35 frac >>= log2x - kLogScaleLog2; in Log2FractionPart()
/external/swiftshader/src/Shader/
DShaderCore.hpp300 void log2x(Vector4f &dst, const Vector4f &src, bool pp = false);
DShaderCore.cpp1145 void ShaderCore::log2x(Vector4f &dst, const Vector4f &src, bool pp) in log2x() function in sw::ShaderCore
1755 log2x(dst, src, true); in logp()
DVertexProgram.cpp206 case Shader::OPCODE_LOG2X: log2x(d, s0, pp); break; in program()
DPixelProgram.cpp233 case Shader::OPCODE_LOG2X: log2x(d, s0, pp); break; in applyShader()