Home | History | Annotate | Download | only in bfd

Lines Matching defs:rex2

1831       /* Skip if this isn't a REX2 instruction, nor un-prefixed MOVRS.  */
2256 unsigned int rex2 = 0;
2263 /* Synthesize a REX2 prefix from EVEX, just enough for the LEA
2269 rex2 |= REX_R;
2271 rex2 |= REX_R << 4;
2274 rex2 |= REX_W;
2291 rex2 = bfd_get_8 (abfd, contents + roff - 3) | 0x100;
2293 rex_w = (rex2 & REX_W) != 0;
2347 /* Clear the W bit in REX byte and REX2 payload. */
2360 if (opcode == 0x85 && !(rex2 & (REX2_M << 4)))
2367 else if ((opcode | 0x38) == 0x3b && !(rex2 & (REX2_M << 4)))
2374 else if (opcode == 0xaf && (rex2 & (REX2_M << 4)))
2383 else if (opcode == 0xff && !(rex2 & (REX2_M << 4)))
2393 else if (rex2)
2397 bfd_put_8 (abfd, rex2, contents + roff - 2);
2446 else if (rex2)
2448 /* Move the R bits to the B bits in REX2 payload byte. */
2449 rex2 = ((rex2 & ~rex2_mask)
2450 | (rex2 & (REX_R | REX_R << 4)) >> 2);
2451 bfd_put_8 (abfd, rex2, contents + roff - 3);
2461 segment overrides instead. When necessary also install the REX2
2470 bfd_put_8 (abfd, rex2, contents + roff - 3);
4287 unsigned int val, rex2;
4292 rex2 = bfd_get_8 (input_bfd, contents + roff - 3);
4294 /* Move the R bits to the B bits in REX2 payload
4297 ((rex2 & ~rex2_mask)
4298 | (rex2 & rex2_mask) >> 2),
4460 unsigned int rex2, type, reg;
4466 rex2 = bfd_get_8 (input_bfd, contents + roff - 3);
4470 /* Move the R bits to the B bits in REX2 payload
4478 rex2 = 0x2e;
4486 ((rex2 & ~rex2_mask)
4487 | (rex2 & rex2_mask) >> 2),
4554 /* Convert MOVRS to REX2-encoded MOV. */
4555 unsigned int rex2 = 0;
4557 /* Move the EVEX R bits to the REX2 B ones. */
4559 rex2 |= REX_B;
4561 rex2 |= REX_B << 4;
4562 /* Propagate the EVEX W bit to the REX2 one. */
4565 rex2 |= REX_W;
4571 bfd_put_8 (output_bfd, rex2, contents + roff - 3);