Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling for AVX512 target with 'disable-zmm' param #2792

Open
petrsm opened this issue Mar 12, 2024 · 1 comment
Open

Error when compiling for AVX512 target with 'disable-zmm' param #2792

petrsm opened this issue Mar 12, 2024 · 1 comment
Labels

Comments

@petrsm
Copy link

petrsm commented Mar 12, 2024

When I try to compile some of our code for AVX512 with 'disable-zmm' parameter, I get following error:

"LLVM ERROR: Don't know how to split the result of this operator !"

Compiling without this parameter works fine. I was just curious if this option has (positive) impact
on performance of generated code.

Repro case attached.

repro.zip

@nurmukhametov
Copy link
Collaborator

The minimized reproducer is:

void foo(uniform float output[], float a, float b)
{
   float m = max(a, b);
   output[programIndex] = m;
}

Compile with: ispc --target=avx512skx-x16 --opt=disable-zmm test.ispc --emit-obj -o test.o

@pbrubaker pbrubaker added the Bugs label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants