diff options
| author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2016-02-12 23:37:57 +0000 |
|---|---|---|
| committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2016-02-12 23:37:57 +0000 |
| commit | 0de36ec169b8c818487606658ed2504c88f4c0e7 (patch) | |
| tree | b7a70c0f81a344cc848172abf3d4384b0e6712d9 /llvm/lib/Target/X86/X86Subtarget.h | |
| parent | 76fbdeb7d5a65dcb220bc0d73cfb8dd66293fde5 (diff) | |
| download | bcm5719-llvm-0de36ec169b8c818487606658ed2504c88f4c0e7.tar.gz bcm5719-llvm-0de36ec169b8c818487606658ed2504c88f4c0e7.zip | |
Disable the vzeroupper insertion pass on PS4.
Differential Revision: http://reviews.llvm.org/D16837
llvm-svn: 260764
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index d355ca310ea..501770ca0d0 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -189,6 +189,10 @@ protected: /// the stack pointer. This is an optimization for Intel Atom processors. bool UseLeaForSP; + /// True if there is no performance penalty to writing only the lower parts + /// of a YMM register without clearing the upper part. + bool HasFastPartialYMMWrite; + /// True if 8-bit divisions are significantly faster than /// 32-bit divisions and should be used when possible. bool HasSlowDivide32; @@ -421,6 +425,7 @@ public: bool hasSSEUnalignedMem() const { return HasSSEUnalignedMem; } bool hasCmpxchg16b() const { return HasCmpxchg16b; } bool useLeaForSP() const { return UseLeaForSP; } + bool hasFastPartialYMMWrite() const { return HasFastPartialYMMWrite; } bool hasSlowDivide32() const { return HasSlowDivide32; } bool hasSlowDivide64() const { return HasSlowDivide64; } bool padShortFunctions() const { return PadShortFunctions; } |

