/third_party/mesa3d/src/panfrost/bifrost/test/ |
D | test-constant-fold.cpp | 105 bi_swz_v2i16_to(b, reg, bi_imm_u32(0xCAFEBABE)), in TEST_F() 109 bi_swz_v2i16_to(b, reg, bi_swz_16(bi_imm_u32(0xCAFEBABE), false, false)), in TEST_F() 113 bi_swz_v2i16_to(b, reg, bi_swz_16(bi_imm_u32(0xCAFEBABE), true, false)), in TEST_F() 117 bi_swz_v2i16_to(b, reg, bi_swz_16(bi_imm_u32(0xCAFEBABE), true, true)), in TEST_F() 131 bi_mkvec_v2i16_to(b, reg, bi_swz_16(bi_imm_u32(0xCAFEBABE), true, true), in TEST_F() 136 bi_mkvec_v2i16_to(b, reg, bi_swz_16(bi_imm_u32(0xCAFEBABE), true, true), in TEST_F() 137 bi_swz_16(bi_imm_u32(0xCAFEBABE), false, false)), in TEST_F() 144 bi_index u32 = bi_imm_u32(0xCAFEBABE); in TEST_F() 158 bi_index u32 = bi_imm_u32(0xCAFEBABE); in TEST_F() 159 bi_index rem = bi_imm_u32(0xABCD1234); in TEST_F() [all …]
|
D | test-dual-texture.cpp | 88 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF9F00144), false, 4, 4); in TEST_F() 98 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF9F00144), true, 4, 4); in TEST_F() 108 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF9F00144), true, 4, 4); in TEST_F() 136 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF9F003E6), false, 4, 4); in TEST_F() 146 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF9F003A7), false, 4, 4); in TEST_F() 179 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF1E00144), false, 2, 2); in TEST_F() 189 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0XF9E00144), false, 4, 2); in TEST_F() 196 bi_texc_to(b, x, y, bi_null(), u, v, bi_imm_u32(0xF1F00144), false, 2, 4); in TEST_F()
|
D | test-optimizer.cpp | 368 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1), in TEST_F() 383 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1), in TEST_F() 398 CASE(bi_mux_i32_to(b, reg, bi_imm_u32(0), bi_imm_u32(1), in TEST_F()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/ |
D | test-add-imm.cpp | 60 CASE(bi_mov_i32_to(b, bi_register(63), bi_imm_u32(0xABAD1DEA)), in TEST_F() 96 CASE(bi_iadd_u32_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 99 CASE(bi_iadd_v2u16_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 102 CASE(bi_iadd_v4u8_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 105 CASE(bi_iadd_s32_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 108 CASE(bi_iadd_v2s16_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 111 CASE(bi_iadd_v4s8_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), false), in TEST_F() 114 …NEGCASE(bi_iadd_u32_to(b, bi_register(1), bi_swz_16(bi_register(2), false, false), bi_imm_u32(0xDE… in TEST_F() 115 …NEGCASE(bi_iadd_v2u16_to(b, bi_register(1), bi_swz_16(bi_register(2), false, false), bi_imm_u32(0x… in TEST_F() 116 NEGCASE(bi_iadd_u32_to(b, bi_register(1), bi_register(2), bi_imm_u32(0xDEADBEEF), true)); in TEST_F() [all …]
|
D | test-lower-constants.cpp | 102 CASE(bi_fadd_v2f16_to(b, bi_register(0), bi_register(0), bi_imm_u32(0xBC008000)), in TEST_F() 108 CASE(bi_lshift_or_i32(b, bi_register(0), bi_imm_u32(0), bi_imm_u8(6)), in TEST_F() 111 CASE(bi_lshift_or_i32(b, bi_register(0), bi_imm_u32(0), bi_imm_u8(-2)), in TEST_F() 118 bi_imm_u32(0xFF), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 123 bi_imm_u32(0xFFFF), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 131 bi_imm_u32(0x7F), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 136 bi_imm_u32(0x7FFF), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 144 bi_imm_u32(0xFFFFFFF8), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 149 bi_imm_u32(0xFFFFFAFC), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() 157 bi_imm_u32(0xFF), BI_CMPF_LT, BI_RESULT_TYPE_I1), in TEST_F() [all …]
|
D | test-lower-isel.cpp | 79 bi_instr *I = bi_jump(b, bi_imm_u32(0xDEADBEEF)); in TEST_F() 82 bi_instr *I = bi_branchz_i16(b, bi_zero(), bi_imm_u32(0xDEADBEEF), BI_CMPF_EQ); in TEST_F()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bifrost_compile.c | 323 bi_imm_f32(0.5), bi_imm_u32(8), in bi_varying_src0_for_barycentric() 442 idx = bi_imm_u32(imm_index); in bi_emit_load_attr() 444 idx = bi_iadd_u32(b, idx, bi_imm_u32(base), false); in bi_emit_load_attr() 561 idx_bytes = bi_iadd_u32(b, idx, bi_imm_u32(vbase), false); in bi_emit_load_vary() 568 idx = bi_iadd_u32(b, idx, bi_imm_u32(base), false); in bi_emit_load_vary() 574 idx = bi_iadd_u32(b, idx, bi_imm_u32(base), false); in bi_emit_load_vary() 676 bi_imm_u32(idx), bi_imm_u32(sysval_ubo)); in bi_load_sysval_to() 704 bi_rshift_and_i32_to(b, dst, bi_preload(b, 61), bi_imm_u32(0x1f), in bi_load_sample_id_to() 727 bi_index indices = bi_imm_u32(indices_u32); in bi_pixel_indices() 777 bi_imm_u32(blend_desc >> 32), in bi_emit_blend_op() [all …]
|
D | compiler.h | 166 bi_imm_u32(uint32_t imm) in bi_imm_u32() function 178 return bi_imm_u32(fui(imm)); in bi_imm_f32() 190 return bi_imm_u32(0); in bi_zero() 287 return bi_byte(bi_imm_u32(imm), 0); in bi_imm_u8() 293 return bi_half(bi_imm_u32(imm), false); in bi_imm_u16() 302 bi_imm_u32(imm); in bi_imm_uintN() 911 return bi_imm_u32(nir_src_as_uint(*src)); in bi_src_index()
|
D | bi_opt_constant_fold.c | 99 bi_mov_i32_to(&b, ins->dest[0], bi_imm_u32(replace)); in bi_opt_constant_fold()
|
D | bi_opt_mod_props.c | 292 } else if (bi_is_fixed_mux(mux, 32, bi_imm_u32(1)) || in bi_optimizer_result_type() 415 I->src[1] = bi_imm_u32(0); in bi_lower_opt_instruction()
|
D | bi_opt_dual_tex.c | 98 bi_imm_u32(bi_dual_tex_as_u32(desc)), I1->lod_mode, in bi_fuse_dual()
|
D | bi_ra.c | 644 return bi_load_to(b, bits, src, bi_imm_u32(offset), bi_zero(), in bi_load_tl() 655 bi_store(b, bits, src, bi_imm_u32(offset), bi_zero(), BI_SEG_TL, 0); in bi_store_tl()
|