• Home
  • Raw
  • Download

Lines Matching refs:newval

21846   offsetT newval;  in encode_thumb2_b_bl_offset()  local
21855 newval = md_chars_to_number (buf, THUMB_SIZE); in encode_thumb2_b_bl_offset()
21857 newval |= (S << 10) | hi; in encode_thumb2_b_bl_offset()
21860 md_number_to_chars (buf, newval, THUMB_SIZE); in encode_thumb2_b_bl_offset()
21870 offsetT newval; in md_apply_fix() local
22047 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22049 newval &= 0xfffff000; in md_apply_fix()
22052 newval &= 0xff7ff000; in md_apply_fix()
22053 newval |= value | (sign ? INDEX_UP : 0); in md_apply_fix()
22055 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22077 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22079 newval &= 0xfffff0f0; in md_apply_fix()
22082 newval &= 0xff7ff0f0; in md_apply_fix()
22083 newval |= ((value >> 4) << 8) | (value & 0xf) | (sign ? INDEX_UP : 0); in md_apply_fix()
22085 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22094 newval = md_chars_to_number (buf+2, THUMB_SIZE); in md_apply_fix()
22095 newval |= value; in md_apply_fix()
22096 md_number_to_chars (buf+2, newval, THUMB_SIZE); in md_apply_fix()
22118 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22119 newval <<= 16; in md_apply_fix()
22120 newval |= md_chars_to_number (buf+THUMB_SIZE, THUMB_SIZE); in md_apply_fix()
22122 if ((newval & 0xf0000000) == 0xe0000000) in md_apply_fix()
22126 newval |= (1 << 23); in md_apply_fix()
22142 newval &= ~0xff; in md_apply_fix()
22144 else if ((newval & 0x000f0000) == 0x000f0000) in md_apply_fix()
22148 newval |= (1 << 23); in md_apply_fix()
22157 newval &= ~0xfff; in md_apply_fix()
22159 else if ((newval & 0x00000100) == 0x00000100) in md_apply_fix()
22163 newval |= (1 << 9); in md_apply_fix()
22172 newval &= ~0xff; in md_apply_fix()
22174 else if ((newval & 0x00000f00) == 0x00000e00) in md_apply_fix()
22183 newval &= ~0xff; in md_apply_fix()
22184 newval |= value; in md_apply_fix()
22192 newval |= (1 << 23); in md_apply_fix()
22206 newval &= ~limit; in md_apply_fix()
22209 newval |= value; in md_apply_fix()
22210 md_number_to_chars (buf, (newval >> 16) & 0xffff, THUMB_SIZE); in md_apply_fix()
22211 md_number_to_chars (buf + THUMB_SIZE, newval & 0xffff, THUMB_SIZE); in md_apply_fix()
22215 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22218 && (((newval & 0x60) == 0) || (newval & 0x60) == 0x60))) in md_apply_fix()
22227 newval &= ~0x60; in md_apply_fix()
22230 newval &= 0xfffff07f; in md_apply_fix()
22231 newval |= (value & 0x1f) << 7; in md_apply_fix()
22232 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22253 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22254 newval <<= 16; in md_apply_fix()
22255 newval |= md_chars_to_number (buf+2, THUMB_SIZE); in md_apply_fix()
22263 newimm = thumb32_negate_data_op (&newval, value); in md_apply_fix()
22270 newval = (newval & 0xfeffffff) | 0x02000000; in md_apply_fix()
22272 if ((newval & 0x00100000) == 0) in md_apply_fix()
22278 newval ^= 0x00a00000; in md_apply_fix()
22295 newval |= (newimm & 0x800) << 15; in md_apply_fix()
22296 newval |= (newimm & 0x700) << 4; in md_apply_fix()
22297 newval |= (newimm & 0x0ff); in md_apply_fix()
22299 md_number_to_chars (buf, (valueT) ((newval >> 16) & 0xffff), THUMB_SIZE); in md_apply_fix()
22300 md_number_to_chars (buf+2, (valueT) (newval & 0xffff), THUMB_SIZE); in md_apply_fix()
22307 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22308 newval |= (value & 0xf) | ((value & 0xfff0) << 4); in md_apply_fix()
22309 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22316 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22317 newval |= (value & 0xf) | ((value & 0xfff0) << 4); in md_apply_fix()
22318 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22327 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22328 newval |= value; in md_apply_fix()
22329 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22336 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22337 newval |= value; in md_apply_fix()
22338 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22346 newval = value | md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22347 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22362 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22363 newval = newval | 0x10000000; in md_apply_fix()
22364 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22383 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22404 newval = 0xeb000000; in md_apply_fix()
22408 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22432 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22433 newval |= (value >> 2) & 0x00ffffff; in md_apply_fix()
22438 newval |= 0x01000000; in md_apply_fix()
22440 newval &= ~0x01000000; in md_apply_fix()
22442 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22457 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22458 newval = 0xbf00; /* NOP encoding T1 */ in md_apply_fix()
22459 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22468 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22469 newval |= ((value & 0x3e) << 2) | ((value & 0x40) << 3); in md_apply_fix()
22470 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22481 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22482 newval |= (value & 0x1ff) >> 1; in md_apply_fix()
22483 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22493 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22494 newval |= (value & 0xfff) >> 1; in md_apply_fix()
22495 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22524 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22526 newval |= (S << 10) | hi; in md_apply_fix()
22528 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22547 newval = md_chars_to_number (buf + THUMB_SIZE, THUMB_SIZE); in md_apply_fix()
22548 newval = newval | 0x1000; in md_apply_fix()
22549 md_number_to_chars (buf+THUMB_SIZE, newval, THUMB_SIZE); in md_apply_fix()
22566 newval = md_chars_to_number (buf + THUMB_SIZE, THUMB_SIZE); in md_apply_fix()
22567 newval = newval & ~0x1000; in md_apply_fix()
22568 md_number_to_chars (buf+THUMB_SIZE, newval, THUMB_SIZE); in md_apply_fix()
22675 newval = md_chars_to_number (buf, 4) & 0x80000000; in md_apply_fix()
22681 newval |= value & 0x7fffffff; in md_apply_fix()
22682 md_number_to_chars (buf, newval, 4); in md_apply_fix()
22698 newval = md_chars_to_number (buf, INSN_SIZE); in md_apply_fix()
22700 newval = get_thumb32_insn (buf); in md_apply_fix()
22702 newval &= 0xffffff00; in md_apply_fix()
22705 newval &= 0xff7fff00; in md_apply_fix()
22706 newval |= (value >> 2) | (sign ? INDEX_UP : 0); in md_apply_fix()
22710 md_number_to_chars (buf, newval, INSN_SIZE); in md_apply_fix()
22712 put_thumb32_insn (buf, newval); in md_apply_fix()
22724 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22728 switch (newval >> 12) in md_apply_fix()
22746 newval |= value >> 2; in md_apply_fix()
22754 newval |= value >> 2; in md_apply_fix()
22762 newval |= value << 4; /* 6 - 2. */ in md_apply_fix()
22770 newval |= value << 6; in md_apply_fix()
22778 newval |= value << 5; /* 6 - 1. */ in md_apply_fix()
22784 (unsigned long) newval); in md_apply_fix()
22787 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22806 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22808 int rd = (newval >> 4) & 0xf; in md_apply_fix()
22809 int rs = newval & 0xf; in md_apply_fix()
22810 int subtract = !!(newval & 0x8000); in md_apply_fix()
22834 newval = subtract ? T_OPCODE_SUB_ST : T_OPCODE_ADD_ST; in md_apply_fix()
22835 newval |= value >> 2; in md_apply_fix()
22843 newval = (rs == REG_PC ? T_OPCODE_ADD_PC : T_OPCODE_ADD_SP); in md_apply_fix()
22844 newval |= rd << 8; in md_apply_fix()
22845 newval |= value >> 2; in md_apply_fix()
22852 newval = subtract ? T_OPCODE_SUB_I8 : T_OPCODE_ADD_I8; in md_apply_fix()
22853 newval |= (rd << 8) | value; in md_apply_fix()
22860 newval = subtract ? T_OPCODE_SUB_I3 : T_OPCODE_ADD_I3; in md_apply_fix()
22861 newval |= rd | (rs << 3) | (value << 6); in md_apply_fix()
22864 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22868 newval = md_chars_to_number (buf, THUMB_SIZE); in md_apply_fix()
22873 newval |= value; in md_apply_fix()
22874 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22879 newval = md_chars_to_number (buf, THUMB_SIZE) & 0xf83f; in md_apply_fix()
22880 temp = newval & 0xf800; in md_apply_fix()
22886 newval = (newval & 0x003f) | T_OPCODE_LSL_I; in md_apply_fix()
22890 newval |= value << 6; in md_apply_fix()
22891 md_number_to_chars (buf, newval, THUMB_SIZE); in md_apply_fix()
22921 newval = get_thumb32_insn (buf); in md_apply_fix()
22922 newval &= 0xfbf08f00; in md_apply_fix()
22923 newval |= (value & 0xf000) << 4; in md_apply_fix()
22924 newval |= (value & 0x0800) << 15; in md_apply_fix()
22925 newval |= (value & 0x0700) << 4; in md_apply_fix()
22926 newval |= (value & 0x00ff); in md_apply_fix()
22927 put_thumb32_insn (buf, newval); in md_apply_fix()
22931 newval = md_chars_to_number (buf, 4); in md_apply_fix()
22932 newval &= 0xfff0f000; in md_apply_fix()
22933 newval |= value & 0x0fff; in md_apply_fix()
22934 newval |= (value & 0xf000) << 4; in md_apply_fix()
22935 md_number_to_chars (buf, newval, 4); in md_apply_fix()