Lines Matching refs:value
81 unsigned long value, in insert_1() argument
98 x = (x & ~(mask << shift)) | ((value & mask) << shift); in insert_1()
123 long value, in insert_normal() argument
158 if ((value > 0 && (unsigned long) value > maxval) in insert_normal()
159 || value < minval) in insert_normal()
164 value, minval, maxval); in insert_normal()
171 unsigned long val = (unsigned long) value; in insert_normal()
177 if (sizeof (unsigned long) > 4 && ((value >> 32) == -1)) in insert_normal()
196 if (value < minval || value > maxval) in insert_normal()
201 value, minval, maxval); in insert_normal()
216 *buffer = (*buffer & ~(mask << shift)) | ((value & mask) << shift); in insert_normal()
224 insert_1 (cd, value, start, length, word_length, bufp); in insert_normal()
247 unsigned long value; in insert_insn_normal() local
251 value = CGEN_INSN_BASE_VALUE (insn); in insert_insn_normal()
259 CGEN_FIELDS_BITSIZE (fields), value); in insert_insn_normal()
265 value); in insert_insn_normal()
299 CGEN_INSN_INT value) in put_insn_int_value() argument
304 *buf = value; in put_insn_int_value()
311 *buf = (*buf & ~(mask << shift)) | ((value & mask) << shift); in put_insn_int_value()
434 long value, mask; in extract_normal() local
460 value = insn_value >> ((word_offset + start + 1) - length); in extract_normal()
462 value = insn_value >> (total_length - ( word_offset + start + length)); in extract_normal()
477 value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc); in extract_normal()
485 value &= mask; in extract_normal()
488 && (value & (1L << (length - 1)))) in extract_normal()
489 value |= ~mask; in extract_normal()
491 *valuep = value; in extract_normal()
570 long value = fields->f_disp26; in or1k_cgen_insert_operand() local
571 value = ((SI) (((value) - (pc))) >> (2)); in or1k_cgen_insert_operand()
572 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 25, 26, 3… in or1k_cgen_insert_operand()
684 long value; in or1k_cgen_extract_operand() local
685 …alue, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 25, 26, 32, total_length, pc, & value); in or1k_cgen_extract_operand()
686 value = ((((value) << (2))) + (pc)); in or1k_cgen_extract_operand()
687 fields->f_disp26 = value; in or1k_cgen_extract_operand()
778 int value; in or1k_cgen_get_int_operand() local
783 value = fields->f_disp26; in or1k_cgen_get_int_operand()
786 value = fields->f_r2; in or1k_cgen_get_int_operand()
789 value = fields->f_r1; in or1k_cgen_get_int_operand()
792 value = fields->f_r2; in or1k_cgen_get_int_operand()
795 value = fields->f_r3; in or1k_cgen_get_int_operand()
798 value = fields->f_r1; in or1k_cgen_get_int_operand()
801 value = fields->f_r3; in or1k_cgen_get_int_operand()
804 value = fields->f_r1; in or1k_cgen_get_int_operand()
807 value = fields->f_r1; in or1k_cgen_get_int_operand()
810 value = fields->f_r1; in or1k_cgen_get_int_operand()
813 value = fields->f_simm16; in or1k_cgen_get_int_operand()
816 value = fields->f_simm16_split; in or1k_cgen_get_int_operand()
819 value = fields->f_uimm16; in or1k_cgen_get_int_operand()
822 value = fields->f_uimm16_split; in or1k_cgen_get_int_operand()
825 value = fields->f_uimm6; in or1k_cgen_get_int_operand()
835 return value; in or1k_cgen_get_int_operand()
843 bfd_vma value; in or1k_cgen_get_vma_operand() local
848 value = fields->f_disp26; in or1k_cgen_get_vma_operand()
851 value = fields->f_r2; in or1k_cgen_get_vma_operand()
854 value = fields->f_r1; in or1k_cgen_get_vma_operand()
857 value = fields->f_r2; in or1k_cgen_get_vma_operand()
860 value = fields->f_r3; in or1k_cgen_get_vma_operand()
863 value = fields->f_r1; in or1k_cgen_get_vma_operand()
866 value = fields->f_r3; in or1k_cgen_get_vma_operand()
869 value = fields->f_r1; in or1k_cgen_get_vma_operand()
872 value = fields->f_r1; in or1k_cgen_get_vma_operand()
875 value = fields->f_r1; in or1k_cgen_get_vma_operand()
878 value = fields->f_simm16; in or1k_cgen_get_vma_operand()
881 value = fields->f_simm16_split; in or1k_cgen_get_vma_operand()
884 value = fields->f_uimm16; in or1k_cgen_get_vma_operand()
887 value = fields->f_uimm16_split; in or1k_cgen_get_vma_operand()
890 value = fields->f_uimm6; in or1k_cgen_get_vma_operand()
900 return value; in or1k_cgen_get_vma_operand()
915 int value) in or1k_cgen_set_int_operand() argument
920 fields->f_disp26 = value; in or1k_cgen_set_int_operand()
923 fields->f_r2 = value; in or1k_cgen_set_int_operand()
926 fields->f_r1 = value; in or1k_cgen_set_int_operand()
929 fields->f_r2 = value; in or1k_cgen_set_int_operand()
932 fields->f_r3 = value; in or1k_cgen_set_int_operand()
935 fields->f_r1 = value; in or1k_cgen_set_int_operand()
938 fields->f_r3 = value; in or1k_cgen_set_int_operand()
941 fields->f_r1 = value; in or1k_cgen_set_int_operand()
944 fields->f_r1 = value; in or1k_cgen_set_int_operand()
947 fields->f_r1 = value; in or1k_cgen_set_int_operand()
950 fields->f_simm16 = value; in or1k_cgen_set_int_operand()
953 fields->f_simm16_split = value; in or1k_cgen_set_int_operand()
956 fields->f_uimm16 = value; in or1k_cgen_set_int_operand()
959 fields->f_uimm16_split = value; in or1k_cgen_set_int_operand()
962 fields->f_uimm6 = value; in or1k_cgen_set_int_operand()
977 bfd_vma value) in or1k_cgen_set_vma_operand() argument
982 fields->f_disp26 = value; in or1k_cgen_set_vma_operand()
985 fields->f_r2 = value; in or1k_cgen_set_vma_operand()
988 fields->f_r1 = value; in or1k_cgen_set_vma_operand()
991 fields->f_r2 = value; in or1k_cgen_set_vma_operand()
994 fields->f_r3 = value; in or1k_cgen_set_vma_operand()
997 fields->f_r1 = value; in or1k_cgen_set_vma_operand()
1000 fields->f_r3 = value; in or1k_cgen_set_vma_operand()
1003 fields->f_r1 = value; in or1k_cgen_set_vma_operand()
1006 fields->f_r1 = value; in or1k_cgen_set_vma_operand()
1009 fields->f_r1 = value; in or1k_cgen_set_vma_operand()
1012 fields->f_simm16 = value; in or1k_cgen_set_vma_operand()
1015 fields->f_simm16_split = value; in or1k_cgen_set_vma_operand()
1018 fields->f_uimm16 = value; in or1k_cgen_set_vma_operand()
1021 fields->f_uimm16_split = value; in or1k_cgen_set_vma_operand()
1024 fields->f_uimm6 = value; in or1k_cgen_set_vma_operand()