Searched refs:commutative (Results 1 - 16 of 16) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opcodes.py137 commutative = "commutative " variable
474 [2, 2], [src_type, src_type], False, commutative,
477 [3, 3], [src_type, src_type], False, commutative,
480 [4, 4], [src_type, src_type], False, commutative,
483 binop("fadd", tfloat, commutative + associative, "src0 + src1")
484 binop("iadd", tint, commutative + associative, "src0 + src1")
485 binop("iadd_sat", tint, commutative, """
490 binop("uadd_sat", tuint, commutative,
502 binop("fmul", tfloat, commutative
[all...]
H A Dnir_algebraic.py339 """Recursively count and index commutative expressions
343 "commutative" in opcodes[self.opcode].algebraic_properties:
799 commutative = len(children) == 2 \
800 and "commutative" in opcodes[opcode].algebraic_properties
803 if commutative:
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_nvc0.cpp196 static const operation commutative[] = local in function:nv50_ir::TargetNVC0::initOpInfo
243 opInfo[i].commutative = false; /* set below */
249 for (i = 0; i < ARRAY_SIZE(commutative); ++i)
250 opInfo[commutative[i]].commutative = true;
H A Dnv50_ir_target.h206 unsigned int commutative : 1; member in struct:nv50_ir::Target::OpInfo
H A Dnv50_ir_target_nv50.cpp159 opInfo[i].commutative = false; /* set below */
166 opInfo[commutativeList[i]].commutative = true;
H A Dnv50_ir_peephole.cpp194 if (!targ->getOpInfo(insn).commutative) {
198 // XMAD is only commutative if both the CBCC and MRG flags are not set.
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_gv100.cpp33 static const operation commutative[] = local in function:nv50_ir::TargetGV100::initOpInfo
70 opInfo[i].commutative = false; /* set below */
76 for (i = 0; i < ARRAY_SIZE(commutative); ++i)
77 opInfo[commutative[i]].commutative = true;
H A Dnv50_ir_target_nvc0.cpp196 static const operation commutative[] = local in function:nv50_ir::TargetNVC0::initOpInfo
243 opInfo[i].commutative = false; /* set below */
249 for (i = 0; i < ARRAY_SIZE(commutative); ++i)
250 opInfo[commutative[i]].commutative = true;
H A Dnv50_ir_target.h208 unsigned int commutative : 1; member in struct:nv50_ir::Target::OpInfo
H A Dnv50_ir_target_nv50.cpp159 opInfo[i].commutative = false; /* set below */
166 opInfo[commutativeList[i]].commutative = true;
H A Dnv50_ir_peephole.cpp194 if (!targ->getOpInfo(insn).commutative) {
198 // XMAD is only commutative if both the CBCC and MRG flags are not set.
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_algebraic.py361 # generator that this pattern is known to have too many commutative
409 """Recursively count and index commutative expressions
876 commutative = len(children) >= 2 \
880 if commutative:
1167 # more commutative expressions than match_expression (nir_search.c)
1173 print("Transform expected to have too many commutative " \
1183 print("Transformation with too many commutative expressions " \
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.1.0.rst2158 - nir: Mark fmin and fmax as commutative and associative
2225 - intel/compiler: Only GE and L modifiers are commutative for SEL
H A D19.1.0.rst2200 - nir/search: Search for all combinations of commutative ops
H A D21.0.0.rst1507 - nir/algebraic: Don't add reordered version of patterns for commutative instructions
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_instruction_selection.cpp823 bool commutative, bool swap_srcs = false, bool flush_denorms = false,
832 if (commutative && src0.type() == RegType::vgpr) {
1008 default: /* eq and ne are commutative */ break;
1974 true /* commutative */, false, false, nuw_16bit);
822 emit_vop2_instruction(isel_context * ctx,nir_alu_instr * instr,aco_opcode opc,Temp dst,bool commutative,bool swap_srcs=false,bool flush_denorms=false,bool nuw=false,uint8_t uses_ub=0) argument

Completed in 56 milliseconds