Home
last modified time | relevance | path

Searched refs:neg_a (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp43 Temp neg_a = bld.vop2(aco_opcode::v_xor_b32, bld.def(v1), Operand(0x80000000u), inputs[0]); variable
44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operand(0x123456u), neg_a));
48 Temp neg_neg_a = bld.vop2(aco_opcode::v_xor_b32, bld.def(v1), Operand(0x80000000u), neg_a);
54 Temp abs_neg_a = bld.vop2(aco_opcode::v_and_b32, bld.def(v1), Operand(0x7FFFFFFFu), neg_a);
65 … writeout(5, bld.vop2_dpp(aco_opcode::v_mul_f32, bld.def(v1), neg_a, inputs[1], dpp_row_sl(1)));
69 writeout(6, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), neg_a, inputs[1]));
73 writeout(7, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), inputs[1], neg_a));
/external/mesa3d/src/compiler/nir/
Dnir_lower_flrp.c54 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_strict_ffma() local
55 nir_instr_as_alu(neg_a->parent_instr)->exact = alu->exact; in replace_with_strict_ffma()
57 nir_ssa_def *const inner_ffma = nir_ffma(bld, neg_a, c, a); in replace_with_strict_ffma()
152 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_fast() local
153 nir_instr_as_alu(neg_a->parent_instr)->exact = alu->exact; in replace_with_fast()
155 nir_ssa_def *const b_minus_a = nir_fadd(bld, b, neg_a); in replace_with_fast()
/external/llvm/test/CodeGen/AMDGPU/
Dv_mac.ll107 %neg_a = fsub float -0.0, %a
108 %tmp0 = fmul float %neg_a, %b
127 %neg_a = fsub float 0.0, %a
128 %tmp0 = fmul float %neg_a, %b
147 %neg_a = fsub float 0.0, %a
148 %tmp0 = fmul float %neg_a, %b
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dv_mac.ll108 %neg_a = fsub float -0.0, %a
109 %tmp0 = fmul float %neg_a, %b
128 %neg_a = fsub float 0.0, %a
129 %tmp0 = fmul float %neg_a, %b
148 %neg_a = fsub float 0.0, %a
149 %tmp0 = fmul float %neg_a, %b
/external/llvm-project/clang/test/Frontend/
Dfixed_point_unary.c396 void neg_a() { in neg_a() function
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2622 LLVMValueRef neg_a; in lp_build_rcp_refine() local
2625 neg_a = LLVMBuildFNeg(builder, a, ""); in lp_build_rcp_refine()
2626 res = lp_build_fmuladd(builder, neg_a, rcp_a, bld->one); in lp_build_rcp_refine()
/external/tensorflow/tensorflow/compiler/xla/tests/
Darray_elementwise_ops_test.cc2546 auto neg_a = Neg(a); in XLA_TEST_F() local
2548 Add(neg_a, neg_b); in XLA_TEST_F()