aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Tony Luck <tony.luck@intel.com> 2019-12-16 13:42:54 -0800
committerGravatar Borislav Petkov <bp@suse.de> 2020-01-08 11:29:25 +0100
commitf444a5ff95dce07cf4353cbb85fc3e785019d430 (patch)
tree028332dd5f3c84140bc8ec91bc705b39f0546e1d /tools
parentx86/context-tracking: Remove exception_enter/exit() from KVM_PV_REASON_PAGE_N... (diff)
downloadlinux-f444a5ff95dc.tar.gz
linux-f444a5ff95dc.tar.bz2
linux-f444a5ff95dc.zip
x86/cpufeatures: Add support for fast short REP; MOVSB
>From the Intel Optimization Reference Manual: 3.7.6.1 Fast Short REP MOVSB Beginning with processors based on Ice Lake Client microarchitecture, REP MOVSB performance of short operations is enhanced. The enhancement applies to string lengths between 1 and 128 bytes long. Support for fast-short REP MOVSB is enumerated by the CPUID feature flag: CPUID [EAX=7H, ECX=0H).EDX.FAST_SHORT_REP_MOVSB[bit 4] = 1. There is no change in the REP STOS performance. Add an X86_FEATURE_FSRM flag for this. memmove() avoids REP MOVSB for short (< 32 byte) copies. Check FSRM and use REP MOVSB for short copies on systems that support it. [ bp: Massage and add comment. ] Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20191216214254.26492-1-tony.luck@intel.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions