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

VideoCore IV shader compiler optimization #28

Open
hideyukn88 opened this issue Jan 26, 2016 · 1 comment
Open

VideoCore IV shader compiler optimization #28

hideyukn88 opened this issue Jan 26, 2016 · 1 comment
Assignees

Comments

@hideyukn88
Copy link
Member

This is bucket work item has to be breakdown to smaller real items once direction is finalized, and forked "optimized_compiler" branch to be used for work.

As many might noticed, today’s shader compiler is not really “compiler”, but more like just “translator” from HLSL to QPU instructions for quick ramp up and scoped purpose, thus outcome is not really optimized to VC4/QPU architecture.

At "optimized_compiler" branch, we can look into …

• High IR or possible LLVM
• Architecture specific IR
• Dynamic register (accumulator/register file) assignment
• Dependency based dead code removal and reordering
• Optimized to add/mul simultaneous pipeline
• Reduce duplicated constant access
• and more.

And all contributor are welcomed to have discussion/proposal here.

@hideyukn88 hideyukn88 changed the title Shader compiler optimization VideoCore IV shader compiler optimization Jan 26, 2016
@kika123
Copy link

kika123 commented Jan 27, 2016

The VC4 QPU ISA is hard as hell to optimize

@hideyukn88 hideyukn88 self-assigned this Mar 27, 2016
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

2 participants