[PATCH] D94436: [X86] Add the FSRM feature (Fast Short Rep Mov) to Zen3.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 14 10:47:57 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG202d359753d1: [X86] Add the FSRM feature (Fast Short Rep Mov) to Zen3. (authored by yamauchi).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94436/new/
https://reviews.llvm.org/D94436
Files:
llvm/lib/Target/X86/X86.td
llvm/test/CodeGen/X86/memcpy-inline-fsrm.ll
Index: llvm/test/CodeGen/X86/memcpy-inline-fsrm.ll
===================================================================
--- llvm/test/CodeGen/X86/memcpy-inline-fsrm.ll
+++ llvm/test/CodeGen/X86/memcpy-inline-fsrm.ll
@@ -4,6 +4,7 @@
; RUN: llc -mtriple=x86_64-linux-gnu -x86-use-fsrm-for-memcpy -mcpu=haswell < %s | FileCheck %s --check-prefix=NOFSRM
; RUN: llc -mtriple=x86_64-linux-gnu -x86-use-fsrm-for-memcpy -mcpu=icelake-client < %s | FileCheck %s --check-prefix=FSRM
; RUN: llc -mtriple=x86_64-linux-gnu -x86-use-fsrm-for-memcpy -mcpu=icelake-server < %s | FileCheck %s --check-prefix=FSRM
+; RUN: llc -mtriple=x86_64-linux-gnu -x86-use-fsrm-for-memcpy -mcpu=znver3 < %s | FileCheck %s --check-prefix=FSRM
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) nounwind
Index: llvm/lib/Target/X86/X86.td
===================================================================
--- llvm/lib/Target/X86/X86.td
+++ llvm/lib/Target/X86/X86.td
@@ -1071,7 +1071,8 @@
list<SubtargetFeature> ZN2Tuning = ZNTuning;
list<SubtargetFeature> ZN2Features =
!listconcat(ZNFeatures, ZN2AdditionalFeatures);
- list<SubtargetFeature> ZN3AdditionalFeatures = [FeatureINVPCID,
+ list<SubtargetFeature> ZN3AdditionalFeatures = [FeatureFSRM,
+ FeatureINVPCID,
FeaturePKU,
FeatureVAES,
FeatureVPCLMULQDQ];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94436.316708.patch
Type: text/x-patch
Size: 1530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/1accd50c/attachment.bin>
More information about the llvm-commits
mailing list