File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2348,18 +2348,18 @@ void Compiler::compSetProcessor()
2348
2348
#ifdef TARGET_XARCH
2349
2349
if (!compIsForInlining ())
2350
2350
{
2351
- if (canUseEvexEncoding ())
2352
- {
2353
- codeGen->GetEmitter ()->SetUseEvexEncoding (true );
2354
- // TODO-XArch-AVX512 : Revisit other flags to be set once avx512 instructions are added.
2355
- }
2356
2351
if (canUseVexEncoding ())
2357
2352
{
2358
2353
codeGen->GetEmitter ()->SetUseVEXEncoding (true );
2359
2354
// Assume each JITted method does not contain AVX instruction at first
2360
2355
codeGen->GetEmitter ()->SetContainsAVX (false );
2361
2356
codeGen->GetEmitter ()->SetContains256bitOrMoreAVX (false );
2362
2357
}
2358
+ if (canUseEvexEncoding ())
2359
+ {
2360
+ codeGen->GetEmitter ()->SetUseEvexEncoding (true );
2361
+ // TODO-XArch-AVX512 : Revisit other flags to be set once avx512 instructions are added.
2362
+ }
2363
2363
}
2364
2364
#endif // TARGET_XARCH
2365
2365
}
You can’t perform that action at this time.
0 commit comments