Home
last modified time | relevance | path

Searched refs:omod (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_expr.cpp337 if (bc.omod) in apply_alu_dst_mod()
338 v = v.f * omod_coeff[bc.omod - 1]; in apply_alu_dst_mod()
369 if (b0.clamp != b1.clamp || b0.omod != b1.omod) in ops_equal()
403 if (!sd->bc.clamp && !sd->bc.omod && !sd->bc.src[0].abs && in fold_alu_op1()
413 && n.bc.clamp == 0 && n.bc.omod == 0 in fold_alu_op1()
494 !n->bc.src[1].abs && !n->bc.src[0].abs && !d0->bc.omod && in fold_mul_add()
495 !d0->bc.clamp && !n->bc.omod && in fold_mul_add()
531 !n->bc.src[0].abs && !n->bc.src[1].abs && !d1->bc.omod && in fold_mul_add()
532 !d1->bc.clamp && !n->bc.omod && in fold_mul_add()
661 !d0->bc.omod && !d0->bc.clamp && in fold_assoc()
[all …]
Dsb_bc_builder.cpp432 .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()
Dsb_dump.cpp416 if (n->bc.omod) { in dump_alu()
418 sblog << omod_str[n->bc.omod]; in dump_alu()
Dsb_bc.h519 unsigned omod:2; member
550 omod = 0; in clear()
Dsb_peephole.cpp238 if (d->bc.omod) in optimize_CNDcc_op()
Dsb_bc_decoder.cpp372 bc.omod = w1.get_OMOD(); in decode_alu()
391 bc.omod = w1.get_OMOD(); in decode_alu()
/external/mesa3d/src/amd/compiler/
Daco_optimizer.cpp1338 vop3->omod != 0 || vop3->opsel != 0) in label_instruction()
1771 new_vop3->omod = cmp_vop3->omod; in combine_comparison_ordering()
1890 new_vop3->omod = cmp_vop3->omod; in combine_constant_comparison_ordering()
1939 new_vop3->omod = cmp_vop3->omod; in combine_inverse_comparison()
1952 new_sdwa->omod = cmp_sdwa->omod; in combine_inverse_comparison()
1995 if (op2_vop3 && (op2_vop3->clamp || op2_vop3->omod)) in match_op3_for_vop3()
2000 *op1_omod = op1_vop3 ? op1_vop3->omod : 0u; in match_op3_for_vop3()
2048 bool clamp, unsigned omod) in create_vop3_for_op3() argument
2054 new_instr->omod = omod; in create_vop3_for_op3()
2073 uint8_t opsel = 0, omod = 0; in combine_three_valu_op() local
[all …]
Daco_ir.cpp176 if (vop3->omod && chip < GFX9) in can_use_SDWA()
239 sdwa->omod = vop3->omod; in convert_to_SDWA()
Daco_opt_value_numbering.cpp189 a3->omod == b3->omod && in operator ()()
217 aSDWA->omod == bSDWA->omod; in operator ()()
Daco_print_ir.cpp581 switch (vop3->omod) { in print_instr_format_specific()
635 switch (sdwa->omod) { in print_instr_format_specific()
Daco_ir.h1038 uint8_t omod : 2; member
1124 uint8_t omod : 2; /* GFX9+ */ member
1364 return vop3->opsel || vop3->clamp || vop3->omod; in usesModifiers()
/external/llvm/lib/Target/AMDGPU/
DVIInstrFormats.td123 bits<2> omod;
134 let Inst{60-59} = omod;
163 bits<2> omod;
174 let Inst{60-59} = omod;
DR600InstrFormats.td128 bits<2> omod;
135 let Word1{6-5} = omod;
190 let Inst{39-38} = omod;
198 let Inst{38-37} = omod;
DSIInstrInfo.td547 def omod : NamedOperandU32<"OModSI", NamedMatchClass<"OModSI">>;
1209 clampmod:$clamp, omod:$omod)
1219 clampmod:$clamp, omod:$omod)
1230 clampmod:$clamp, omod:$omod)
1351 dst#", "#src0#src1#src2#"$clamp"#"$omod");
1545 let Asm64 = "$vdst, $sdst, $src0_modifiers, $src1_modifiers, $src2_modifiers"#"$clamp"#"$omod";
1847 bits<2> omod = !if(HasModifiers, ?, 0);
1860 bits<2> omod = !if(HasOutputMods, ?, 0);
2115 i32:$src0_modifiers, i1:$clamp, i32:$omod))))],
2127 i32:$src0_modifiers, i1:$clamp, i32:$omod))))],
[all …]
DSIInstrFormats.td406 bits<2> omod;
417 let Inst{60-59} = omod;
446 bits<2> omod;
455 let Inst{60-59} = omod;
DSIShrinkInstructions.cpp119 if (TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in canShrink()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DVOP3Instructions.td15 (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 …]
DR600InstrFormats.td137 bits<2> omod;
144 let Word1{6-5} = omod;
199 let Inst{39-38} = omod;
207 let Inst{38-37} = omod;
DVOPInstructions.td176 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);
DSIInstrInfo.td1052 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 …]
DSIPeepholeSDWA.cpp954 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()
DVOP1Instructions.td94 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";
DSIFoldOperands.cpp1283 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()
/external/mesa3d/src/gallium/drivers/r600/
Dr700_asm.c71 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()
Dr600_asm.h66 unsigned omod; member

12