target/i386: Add support for CMPCCXADD in CPUID enumeration
authorJiaxi Chen <jiaxi.chen@linux.intel.com>
Fri, 3 Mar 2023 06:59:08 +0000 (14:59 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Apr 2023 10:50:34 +0000 (12:50 +0200)
commita9ce107fd0f2017af84255a9cf6542fa3eb3e214
tree15c4ea1370718c3b324da092eda6e32e284b0487
parentfb6bbafc0f19385fb257ee073ed13dcaf613f2f8
target/i386: Add support for CMPCCXADD in CPUID enumeration

CMPccXADD is a new set of instructions in the latest Intel platform
Sierra Forest. This new instruction set includes a semaphore operation
that can compare and add the operands if condition is met, which can
improve database performance.

The bit definition:
CPUID.(EAX=7,ECX=1):EAX[bit 7]

Add CPUID definition for CMPCCXADD.

Signed-off-by: Jiaxi Chen <jiaxi.chen@linux.intel.com>
Signed-off-by: Tao Su <tao1.su@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20230303065913.1246327-2-tao1.su@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h