Brian Cain 62d018b87a
[lld][Hexagon] Fix R_HEX_TPREL_11_X relocation on duplex instructions (#179860)
findMaskR11() was missing handling for duplex instructions. This caused
incorrect encoding when R_HEX_TPREL_11_X relocations were applied to
duplex instructions with large TLS offsets.

For duplex instructions, the immediate bits are located at positions
20-25 (mask 0x03f00000), not in the standard positions used for
non-duplex instructions.

This fix adds the isDuplex() check to findMaskR11() to return the
correct mask for duplex instruction encodings.
2026-02-09 14:45:36 -06:00
..
2025-05-25 21:09:55 -07:00
2024-08-30 10:50:56 -04:00
2024-07-28 12:38:10 -07:00
2024-06-14 23:20:50 -07:00
2024-11-23 12:46:35 -08:00
2025-09-04 01:38:46 +00:00
2024-11-29 13:00:36 -08:00
2024-07-31 12:57:23 -07:00
2026-02-04 20:29:54 -08:00