Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.5.0

1.6.0

Issue ID

BUR-1009

Regression

No

[1307546] CPU feature checks are ignored

Package: Burst

-

[https://fogbugz.unity3d.com/f/cases/1307546/]
{code:java}
How to reproduce:
1. Open the attached project ("featureCheck.zip")
2. Open Jobs > Burst > Open Inspector
3. Inspect "Guards_Not_Considered_Across_Functions.Job"
4. Set CPU feature to AVX2
5. Notice no compilation errors
6. Set CPU feature to X86_SSE2

Expected results: No compilation errors, because there is an if clause with "Avx.IsAvxSupported" used in the Job
Actual results: Compilation errors for other selected CPU features

Reproducible with: Burst 1.4.3, 1.5.0-pre.3 (2020.2.2f1-dots.4, 2021.1.0b5, 2021.2.0a3)
{code}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.