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: Switch to more QPU-instruction-like QIR instructions #87

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

vc4: Switch to more QPU-instruction-like QIR instructions #87

anholt opened this issue Jan 16, 2018 · 0 comments

Comments

@anholt
Copy link
Owner

anholt commented Jan 16, 2018

In VC5, I moved QPU instruction packing to the very end of the compiler pipeline, and the middle (including QIR) works on an unpacked QPU instruction structure full of enums, plus information on the side for tracking the QIR register files (so we can allocate temps). This has felt really nice for writing compiler code on VC5, and we should probably either port it back to VC4 or try writing a VC4 port in the VC5 compiler.

The first step would be to do QPU pack/unpack/disasm in the style of VC5, with unit tests.

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