Home | History | Annotate | Download | only in InstPrinter

Lines Matching full:simm16

796   const unsigned SImm16 = MI->getOperand(OpNo).getImm();
797 const unsigned Id = SImm16 & ID_MASK_;
800 if ((SImm16 & ~ID_MASK_) != 0) // Unused/unknown bits must be 0.
806 if ((SImm16 & ~(ID_MASK_|OP_GS_MASK_|STREAM_ID_MASK_)) != 0) // Unused/unknown bits must be 0.
808 const unsigned OpGs = (SImm16 & OP_GS_MASK_) >> OP_SHIFT_;
809 const unsigned StreamId = (SImm16 & STREAM_ID_MASK_) >> STREAM_ID_SHIFT_;
820 if ((SImm16 & ~(ID_MASK_|OP_SYS_MASK_)) != 0) // Unused/unknown bits must be 0.
822 const unsigned OpSys = (SImm16 & OP_SYS_MASK_) >> OP_SHIFT_;
829 O << SImm16; // Unknown simm16 code.
834 unsigned SImm16 = MI->getOperand(OpNo).getImm();
835 unsigned Vmcnt = SImm16 & 0xF;
836 unsigned Expcnt = (SImm16 >> 4) & 0x7;
837 unsigned Lgkmcnt = (SImm16 >> 8) & 0xF;
864 unsigned SImm16 = MI->getOperand(OpNo).getImm();
865 const unsigned Id = (SImm16 & ID_MASK_) >> ID_SHIFT_;
866 const unsigned Offset = (SImm16 & OFFSET_MASK_) >> OFFSET_SHIFT_;
867 const unsigned Width = ((SImm16 & WIDTH_M1_MASK_) >> WIDTH_M1_SHIFT_) + 1;