Search Issue Tracker

Fixed in 1.4.4

Votes

0

Found in [Package]

1.4.3

Issue ID

1298811

Regression

No

[Burst] X86.Avx2.blend_epi32 bit flip error in managed C# and Burst compilation error

Package: Burst

-

How to reproduce:
1. Open the attached project ("intrins.zip")
2. Review functions in "Reproduce_Avx2_blend_epi32_bugs.cs"
3. Debug the managed C# and inspect the assembly in the Burst Inspector

Expected results: The mask stays the same when compiled for X86.Avx2.blend_epi32; X86.Avx2.blend_epi32 and X86.Avx2.mm256_blend_epi32 output the correct result
Actual results: The mask changes for X86.Avx2.blend_epi32 in the assembly and for X86.Avx2.blend_epi32 and X86.Avx2.mm256_blend_epi32 a bit is flipped for the value -6558885 in the result

Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10, 2021.2.0a1 (Burst 1.3.0 - 1.4.3)

  1. Resolution Note (fix version 1.4.4):

    Fixed in Burst 1.4.4 which is available in 2018.4 and up

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.