mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 05:12:20 +00:00
[NVPTX] Update sub-target feature detection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d7f3e3923
commit
aac29c0c22
@ -81,10 +81,12 @@ public:
|
||||
bool hasFMAF32() const { return SmVersion >= 20; }
|
||||
bool hasFMAF64() const { return SmVersion >= 13; }
|
||||
bool hasLDG() const { return SmVersion >= 32; }
|
||||
bool hasLDU() const { return SmVersion >= 20; }
|
||||
bool hasLDU() const { return ((SmVersion >= 20) && (SmVersion < 30)); }
|
||||
bool hasGenericLdSt() const { return SmVersion >= 20; }
|
||||
inline bool hasHWROT32() const { return false; }
|
||||
inline bool hasSWROT32() const { return true; }
|
||||
inline bool hasHWROT32() const { return SmVersion >= 32; }
|
||||
inline bool hasSWROT32() const {
|
||||
return ((SmVersion >= 20) && (SmVersion < 32));
|
||||
}
|
||||
inline bool hasROT32() const { return hasHWROT32() || hasSWROT32(); }
|
||||
inline bool hasROT64() const { return SmVersion >= 20; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user