HomeSort by: relevance | last modified time | path
    Searched defs:fp16 (Results 1 - 6 of 6) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
agx_optimizer.c 60 * if we move it up to the fadd, we get FP16 for two instructions, whereas if
69 * move it down to the fround, we get FP16 to too. So f2f32 is backwards.
126 bool fp16 = (def->dest[0].size == AGX_SIZE_16); local
127 assert(fp16 || (def->dest[0].size == AGX_SIZE_32));
129 float f = fp16 ? _mesa_half_to_float(def->imm) : uif(def->imm);
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_fp16_conv.c 131 /* FP16 will be normal */
147 /* FP16 will be denormal */
186 nir_ssa_def *fp16 = nir_if_phi(b, inf_nanfp16, finite_or_overflowed_fp16); local
188 return nir_u2u16(b, nir_ior(b, fp16, nir_ushr(b, sign, nir_imm_int(b, 16))));
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
fd5_emit.c 165 uint16_t fp16[4]; member in struct:bcolor_entry
176 srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */
277 e->fp16[cd] = clamped;
284 e->fp16[c] = _mesa_float_to_half(f);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
fd6_emit.c 63 uint16_t fp16[4]; member in struct:bcolor_entry
73 srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */
182 e->fp16[cd] = clamped;
189 e->fp16[c] = _mesa_float_to_half(f);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
fd5_emit.c 140 uint16_t fp16[4]; member in struct:bcolor_entry
150 uint16_t srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */
249 e->fp16[cd] = clamped;
256 e->fp16[c] = util_float_to_half(f);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
fd6_emit.c 162 uint16_t fp16[4]; member in struct:bcolor_entry
171 uint16_t srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */
278 e->fp16[cd] = clamped;
285 e->fp16[c] = util_float_to_half(f);

Completed in 9 milliseconds