Lines Matching refs:field_loc
657 switch (encoder->field_loc[i].kind) { in AssembleInstructions()
661 if (encoder->field_loc[i].start == 0 && encoder->field_loc[i].end == 31) { in AssembleInstructions()
664 value = (operand << encoder->field_loc[i].start) & in AssembleInstructions()
665 ((1 << (encoder->field_loc[i].end + 1)) - 1); in AssembleInstructions()
671 bits |= (value << encoder->field_loc[i].start); in AssembleInstructions()
672 bits |= (value << encoder->field_loc[i].end); in AssembleInstructions()
678 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) & in AssembleInstructions()
679 ((1 << (encoder->field_loc[i].end + 1)) - 1); in AssembleInstructions()
685 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) & in AssembleInstructions()
686 ((1 << (encoder->field_loc[i].end + 1)) - 1); in AssembleInstructions()
690 LOG(FATAL) << "Bad encoder format: " << encoder->field_loc[i].kind; in AssembleInstructions()