[PATCH v2] x86: Support Zhaoxin PadLock RNG2 instruction

Jan Beulich jbeulich@suse.com
Thu Jan 9 12:15:21 GMT 2025


On 08.01.2025 10:46, Mayshao-oc wrote:
> 
> Hi all:
>      This patch adds support for Zhaoxin PadLock RNG2 instruction, the
> CPUID EDX bit[23] indicates its enablement, it includes REP XRNG2
> instruction.
>      Test ok, ok for trunk?
> 
> Changes in V2:
> 1. Change the indenting correctly and change the boolean expression in output_insn()

That adjustment has resulted in too long a line now.

> 2. Rename RNG2 to PadLockRNG2

With this I don't think the comment in add_branch_prefix_frag_p() needs
adjusting anymore.

I can make these adjustments when committing the change on your behalf,
unless you disagree. Beyond these the patch is okay to go in now.

> 3. Add PadLockRNG2 to dependency table.

Orthogonal to this: Should there be a similar dependency of GMI on PadLock?

Jan


More information about the Binutils mailing list