| /src/external/gpl3/binutils/dist/bfd/ |
| elf32-i386.c | 1252 unsigned int modrm; 1287 modrm = bfd_get_8 (abfd, contents + roff - 1); 1288 baseless = (modrm & 0xc7) == 0x5; 1328 switch (modrm & 0x38) 1395 if (modrm == 0x15 || (modrm & 0xf8) == 0x90) 1399 modrm = 0xe8; 1422 modrm = 0xe9; 1429 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 1471 modrm = 0xc0 | (modrm & 0x38) >> 3 1249 unsigned int modrm; local [all...] |
| elf64-x86-64.c | 1814 unsigned int modrm; 1904 modrm = bfd_get_8 (abfd, contents + roff - 1); 1907 switch (modrm & 0x38) 2117 if (modrm == 0x25) 2120 modrm = 0xe9; 2134 modrm = 0xe8; 2157 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 2171 modrm = 0xc0 | (modrm & 0x38) >> 3; 2189 modrm = 0xc0 | ((modrm & 0x38) >> 3) | (opcode & 0x38) 1812 unsigned int modrm; local [all...] |
| /src/external/gpl3/binutils.old/dist/bfd/ |
| elf32-i386.c | 1243 unsigned int modrm; 1278 modrm = bfd_get_8 (abfd, contents + roff - 1); 1279 baseless = (modrm & 0xc7) == 0x5; 1319 switch (modrm & 0x38) 1386 if (modrm == 0x15 || (modrm & 0xf8) == 0x90) 1390 modrm = 0xe8; 1413 modrm = 0xe9; 1420 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 1462 modrm = 0xc0 | (modrm & 0x38) >> 3 1240 unsigned int modrm; local [all...] |
| elf64-x86-64.c | 1802 unsigned int modrm; 1892 modrm = bfd_get_8 (abfd, contents + roff - 1); 1895 switch (modrm & 0x38) 2105 if (modrm == 0x25) 2108 modrm = 0xe9; 2122 modrm = 0xe8; 2145 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 2159 modrm = 0xc0 | (modrm & 0x38) >> 3; 2177 modrm = 0xc0 | ((modrm & 0x38) >> 3) | (opcode & 0x38) 1800 unsigned int modrm; local [all...] |
| /src/external/gpl3/gdb.old/dist/bfd/ |
| elf32-i386.c | 1233 unsigned int modrm; 1268 modrm = bfd_get_8 (abfd, contents + roff - 1); 1269 baseless = (modrm & 0xc7) == 0x5; 1359 if (modrm == 0x15 || (modrm & 0xf8) == 0x90) 1363 modrm = 0xe8; 1386 modrm = 0xe9; 1393 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 1434 modrm = 0xc0 | (modrm & 0x38) >> 3 1230 unsigned int modrm; local [all...] |
| elf64-x86-64.c | 1752 unsigned int modrm; 1934 modrm = bfd_get_8 (abfd, contents + roff - 1); 1935 if (modrm == 0x25) 1938 modrm = 0xe9; 1952 modrm = 0xe8; 1975 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 2014 modrm = bfd_get_8 (abfd, contents + roff - 1); 2015 modrm = 0xc0 | (modrm & 0x38) >> 3; 2041 modrm = bfd_get_8 (abfd, contents + roff - 1) 1750 unsigned int modrm; local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| amd64-tdep.c | 1079 /* The offset to the modrm byte or -1 if not present. */ 1238 /* If the opcode is one byte long and there's no ModRM byte, 1243 /* Mark used regs in the modrm/sib bytes. */ local 1246 int modrm = details->raw_insn[details->modrm_offset]; 1247 int mod = MODRM_MOD_FIELD (modrm); 1248 int reg = MODRM_REG_FIELD (modrm); 1249 int rm = MODRM_RM_FIELD (modrm); 1252 /* Assume the reg field of the modrm byte specifies a register. */ 1414 /* Convert the ModRM field to be base+disp. */ 1435 gdb_byte modrm = details->raw_insn[details->modrm_offset] 1432 gdb_byte modrm = details->raw_insn[details->modrm_offset]; local 1763 gdb_byte modrm = insn->raw_insn[insn->modrm_offset]; local [all...] |
| i386-tdep.c | 4470 uint8_t modrm; 4486 /* Parse the "modrm" part of the memory address irp->addr points at. 4494 if (record_read_memory (gdbarch, irp->addr, &irp->modrm, 1)) 4498 irp->mod = (irp->modrm >> 6) & 3; 4499 irp->reg = (irp->modrm >> 3) & 7; 4500 irp->rm = irp->modrm & 7; 4872 /* If ModRM.mod is 11 we are saving into a register. */ 4902 /* If ModRM.mod is 11 we are saving into a register. */ 4921 /* The first bit of modrm identifies if both operands of the instruction 5433 opcode = opcode << 8 | ir.modrm; 4446 uint8_t modrm; member in struct:i386_record_s [all...] |
| /src/external/gpl3/gdb/dist/bfd/ |
| elf32-i386.c | 1237 unsigned int modrm; 1272 modrm = bfd_get_8 (abfd, contents + roff - 1); 1273 baseless = (modrm & 0xc7) == 0x5; 1313 switch (modrm & 0x38) 1380 if (modrm == 0x15 || (modrm & 0xf8) == 0x90) 1384 modrm = 0xe8; 1407 modrm = 0xe9; 1414 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 1456 modrm = 0xc0 | (modrm & 0x38) >> 3 1234 unsigned int modrm; local [all...] |
| elf64-x86-64.c | 1802 unsigned int modrm; 1892 modrm = bfd_get_8 (abfd, contents + roff - 1); 1895 switch (modrm & 0x38) 2105 if (modrm == 0x25) 2108 modrm = 0xe9; 2122 modrm = 0xe8; 2145 bfd_put_8 (abfd, modrm, contents + irel->r_offset - 1); 2159 modrm = 0xc0 | (modrm & 0x38) >> 3; 2177 modrm = 0xc0 | ((modrm & 0x38) >> 3) | (opcode & 0x38) 1800 unsigned int modrm; local [all...] |
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| unwind.c | 1527 unsigned char modrm = *pc++; local 1528 unsigned char mod = MRM_MOD (modrm); 1531 unsigned char regs = modrm & 0x07; 1902 unsigned char modrm; local 2961 modrm = *cur->pc; 2962 if (MRM_MOD (modrm) == 0xc0 && MRM_REGS (modrm) == RSP) 2965 extop = MRM_EXT (modrm); 2983 modrm = *cur->pc; 2984 if (MRM_MOD (modrm) == 0xc0 && MRM_REGS (modrm) == RSP [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| unwind.c | 1527 unsigned char modrm = *pc++; local 1528 unsigned char mod = MRM_MOD (modrm); 1531 unsigned char regs = modrm & 0x07; 1902 unsigned char modrm; local 2961 modrm = *cur->pc; 2962 if (MRM_MOD (modrm) == 0xc0 && MRM_REGS (modrm) == RSP) 2965 extop = MRM_EXT (modrm); 2983 modrm = *cur->pc; 2984 if (MRM_MOD (modrm) == 0xc0 && MRM_REGS (modrm) == RSP [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| amd64-tdep.c | 1079 /* The offset to the modrm byte or -1 if not present. */ 1237 /* Return true if the MODRM byte of an insn indicates that the insn is 1241 rip_relative_p (gdb_byte modrm) 1243 gdb_byte mod = MODRM_MOD_FIELD (modrm); 1244 gdb_byte rm = MODRM_RM_FIELD (modrm); 1270 /* If the opcode is one byte long and there's no ModRM byte, 1275 /* Mark used regs in the modrm/sib bytes. */ local 1278 int modrm = details->raw_insn[details->modrm_offset]; 1279 int mod = MODRM_MOD_FIELD (modrm); 1280 int reg = MODRM_REG_FIELD (modrm); 1614 gdb_byte modrm = details->raw_insn[details->modrm_offset]; local 1966 gdb_byte modrm = insn->raw_insn[insn->modrm_offset]; local [all...] |
| i386-tdep.c | 4484 uint8_t modrm; 4500 /* Parse the "modrm" part of the memory address irp->addr points at. 4508 if (record_read_memory (gdbarch, irp->addr, &irp->modrm, 1)) 4512 irp->mod = (irp->modrm >> 6) & 3; 4513 irp->reg = (irp->modrm >> 3) & 7; 4514 irp->rm = irp->modrm & 7; 4929 /* If ModRM.mod is 11 we are saving into a register. */ 4969 /* If ModRM.mod is 11 we are saving into a register. */ 4988 /* The first bit of modrm identifies if both operands of the instruction 5032 /* vextract instructions use ModRM.R/M and VEX.B to address th 4460 uint8_t modrm; member in struct:i386_record_s [all...] |
| /src/external/gpl3/binutils/dist/opcodes/ |
| i386-opc.h | 590 /* insn has a modrm byte. */ 591 Modrm, 669 /* RegMem is for instructions with a modrm byte where the register 832 unsigned int modrm:1; member in struct:i386_opcode_modifier
|
| i386-dis.c | 208 modrm; member in struct:instr_info 249 /* Record whether the modrm byte has been skipped. */ 368 ins->modrm.mod = (*ins->codep >> 6) & 3; 369 ins->modrm.reg = (*ins->codep >> 3) & 7; 370 ins->modrm.rm = *ins->codep & 7; 9073 dp = ®_table[dp->op[1].bytemode][ins->modrm.reg]; 9077 vindex = ins->modrm.mod == 0x3 ? 1 : 0; 9082 dp = &rm_table[dp->op[1].bytemode][ins->modrm.rm]; 9176 if (ins->modrm.mod == 3) 9390 /* There is no MODRM byte for VEX0F 77. * [all...] |
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| i386-opc.h | 578 /* insn has a modrm byte. */ 579 Modrm, 657 /* RegMem is for instructions with a modrm byte where the register 819 unsigned int modrm:1; member in struct:i386_opcode_modifier
|
| i386-dis.c | 208 modrm; member in struct:instr_info 249 /* Record whether the modrm byte has been skipped. */ 368 ins->modrm.mod = (*ins->codep >> 6) & 3; 369 ins->modrm.reg = (*ins->codep >> 3) & 7; 370 ins->modrm.rm = *ins->codep & 7; 9034 dp = ®_table[dp->op[1].bytemode][ins->modrm.reg]; 9038 vindex = ins->modrm.mod == 0x3 ? 1 : 0; 9043 dp = &rm_table[dp->op[1].bytemode][ins->modrm.rm]; 9137 if (ins->modrm.mod == 3) 9351 /* There is no MODRM byte for VEX0F 77. * [all...] |
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| i386-opc.h | 545 /* insn has a modrm byte. */ 546 Modrm, 624 /* RegMem is for instructions with a modrm byte where the register 786 unsigned int modrm:1; member in struct:i386_opcode_modifier
|
| i386-dis.c | 208 modrm; member in struct:instr_info 250 /* Record whether the modrm byte has been skipped. */ 369 ins->modrm.mod = (*ins->codep >> 6) & 3; 370 ins->modrm.reg = (*ins->codep >> 3) & 7; 371 ins->modrm.rm = *ins->codep & 7; 8739 dp = ®_table[dp->op[1].bytemode][ins->modrm.reg]; 8743 vindex = ins->modrm.mod == 0x3 ? 1 : 0; 8748 dp = &rm_table[dp->op[1].bytemode][ins->modrm.rm]; 8842 if (ins->modrm.mod == 3) 9044 /* There is no MODRM byte for VEX0F 77. * [all...] |
| /src/external/gpl3/gdb/dist/opcodes/ |
| i386-opc.h | 578 /* insn has a modrm byte. */ 579 Modrm, 657 /* RegMem is for instructions with a modrm byte where the register 819 unsigned int modrm:1; member in struct:i386_opcode_modifier
|
| i386-dis.c | 208 modrm; member in struct:instr_info 249 /* Record whether the modrm byte has been skipped. */ 368 ins->modrm.mod = (*ins->codep >> 6) & 3; 369 ins->modrm.reg = (*ins->codep >> 3) & 7; 370 ins->modrm.rm = *ins->codep & 7; 9041 dp = ®_table[dp->op[1].bytemode][ins->modrm.reg]; 9045 vindex = ins->modrm.mod == 0x3 ? 1 : 0; 9050 dp = &rm_table[dp->op[1].bytemode][ins->modrm.rm]; 9144 if (ins->modrm.mod == 3) 9358 /* There is no MODRM byte for VEX0F 77. * [all...] |