Home
last modified time | relevance | path

Searched refs:numFracBits (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp838 uint32_t numFracBits, in VCVT_F32_FIXED_SI() argument
841 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_F32_FIXED_SI()
846 fixed = FP_TO_SI(VROUND(FMUL(vFloat, VIMMED1(float(1 << numFracBits))), in VCVT_F32_FIXED_SI()
855 vFloat = VROUND(FMUL(vFloat, VIMMED1(float(1 << numFracBits))), in VCVT_F32_FIXED_SI()
857 vFloat = FMUL(vFloat, VIMMED1(1.0f / float(1 << numFracBits))); in VCVT_F32_FIXED_SI()
870 Value* vExtraBits = SUB(VIMMED1(23 - numFracBits), vExp); in VCVT_F32_FIXED_SI()
880 uint32_t numFracBits, in VCVT_FIXED_SI_F32() argument
883 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_FIXED_SI_F32()
884 uint32_t extraBits = 32 - numIntBits - numFracBits; in VCVT_FIXED_SI_F32()
896 fVal = SI_TO_FP(ASHR(vFixed, VIMMED1(numFracBits)), mSimdFP32Ty, name); in VCVT_FIXED_SI_F32()
[all …]
Dbuilder_misc.h151 uint32_t numFracBits,
155 uint32_t numFracBits,
160 uint32_t numFracBits,
164 uint32_t numFracBits,