Add vzeroupper for processors with AVX
To avoid false dependencies on upper 128 bits of YMM registers.
This commit is contained in:
parent
59e8fdb9ed
commit
7459677fd5
3 changed files with 12 additions and 0 deletions
|
@ -73,6 +73,7 @@ namespace randomx {
|
|||
uint32_t vm_flags;
|
||||
|
||||
static bool BranchesWithin32B;
|
||||
bool hasAVX;
|
||||
|
||||
static void applyTweaks();
|
||||
void generateProgramPrologue(Program&, ProgramConfiguration&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue