mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Add methods for querying minimum SSE version along with AVX. Simplifies all the places that had to check a version of SSE and AVX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145053 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -190,6 +190,10 @@ public:
|
||||
bool hasAVX2() const { return HasAVX2; }
|
||||
bool hasXMM() const { return hasSSE1() || hasAVX(); }
|
||||
bool hasXMMInt() const { return hasSSE2() || hasAVX(); }
|
||||
bool hasSSE3orAVX() const { return hasSSE3() || hasAVX(); }
|
||||
bool hasSSSE3orAVX() const { return hasSSSE3() || hasAVX(); }
|
||||
bool hasSSE41orAVX() const { return hasSSE41() || hasAVX(); }
|
||||
bool hasSSE42orAVX() const { return hasSSE42() || hasAVX(); }
|
||||
bool hasAES() const { return HasAES; }
|
||||
bool hasCLMUL() const { return HasCLMUL; }
|
||||
bool hasFMA3() const { return HasFMA3; }
|
||||
|
Reference in New Issue
Block a user