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

vc4: Implement some useful instruction selection #88

Open
anholt opened this issue Jan 16, 2018 · 0 comments
Open

vc4: Implement some useful instruction selection #88

anholt opened this issue Jan 16, 2018 · 0 comments

Comments

@anholt
Copy link
Owner

anholt commented Jan 16, 2018

This paper describes an instruction selection algorithm that seems really nice. It would probably remove the need for vc4_qir_lower_uniforms.c and fix #85, and probably make #86 easier.

Describing patterns of NIR instructions to match to QPU instruction sequences seems messy. Descriptions like src/compiler/nir/nir_opt_algebraic.py would be nice, and maybe we could reuse the NIR matching support. We'd want to be able to have some intrinsics in the matching, for things like discard_if in #86, so the NIR matching would need to be extended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant