[Mesa-dev] [PATCH 00/10] i965: Add a width field to fs_inst

Matt Turner mattst88 at gmail.com
Thu Sep 4 23:03:38 PDT 2014


On Thu, Sep 4, 2014 at 10:19 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> This is the first chunk of patches in my work on adding instruction and
> register widths to the fs backend.  Eventually, this will allow us to more
> easily emit 8-wide instructions in SIMD16 mode from the fs_visitor level.
> More patches will be coming to add a width field to the registers and allow
> for more fine-grained register allocation.

I think we're using the wrong terminology here. Instructions don't
have widths; registers do. Instructions have execution sizes (and so
you should use the BRW_EXECUTE_* macros).

I guess I'm having a hard time seeing the whole picture, i.e., what
explicit instruction execsizes buys us. Is there a branch with work
that builds on this that I should look at?


More information about the mesa-dev mailing list