Lines Matching refs:total_length
129 unsigned int total_length, in insert_normal() argument
148 && word_length > total_length) in insert_normal()
149 word_length = total_length; in insert_normal()
215 shift = total_length - (word_offset + start + length); in insert_normal()
426 unsigned int total_length, in extract_normal() argument
451 if (word_offset + word_length > total_length) in extract_normal()
452 word_length = total_length - word_offset; in extract_normal()
457 if (CGEN_INT_INSN_P || (word_offset == 0 && word_length == total_length)) in extract_normal()
462 value = insn_value >> (total_length - ( word_offset + start + length)); in extract_normal()
564 unsigned int total_length = CGEN_FIELDS_BITSIZE (fields); in openrisc_cgen_insert_operand() local
572 … (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_ABS_ADDR), 0, 25, 26, 32, total_length, buffer); in openrisc_cgen_insert_operand()
579 …cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 25, 26, 32, total_length, buffer); in openrisc_cgen_insert_operand()
583 …insert_normal (cd, fields->f_simm16, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, buffer); in openrisc_cgen_insert_operand()
586 …= insert_normal (cd, fields->f_lo16, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, buffer); in openrisc_cgen_insert_operand()
589 errmsg = insert_normal (cd, fields->f_op4, 0, 0, 23, 3, 32, total_length, buffer); in openrisc_cgen_insert_operand()
592 errmsg = insert_normal (cd, fields->f_op5, 0, 0, 25, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
595 errmsg = insert_normal (cd, fields->f_r2, 0, 0, 20, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
598 errmsg = insert_normal (cd, fields->f_r3, 0, 0, 15, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
601 errmsg = insert_normal (cd, fields->f_r1, 0, 0, 25, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
604 …insert_normal (cd, fields->f_simm16, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, buffer); in openrisc_cgen_insert_operand()
612 errmsg = insert_normal (cd, fields->f_i16_1, 0, 0, 10, 11, 32, total_length, buffer); in openrisc_cgen_insert_operand()
615 errmsg = insert_normal (cd, fields->f_i16_2, 0, 0, 25, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
621 errmsg = insert_normal (cd, fields->f_uimm16, 0, 0, 15, 16, 32, total_length, buffer); in openrisc_cgen_insert_operand()
624 errmsg = insert_normal (cd, fields->f_uimm5, 0, 0, 4, 5, 32, total_length, buffer); in openrisc_cgen_insert_operand()
665 unsigned int total_length = CGEN_FIELDS_BITSIZE (fields); in openrisc_cgen_extract_operand() local
672 …_value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_ABS_ADDR), 0, 25, 26, 32, total_length, pc, & value); in openrisc_cgen_extract_operand()
680 …alue, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 25, 26, 32, total_length, pc, & value); in openrisc_cgen_extract_operand()
686 …mal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, pc, & fields->… in openrisc_cgen_extract_operand()
689 …mal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, pc, & fields->… in openrisc_cgen_extract_operand()
692 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 23, 3, 32, total_length, pc, & fields->f_o… in openrisc_cgen_extract_operand()
695 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 25, 5, 32, total_length, pc, & fields->f_o… in openrisc_cgen_extract_operand()
698 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 20, 5, 32, total_length, pc, & fields->f_r… in openrisc_cgen_extract_operand()
701 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 5, 32, total_length, pc, & fields->f_r… in openrisc_cgen_extract_operand()
704 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 25, 5, 32, total_length, pc, & fields->f_r… in openrisc_cgen_extract_operand()
707 …mal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 15, 16, 32, total_length, pc, & fields->… in openrisc_cgen_extract_operand()
711 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 10, 11, 32, total_length, pc, & fields->f_… in openrisc_cgen_extract_operand()
713 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 25, 5, 32, total_length, pc, & fields->f_i… in openrisc_cgen_extract_operand()
721 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 16, 32, total_length, pc, & fields->f_… in openrisc_cgen_extract_operand()
724 …length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 5, 32, total_length, pc, & fields->f_ui… in openrisc_cgen_extract_operand()