[PATCH 10/10] Support Intel PREFETCHI
Jan Beulich
jbeulich@suse.com
Tue Oct 25 07:11:03 GMT 2022
On 19.10.2022 17:15, Haochen Jiang wrote:
> --- a/gas/config/tc-i386.c
> +++ b/gas/config/tc-i386.c
> @@ -1102,6 +1102,7 @@ static const arch_entry cpu_arch[] =
> SUBARCH (raoint, RAOINT, ANY_RAOINT, false),
> SUBARCH (wrmsrns, WRMSRNS, WRMSRNS, false),
> SUBARCH (msrlist, MSRLIST, MSRLIST, false),
> + SUBARCH (prefetchi, PREFETCHI, ANY_PREFETCHI, false),
> };
>
> #undef SUBARCH
> @@ -4522,7 +4523,8 @@ load_insn_p (void)
> {
> /* Anysize insns: lea, invlpg, clflush, prefetchnta, prefetcht0,
> prefetcht1, prefetcht2, prefetchtw, bndmk, bndcl, bndcu, bndcn,
> - bndstx, bndldx, prefetchwt1, clflushopt, clwb, cldemote. */
> + bndstx, bndldx, prefetchwt1, clflushopt, clwb, cldemote, prefetchit0
> + prefetchit1. */
> if (i.tm.opcode_modifier.anysize)
> return 0;
>
There's still no change in this file making sure that the new insns are
_only_ accepted with RIP-relative addressing. See my earlier comments.
Jan
More information about the Binutils
mailing list