Lines Matching defs:reg
46 reg = bi_register(0);
58 bi_index reg;
66 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_abs(x)), y),
67 bi_fadd_f32_to(b, reg, bi_abs(x), y));
69 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_neg(x)), y),
70 bi_fadd_f32_to(b, reg, bi_neg(x), y));
72 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, negabsx), y),
73 bi_fadd_f32_to(b, reg, negabsx, y));
75 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, x), y),
76 bi_fadd_f32_to(b, reg, x, y));
78 CASE(bi_fmin_f32_to(b, reg, bi_fabsneg_f32(b, negabsx), bi_neg(y)),
79 bi_fmin_f32_to(b, reg, negabsx, bi_neg(y)));
84 CASE(bi_fadd_v2f16_to(b, reg, bi_fabsneg_v2f16(b, negabsx), y),
85 bi_fadd_v2f16_to(b, reg, negabsx, y));
87 CASE(bi_fmin_v2f16_to(b, reg, bi_fabsneg_v2f16(b, negabsx), bi_neg(y)),
88 bi_fmin_v2f16_to(b, reg, negabsx, bi_neg(y)));
94 bi_instr *I = bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_abs(x)), bi_abs(x));
97 bi_instr *I = bi_fadd_f32_to(b, reg, bi_abs(x), bi_abs(x));
102 bi_instr *I = bi_fadd_f32_to(b, reg, bi_abs(x), bi_fabsneg_f32(b, bi_abs(x)));
105 bi_instr *I = bi_fadd_f32_to(b, reg, bi_abs(x), bi_abs(x));
110 bi_instr *I = bi_fclamp_f32_to(b, reg, bi_fadd_f32(b, bi_abs(x), bi_abs(x)));
113 bi_instr *I = bi_fadd_f32_to(b, reg, bi_abs(x), bi_abs(x));
121 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_fabsneg_v2f16(b, bi_abs(x)), bi_abs(y));
124 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_abs(x), bi_abs(y));
129 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_abs(x), bi_fabsneg_v2f16(b, bi_abs(y)));
132 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_abs(x), bi_abs(y));
137 bi_instr *I = bi_fclamp_v2f16_to(b, reg, bi_fadd_v2f16(b, bi_abs(x), bi_abs(y)));
140 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_abs(x), bi_abs(y));
148 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_fabsneg_v2f16(b, bi_abs(x)), bi_abs(x));
153 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_abs(x), bi_fabsneg_v2f16(b, bi_abs(x)));
158 bi_instr *I = bi_fclamp_v2f16_to(b, reg, bi_fadd_v2f16(b, bi_abs(x), bi_abs(x)));
165 CASE(bi_fadd_v2f16_to(b, reg, bi_fabsneg_v2f16(b, bi_swz_16(negabsx, true, false)), y),
166 bi_fadd_v2f16_to(b, reg, bi_swz_16(negabsx, true, false), y));
168 CASE(bi_fadd_v2f16_to(b, reg, bi_swz_16(bi_fabsneg_v2f16(b, negabsx), true, false), y),
169 bi_fadd_v2f16_to(b, reg, bi_swz_16(negabsx, true, false), y));
171 CASE(bi_fadd_v2f16_to(b, reg, bi_swz_16(bi_fabsneg_v2f16(b, bi_swz_16(negabsx, true, false)), true, false), y),
172 bi_fadd_v2f16_to(b, reg, negabsx, y));
174 CASE(bi_fadd_v2f16_to(b, reg, bi_swz_16(bi_fabsneg_v2f16(b, bi_half(negabsx, false)), true, false), y),
175 bi_fadd_v2f16_to(b, reg, bi_half(negabsx, false), y));
177 CASE(bi_fadd_v2f16_to(b, reg, bi_swz_16(bi_fabsneg_v2f16(b, bi_half(negabsx, true)), true, false), y),
178 bi_fadd_v2f16_to(b, reg, bi_half(negabsx, true), y));
184 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_half(negabsx, false)), y),
185 bi_fadd_f32_to(b, reg, bi_half(negabsx, false), y));
187 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_half(negabsx, true)), y),
188 bi_fadd_f32_to(b, reg, bi_half(negabsx, true), y));
190 CASE(bi_fadd_f32_to(b, reg, bi_fabsneg_f32(b, bi_half(x, true)), bi_fabsneg_f32(b, bi_half(x, false))),
191 bi_fadd_f32_to(b, reg, bi_half(x, true), bi_half(x, false)));
197 NEGCASE(bi_fadd_f32_to(b, reg, bi_fabsneg_v2f16(b, negabsx), y));
198 NEGCASE(bi_fadd_v2f16_to(b, reg, bi_fabsneg_f32(b, negabsx), y));
209 NEGCASE(bi_fadd_f32_to(b, reg, bi_fadd_f32(b, bi_abs(x), zero), y));
210 NEGCASE(bi_fadd_f32_to(b, reg, bi_fadd_f32(b, bi_neg(x), zero), y));
211 NEGCASE(bi_fadd_f32_to(b, reg, bi_fadd_f32(b, bi_neg(bi_abs(x)), zero), y));
212 NEGCASE(bi_fadd_f32_to(b, reg, bi_fadd_f32(b, x, zero), y));
218 bi_instr *I = bi_fclamp_f32_to(b, reg, bi_fadd_f32(b, x, y));
221 bi_instr *I = bi_fadd_f32_to(b, reg, x, y);
226 bi_instr *I = bi_fclamp_v2f16_to(b, reg, bi_fadd_v2f16(b, x, y));
229 bi_instr *I = bi_fadd_v2f16_to(b, reg, x, y);
239 bi_instr *J = bi_fclamp_f32_to(b, reg, I->dest[0]);
243 bi_instr *I = bi_fadd_f32_to(b, reg, x, y);
249 bi_instr *J = bi_fclamp_f32_to(b, reg, I->dest[0]);
253 bi_instr *I = bi_fadd_f32_to(b, reg, x, y);
259 bi_instr *J = bi_fclamp_f32_to(b, reg, I->dest[0]);
263 bi_instr *I = bi_fadd_f32_to(b, reg, x, y);
269 bi_instr *J = bi_fclamp_v2f16_to(b, reg, I->dest[0]);
273 bi_instr *I = bi_fadd_v2f16_to(b, reg, x, y);
279 bi_instr *J = bi_fclamp_v2f16_to(b, reg, I->dest[0]);
283 bi_instr *I = bi_fadd_v2f16_to(b, reg, x, y);
289 bi_instr *J = bi_fclamp_v2f16_to(b, reg, I->dest[0]);
293 bi_instr *I = bi_fadd_v2f16_to(b, reg, x, y);
301 bi_instr *I = bi_fclamp_f32_to(b, reg, bi_fadd_v2f16(b, x, y));
306 bi_instr *I = bi_fclamp_v2f16_to(b, reg, bi_fadd_f32(b, x, y));
317 bi_instr *I = bi_fadd_f32_to(b, reg, bi_fadd_f32(b, x, y), zero);
322 bi_instr *I = bi_fadd_v2f16_to(b, reg, bi_fadd_v2f16(b, x, y), zero);
358 CASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0),
361 bi_fcmp_f32_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_F1));
363 CASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0),
366 bi_fcmp_f32_to(b, reg, bi_abs(x), bi_neg(y), BI_CMPF_LE, BI_RESULT_TYPE_F1));
368 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1),
371 bi_fcmp_f32_to(b, reg, bi_abs(x), bi_neg(y), BI_CMPF_LE, BI_RESULT_TYPE_I1));
373 CASE(bi_mux_v2i16_to(b, reg, bi_imm_f16(0.0), bi_imm_f16(1.0),
376 bi_fcmp_v2f16_to(b, reg, bi_abs(x), bi_neg(y), BI_CMPF_LE, BI_RESULT_TYPE_F1));
378 CASE(bi_mux_v2i16_to(b, reg, bi_imm_u16(0), bi_imm_u16(1),
381 bi_fcmp_v2f16_to(b, reg, bi_abs(x), bi_neg(y), BI_CMPF_LE, BI_RESULT_TYPE_I1));
383 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1),
386 bi_icmp_u32_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
388 CASE(bi_mux_v2i16_to(b, reg, bi_imm_u16(0), bi_imm_u16(1),
391 bi_icmp_v2u16_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
393 CASE(bi_mux_v4i8_to(b, reg, bi_imm_u8(0), bi_imm_u8(1),
396 bi_icmp_v4u8_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
398 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1),
401 bi_icmp_s32_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
403 CASE(bi_mux_v2i16_to(b, reg, bi_imm_u16(0), bi_imm_u16(1),
406 bi_icmp_v2s16_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
408 CASE(bi_mux_v4i8_to(b, reg, bi_imm_u8(0), bi_imm_u8(1),
411 bi_icmp_v4s8_to(b, reg, x, y, BI_CMPF_LE, BI_RESULT_TYPE_I1));
416 NEGCASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0),
420 NEGCASE(bi_mux_v2i16_to(b, reg, bi_imm_f16(0.0), bi_imm_f16(1.0),
436 bi_texs_2d_f32_to(b, reg, x, y, false, 0, 0);
438 bi_var_tex_f32_to(b, reg, false, BI_SAMPLE_CENTER, BI_UPDATE_STORE, 0, 0);