Searched refs:h_1 (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_double_ops.c | 203 * h_1 = h_0 * r_0 + h_0 205 * Now g_1 ~= sqrt(a), and h_1 ~= 1/(2 * sqrt(a)). We could continue 222 * = g_1 + h_1 * (a - g_1^2) 234 * h_1 = h_0 * (.5 - h_0 * g_0) + h_0 240 * we don't need the inverse to do a Newton-Raphson step; we just need h_1, 244 * y_1 = 2 * h_1 245 * r_1 = .5 - h_1 * y_1 * a 250 * y_1 up front instead of h_1, and it lets us share the code for the 258 * h_1 = h_0 * r_0 + h_0 262 * g_2 = h_1 * r_ 278 nir_ssa_def *h_1 = nir_ffma(b, h_0, r_0, h_0); local in function:lower_sqrt_rsq [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_double_ops.c | 199 * h_1 = h_0 * r_0 + h_0 201 * Now g_1 ~= sqrt(a), and h_1 ~= 1/(2 * sqrt(a)). We could continue 218 * = g_1 + h_1 * (a - g_1^2) 230 * h_1 = h_0 * (.5 - h_0 * g_0) + h_0 236 * we don't need the inverse to do a Newton-Raphson step; we just need h_1, 240 * y_1 = 2 * h_1 241 * r_1 = .5 - h_1 * y_1 * a 246 * y_1 up front instead of h_1, and it lets us share the code for the 254 * h_1 = h_0 * r_0 + h_0 258 * g_2 = h_1 * r_ 274 nir_ssa_def *h_1 = nir_ffma(b, h_0, r_0, h_0); local in function:lower_sqrt_rsq [all...] |
Completed in 2 milliseconds