Add vzeroupper for processors with AVX

To avoid false dependencies on upper 128 bits of YMM registers.
This commit is contained in:
SChernykh
2019-12-18 09:12:25 +01:00
parent fc3c995ec2
commit 4237ed6fad
3 changed files with 12 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ namespace randomx {
uint32_t vm_flags;
static bool BranchesWithin32B;
bool hasAVX;
static void applyTweaks();
void generateProgramPrologue(Program&, ProgramConfiguration&);