Merge Assembly enum and Asm class.

This commit is contained in:
XMRig
2019-06-28 13:08:08 +07:00
parent 8eb1cc8731
commit 14a937cf70
19 changed files with 164 additions and 139 deletions

View File

@@ -40,7 +40,7 @@ public:
protected:
size_t optimalThreadsCount(size_t memSize, int maxCpuUsage) const override;
inline Assembly assembly() const override { return m_assembly; }
inline Assembly::Id assembly() const override { return m_assembly; }
inline bool hasAES() const override { return m_aes; }
inline bool hasAVX2() const override { return m_avx2; }
inline bool isSupported() const override { return true; }