Home
last modified time | relevance | path

Searched refs:bi_imm_f32 (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/panfrost/bifrost/valhall/test/
Dtest-add-imm.cpp63 CASE(bi_fadd_f32_to(b, bi_register(1), bi_register(2), bi_imm_f32(42.0)), in TEST_F()
66 CASE(bi_fadd_f32_to(b, bi_register(1), bi_discard(bi_register(2)), bi_imm_f32(42.0)), in TEST_F()
69 CASE(bi_fadd_f32_to(b, bi_register(1), bi_discard(bi_register(2)), bi_neg(bi_imm_f32(42.0))), in TEST_F()
74 CASE(bi_fadd_f32_to(b, bi_register(1), bi_imm_f32(42.0), bi_register(2)), in TEST_F()
79 NEGCASE(bi_fadd_f32_to(b, bi_register(1), bi_abs(bi_register(2)), bi_imm_f32(42.0))); in TEST_F()
80 NEGCASE(bi_fadd_f32_to(b, bi_register(1), bi_neg(bi_register(2)), bi_imm_f32(42.0))); in TEST_F()
81 …NEGCASE(bi_fadd_f32_to(b, bi_register(1), bi_swz_16(bi_register(2), false, false), bi_imm_f32(42.0… in TEST_F()
87 bi_imm_f32(42.0)); in TEST_F()
132 bi_instr *I = bi_fadd_f32_to(b, bi_register(1), bi_register(2), bi_imm_f32(42.0)); in TEST_F()
Dtest-lower-constants.cpp54 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.0)), in TEST_F()
57 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(1.0)), in TEST_F()
60 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.1)), in TEST_F()
65 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(0.5)), in TEST_F()
68 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(255.0)), in TEST_F()
71 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(256.0)), in TEST_F()
74 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(8.0)), in TEST_F()
87 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(-1.0)), in TEST_F()
90 CASE(bi_fadd_f32_to(b, bi_register(0), bi_register(0), bi_imm_f32(-255.0)), in TEST_F()
Dtest-lower-isel.cpp130 bi_fma_rscale_f32_to(b, reg, x, bi_imm_f32(1.0), y, z, BI_SPECIAL_NONE)); in TEST_F()
133 bi_fma_rscale_f32_to(b, reg, x, bi_imm_f32(1.0), y, z, BI_SPECIAL_N)); in TEST_F()
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-optimizer.cpp358 CASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0), in TEST_F()
363 CASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0), in TEST_F()
416 NEGCASE(bi_mux_i32_to(b, reg, bi_imm_f32(0.0), bi_imm_f32(1.0), in TEST_F()
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dva_lower_isel.c119 I->src[1] = bi_imm_f32(1.0); in va_lower_isel()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c323 bi_imm_f32(0.5), bi_imm_u32(8), in bi_varying_src0_for_barycentric()
881 alpha = bi_imm_f32(1.0); in bi_emit_fragment_out()
1527 bi_imm_f32(0.5f)); in bi_emit_load_frag_coord()
2003 return bi_fma_f32(b, s0, s1, bi_imm_f32(-0.0f)); in bi_fmul_f32()
2015 bi_index t1 = bi_fma_rscale_f32(b, m, bi_neg(x1), bi_imm_f32(1.0), in bi_lower_frcp_32()
2027 bi_index t2 = bi_fma_rscale_f32(b, m, bi_neg(t1), bi_imm_f32(1.0), in bi_lower_frsq_32()
2098 bi_index y = bi_fma_f32(b, a1, r1, bi_imm_f32(-1.0)); in bi_lower_flog2_32()
2104 bi_fma_f32(b, y, bi_imm_f32(-0.5), bi_imm_f32(1.0))); in bi_lower_flog2_32()
2106 bi_index x2 = bi_fmul_f32(b, loge, bi_imm_f32(1.0 / logf(2.0))); in bi_lower_flog2_32()
2117 bi_index add = bi_fadd_lscale_f32(b, bi_imm_f32(-1.0f), s0); in bi_flog2_32()
[all …]
Dbi_opt_mod_props.c285 if (bi_is_fixed_mux(mux, 32, bi_imm_f32(1.0)) || in bi_optimizer_result_type()
Dcompiler.h176 bi_imm_f32(float imm) in bi_imm_f32() function