Optimizations for AMD Bulldozer

- Added support for XOP instructions
- Enabled Ryzen code for Bulldozer because it's faster there too
This commit is contained in:
SChernykh 2020-01-15 13:04:26 +01:00
parent 665e43fecc
commit f80177cbd3
9 changed files with 69 additions and 10 deletions

View file

@ -73,10 +73,12 @@ namespace randomx {
std::pair<const void*, const void*> mainLoopBounds;
# endif
int32_t codePos;
int32_t codePosFirst;
uint32_t vm_flags;
static bool BranchesWithin32B;
bool hasAVX;
bool hasXOP;
static void applyTweaks();
void generateProgramPrologue(Program&, ProgramConfiguration&);