/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_expr.cpp | 325 if (bc.omod) in apply_alu_dst_mod() 326 v = v.f * omod_coeff[bc.omod - 1]; in apply_alu_dst_mod() 357 if (b0.clamp != b1.clamp || b0.omod != b1.omod) in ops_equal() 391 if (!sd->bc.clamp && !sd->bc.omod && !sd->bc.src[0].abs && in fold_alu_op1() 401 && n.bc.clamp == 0 && n.bc.omod == 0 in fold_alu_op1() 487 !n->bc.src[1].abs && !n->bc.src[0].abs && !d0->bc.omod && in fold_mul_add() 488 !d0->bc.clamp && !n->bc.omod && in fold_mul_add() 524 !n->bc.src[0].abs && !n->bc.src[1].abs && !d1->bc.omod && in fold_mul_add() 525 !d1->bc.clamp && !n->bc.omod && in fold_mul_add() 654 !d0->bc.omod && !d0->bc.clamp && in fold_assoc() [all …]
|
D | sb_bc_builder.cpp | 432 .OMOD(bc.omod) in build_alu() 449 .OMOD(bc.omod) in build_alu() 463 .EXECUTE_MASK_OP(bc.omod) in build_alu() 478 .OMOD(bc.omod) in build_alu()
|
D | sb_dump.cpp | 418 if (n->bc.omod) { in dump_alu() 420 sblog << omod_str[n->bc.omod]; in dump_alu()
|
D | sb_bc.h | 519 unsigned omod:2; member 550 omod = 0; in clear()
|
D | sb_peephole.cpp | 238 if (d->bc.omod) in optimize_CNDcc_op()
|
D | sb_bc_decoder.cpp | 372 bc.omod = w1.get_OMOD(); in decode_alu() 391 bc.omod = w1.get_OMOD(); in decode_alu()
|
D | sb_bc_dump.cpp | 388 s << n.bc.op_ptr->name << omod_str[n.bc.omod] << (n.bc.clamp ? "_sat" : ""); in dump()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_optimizer.cpp | 1780 if (vop3 && (vop3->abs[!i] || vop3->neg[!i] || vop3->clamp || vop3->omod)) in label_instruction() 1828 vop3.omod != 0 || vop3.opsel != 0) in label_instruction() 2248 new_vop3->omod = cmp_vop3.omod; in combine_comparison_ordering() 2373 new_vop3->omod = cmp_vop3.omod; in combine_constant_comparison_ordering() 2424 new_vop3->omod = cmp_vop3.omod; in combine_inverse_comparison() 2436 new_sdwa->omod = cmp_sdwa.omod; in combine_inverse_comparison() 2497 if (op2_vop3 && (op2_vop3->clamp || op2_vop3->omod)) in match_op3_for_vop3() 2502 *op1_omod = op1_vop3 ? op1_vop3->omod : 0u; in match_op3_for_vop3() 2550 unsigned omod) in create_vop3_for_op3() argument 2556 new_instr->omod = omod; in create_vop3_for_op3() [all …]
|
D | aco_opt_value_numbering.cpp | 176 return a3.clamp == b3.clamp && a3.omod == b3.omod && a3.opsel == b3.opsel; in operator ()() 200 aSDWA.omod == bSDWA.omod; in operator ()()
|
D | aco_ir.cpp | 220 if (vop3.omod && gfx_level < GFX9) in can_use_SDWA() 288 sdwa.omod = vop3.omod; in convert_to_SDWA() 337 if (vop3->clamp || vop3->omod || vop3->opsel) in can_use_DPP()
|
D | aco_print_ir.cpp | 564 switch (vop3.omod) { in print_instr_format_specific() 616 switch (sdwa.omod) { in print_instr_format_specific()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | VOP3Instructions.td | 15 (VOP3Mods0 P.Src0VT:$src0, i32:$src0_modifiers, i1:$clamp, i32:$omod), 144 let Asm64 = " $vdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$clamp$omod" in { 232 clampmod:$clamp, omod:$omod); 234 let Asm64 = "$vdst, $src0_modifiers, $attr$attrchan$clamp$omod"; 240 clampmod:$clamp, omod:$omod); 242 let Asm64 = "$vdst, $src0, $attr$attrchan$clamp$omod"; 249 string omod = !if(HasOMod, "$omod", ""); 251 " $vdst, $src0_modifiers, $attr$attrchan"#src2#"$high$clamp"#omod; 261 highmod:$high, clampmod0:$clamp, omod0:$omod), 269 highmod:$high, clampmod0:$clamp, omod0:$omod) [all …]
|
D | R600InstrFormats.td | 137 bits<2> omod; 144 let Word1{6-5} = omod; 199 let Inst{39-38} = omod; 207 let Inst{38-37} = omod;
|
D | VOPInstructions.td | 176 bits<2> omod; 186 let Inst{60-59} = !if(P.HasOMod, omod, 0); 280 bits<2> omod; 288 let Inst{60-59} = !if(P.HasOMod, omod, 0); 457 bits<2> omod; 462 let Inst{47-46} = !if(P.HasSDWAOMod, omod{1-0}, 0);
|
D | SIInstrInfo.td | 1052 def omod : NamedOperandU32<"OModSI", NamedMatchClass<"OModSI">>; 1614 clampmod0:$clamp, omod0:$omod) 1627 clampmod0:$clamp, omod0:$omod), 1646 clampmod0:$clamp, omod0:$omod), 1659 Src2RC:$src2, clampmod0:$clamp, omod0:$omod), 1828 // VOP1_SDWA without omod 1833 // VOP1_SDWA with omod 1835 clampmod:$clamp, omod:$omod, 1846 // VOP2_SDWA without omod 1852 // VOP2_SDWA with omod [all …]
|
D | SIPeepholeSDWA.cpp | 954 if (!ST.hasSDWAOmod() && TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isConvertibleToSDWA() 967 TII->hasModifiersSet(MI, AMDGPU::OpName::omod))) in isConvertibleToSDWA() 1075 if (AMDGPU::getNamedOperandIdx(SDWAOpcode, AMDGPU::OpName::omod) != -1) { in convertToSDWA() 1076 MachineOperand *OMod = TII->getNamedOperand(MI, AMDGPU::OpName::omod); in convertToSDWA()
|
D | VOP1Instructions.td | 94 i1:$clamp, i32:$omod))))], 97 i1:$clamp, i32:$omod))))], 129 let Ins64 = (ins Src0RC64:$src0, clampmod:$clamp, omod:$omod); 130 let Asm64 = "$vdst, $src0$clamp$omod";
|
D | SIFoldOperands.cpp | 1283 if (TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isClamp() 1405 TII->hasModifiersSet(MI, AMDGPU::OpName::omod) || in isOMod() 1427 !TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isOMod() 1448 MachineOperand *DefOMod = TII->getNamedOperand(*Def, AMDGPU::OpName::omod); in tryFoldOMod()
|
D | GCNDPPCombine.cpp | 500 !hasNoImmOrEqual(OrigMI, AMDGPU::OpName::omod, 0)) { in combineDPPMov()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r700_asm.c | 71 S_SQ_ALU_WORD1_OP2_OMOD(alu->omod) | in r700_bytecode_alu_build() 120 alu->omod = G_SQ_ALU_WORD1_OP2_OMOD(word1); in r700_bytecode_alu_read()
|
D | r600_asm.h | 66 unsigned omod; member
|
D | eg_asm.c | 325 S_SQ_ALU_WORD1_OP2_OMOD(alu->omod) | in eg_bytecode_alu_build()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.2.4.rst | 121 - aco: disable omod if the sign of zeros should be preserved 122 - aco: fix fp16 \*0.5 omod
|
D | 21.3.4.rst | 86 - r300: Fix omod failing to increase the number of channels stored.
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | test_sdwa.cpp | 116 BEGIN_TEST(validate.sdwa.omod) 126 … bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa().omod = 1; 400 mul->omod = 2;
|