RE: [PATCH] i386: Change prefetchi output template

2024-07-22 Thread Kong, Lingling
> -Original Message- > From: Haochen Jiang > Sent: Monday, July 22, 2024 2:41 PM > To: gcc-patches@gcc.gnu.org > Cc: Liu, Hongtao ; ubiz...@gmail.com > Subject: [PATCH] i386: Change prefetchi output template > > Hi all, > > For prefetchi instruc

[PATCH] i386: Change prefetchi output template

2024-07-21 Thread Haochen Jiang
Hi all, For prefetchi instructions, RIP-relative address is explicitly mentioned for operand and assembler obeys that rule strictly. This makes instruction like: prefetchit0 bar got illegal for assembler, which should be a broad usage for prefetchi. Explicitly add (%rip) after funct