mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 08:57:43 +08:00
[X86] Add 'FeatureSlowSHLD' to cpu 'bdver4'
As with all AMD CPUs, excavator has poor SHLD/SHRD performance. Also added bdver3 to the test as it was missing. llvm-svn: 276569
This commit is contained in:
@@ -729,6 +729,7 @@ def : Proc<"bdver4", [
|
||||
FeatureTBM,
|
||||
FeatureFMA,
|
||||
FeatureXSAVEOPT,
|
||||
FeatureSlowSHLD,
|
||||
FeatureFSGSBase,
|
||||
FeatureLAHFSAHF,
|
||||
FeatureMWAITX
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=btver2 | FileCheck %s
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=bdver1 | FileCheck %s
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=bdver2 | FileCheck %s
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=bdver3 | FileCheck %s
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=bdver4 | FileCheck %s
|
||||
|
||||
; Verify that for the X86_64 processors that are known to have poor latency
|
||||
; double precision shift instructions we do not generate 'shld' or 'shrd'
|
||||
|
||||
Reference in New Issue
Block a user