[PATCH] x86: Support Zhaoxin PadLock XMODX instructions

Jan Beulich jbeulich@suse.com
Mon Jan 20 09:41:58 GMT 2025


On 17.01.2025 10:00, Mayshao-oc wrote:
>      This patch adds support for Zhaoxin XMODX instructions.
>      The CPUID EDX bit[28] indicates its enablement, and it includes REP
> XMODEXP and REP MONTMUL2. XMODX stands for modular exponentiation, it indicates 
> the support of modular exponentiation feature, both REP XMODEXP and 
> REP MONTMUL2 use it.
>      Test ok, ok for trunk?

Looks good to me, except there's a possible issue with the gas/NEWS entry:
As you were likely aware up front, the 2.44 branch was created over the
weekend. Generally I wouldn't expect late feature additions to still be
eligible to go on the branch; Nick, do you concur? If so, the existing
entry may not be altered, and a new one (for 2.45) would need creating
instead. (Once this is settled, I'd be okay making the adjustment [if
necessary] while committing the change on your behalf.)

Jan



More information about the Binutils mailing list