Searched refs:Modifier (Results 1 - 25 of 39) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_gv100.h41 virtual bool isModSupported(const Instruction *, int s, Modifier) const;
H A Dnv50_ir.h622 class Modifier class in namespace:nv50_ir
625 Modifier() : bits(0) { } function in class:nv50_ir::Modifier
626 Modifier(unsigned int m) : bits(m) { } function in class:nv50_ir::Modifier
627 Modifier(operation op);
629 // @return new Modifier applying a after b (asserts if unrepresentable)
630 Modifier operator*(const Modifier) const;
631 Modifier operator*=(const Modifier m) { *this = *this * m; return *this; }
632 Modifier operato
[all...]
H A Dnv50_ir_target_nv50.h54 virtual bool isModSupported(const Instruction *, int s, Modifier) const;
H A Dnv50_ir_target_nvc0.h59 virtual bool isModSupported(const Instruction *, int s, Modifier) const;
H A Dnv50_ir_peephole.cpp245 insn->src(0).mod = insn->src(0).mod ^ Modifier(NV50_IR_MOD_NEG);
246 insn->src(1).mod = insn->src(1).mod ^ Modifier(NV50_IR_MOD_NEG);
472 if (insn->src(!s).mod != Modifier(0))
481 Modifier::applyTo(ImmediateValue& imm) const
539 Modifier::getOp() const
742 i->src(0).mod = Modifier(0);
743 i->src(1).mod = Modifier(0);
859 i->src(0).mod = Modifier(0);
860 i->src(1).mod = Modifier(0);
861 i->src(2).mod = Modifier(
[all...]
H A Dnv50_ir_emit_gk110.cpp48 void emitForm_L(const Instruction *, uint32_t opc, uint8_t ctg, Modifier, int sCount = 3);
54 void setImmediate32(const Instruction *, const int s, Modifier);
165 #define NOT_(b, s) if (i->src(s).mod & Modifier(NV50_IR_MOD_NOT)) \
356 Modifier mod)
372 Modifier mod, int sCount)
580 emitForm_L(i, 0x200, 0x2, Modifier(0));
639 emitForm_L(i, 0x280, 2, Modifier(0));
662 Modifier mod = i->src(1).mod ^
663 Modifier(i->op == OP_SUB ? NV50_IR_MOD_NEG : 0);
721 emitForm_L(i, 0x400, 1, Modifier((addO
[all...]
H A Dnv50_ir_lowering_gv100.cpp125 if (i->src(0).mod & Modifier(NV50_IR_MOD_NOT))
127 if (i->src(1).mod & Modifier(NV50_IR_MOD_NOT))
198 i->src(2).mod = Modifier(NV50_IR_MOD_NOT);
241 xadd->src(1).mod = i->src(1).mod ^ Modifier(NV50_IR_MOD_NEG);
H A Dnv50_ir.cpp33 Modifier::Modifier(operation op) function in class:nv50_ir::Modifier
46 Modifier Modifier::operator*(const Modifier m) const
57 return Modifier(a | c);
82 Modifier m;
667 Modifier m = srcs[a].mod;
H A Dnv50_ir_target.h227 int s, Modifier) const = 0;
H A Dnv50_ir_emit_nvc0.cpp875 if (i->src(0).mod == Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 23;
877 if (i->src(1).mod == Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 29;
888 if (i->src(2).mod == Modifier(NV50_IR_MOD_NOT)) code[1] |= 1 << 20;
910 if (i->src(0).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 9;
911 if (i->src(1).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 8;
923 if (i->src(0).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 9;
924 if (i->src(1).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 8;
951 if (i->src(0).mod == Modifier(NV50_IR_MOD_NOT))
1279 if (i->src(2).mod & Modifier(NV50_IR_MOD_NOT))
1589 if (i->src(2).mod == Modifier(NV50_IR_MOD_NO
[all...]
H A Dnv50_ir_target_nv50.cpp469 TargetNV50::isModSupported(const Instruction *insn, int s, Modifier mod) const
501 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;
H A Dnv50_ir_emit_gv100.h100 emitField(pos, 1, !!(ref.mod & Modifier(NV50_IR_MOD_NOT)));
H A Dnv50_ir_target_gv100.cpp430 TargetGV100::isModSupported(const Instruction *i, int s, Modifier mod) const
436 return (mod & Modifier(mods)) == mod;
H A Dnv50_ir_target_nvc0.cpp484 TargetNVC0::isModSupported(const Instruction *insn, int s, Modifier mod) const
527 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/valhall/
H A Dvalhall.py75 class Modifier: class in inherits:
97 return Modifier(name, start, 1)
237 return Modifier(name, start, size, implied)
336 "inactive_result": Modifier("inactive_result", 22, 4),
337 "store_segment": Modifier("store_segment", 24, 2),
338 "regfmt": Modifier("register_format", 24, 3),
339 "vecsize": Modifier("vector_size", 28, 2),
341 "slot": Modifier("slot", 30, 3),
342 "roundmode": Modifier("round_mode", 30, 2),
343 "result_type": Modifier("result_typ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir.h570 class Modifier class in namespace:nv50_ir
573 Modifier() : bits(0) { } function in class:nv50_ir::Modifier
574 Modifier(unsigned int m) : bits(m) { } function in class:nv50_ir::Modifier
575 Modifier(operation op);
577 // @return new Modifier applying a after b (asserts if unrepresentable)
578 Modifier operator*(const Modifier) const;
579 Modifier operator*=(const Modifier m) { *this = *this * m; return *this; }
580 Modifier operato
[all...]
H A Dnv50_ir_target_nv50.h53 virtual bool isModSupported(const Instruction *, int s, Modifier) const;
H A Dnv50_ir_target_nvc0.h59 virtual bool isModSupported(const Instruction *, int s, Modifier) const;
H A Dnv50_ir_peephole.cpp245 insn->src(0).mod = insn->src(0).mod ^ Modifier(NV50_IR_MOD_NEG);
246 insn->src(1).mod = insn->src(1).mod ^ Modifier(NV50_IR_MOD_NEG);
469 if (insn->src(!s).mod != Modifier(0))
478 Modifier::applyTo(ImmediateValue& imm) const
536 Modifier::getOp() const
726 i->src(0).mod = Modifier(0);
727 i->src(1).mod = Modifier(0);
826 i->src(0).mod = Modifier(0);
827 i->src(1).mod = Modifier(0);
828 i->src(2).mod = Modifier(
[all...]
H A Dnv50_ir_emit_gk110.cpp50 void emitForm_L(const Instruction *, uint32_t opc, uint8_t ctg, Modifier, int sCount = 3);
56 void setImmediate32(const Instruction *, const int s, Modifier);
167 #define NOT_(b, s) if (i->src(s).mod & Modifier(NV50_IR_MOD_NOT)) \
358 Modifier mod)
374 Modifier mod, int sCount)
582 emitForm_L(i, 0x200, 0x2, Modifier(0));
641 emitForm_L(i, 0x280, 2, Modifier(0));
664 Modifier mod = i->src(1).mod ^
665 Modifier(i->op == OP_SUB ? NV50_IR_MOD_NEG : 0);
723 emitForm_L(i, 0x400, 1, Modifier((addO
[all...]
H A Dnv50_ir.cpp34 Modifier::Modifier(operation op) function in class:nv50_ir::Modifier
47 Modifier Modifier::operator*(const Modifier m) const
58 return Modifier(a | c);
83 Modifier m;
663 Modifier m = srcs[a].mod;
H A Dnv50_ir_target.h225 int s, Modifier) const = 0;
H A Dnv50_ir_emit_nvc0.cpp877 if (i->src(0).mod == Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 23;
879 if (i->src(1).mod == Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 29;
890 if (i->src(2).mod == Modifier(NV50_IR_MOD_NOT)) code[1] |= 1 << 20;
912 if (i->src(0).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 9;
913 if (i->src(1).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 8;
925 if (i->src(0).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 9;
926 if (i->src(1).mod & Modifier(NV50_IR_MOD_NOT)) code[0] |= 1 << 8;
953 if (i->src(0).mod == Modifier(NV50_IR_MOD_NOT))
1272 if (i->src(2).mod & Modifier(NV50_IR_MOD_NOT))
1582 if (i->src(2).mod == Modifier(NV50_IR_MOD_NO
[all...]
H A Dnv50_ir_target_nv50.cpp458 TargetNV50::isModSupported(const Instruction *insn, int s, Modifier mod) const
490 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;
H A Dnv50_ir_target_nvc0.cpp474 TargetNVC0::isModSupported(const Instruction *insn, int s, Modifier mod) const
517 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;

Completed in 45 milliseconds

12