Home | History | Annotate | Download | only in mips

Lines Matching defs:encoder

650     const MipsEncodingMap *encoder = &EncodingMap[lir->opcode];
651 uint32_t bits = encoder->skeleton;
657 switch (encoder->field_loc[i].kind) {
661 if (encoder->field_loc[i].start == 0 && encoder->field_loc[i].end == 31) {
664 value = (operand << encoder->field_loc[i].start) &
665 ((1 << (encoder->field_loc[i].end + 1)) - 1);
671 bits |= (value << encoder->field_loc[i].start);
672 bits |= (value << encoder->field_loc[i].end);
678 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) &
679 ((1 << (encoder->field_loc[i].end + 1)) - 1);
685 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) &
686 ((1 << (encoder->field_loc[i].end + 1)) - 1);
690 LOG(FATAL) << "Bad encoder format: " << encoder->field_loc[i].kind;
699 if (encoder->size == 8) {
701 const MipsEncodingMap *encoder = &EncodingMap[kMipsNop];
702 uint32_t bits = encoder->skeleton;