[Mesa-dev] Mesa IR as a list of instructions

Erik Faye-Lund kusmabite at gmail.com
Tue Jun 3 01:28:56 PDT 2014


On Fri, May 30, 2014 at 9:22 PM, Eric Anholt <eric at anholt.net> wrote:
> However, talking yesterday about SSA and vector representations, we
> again failed to come up with anything that sounded compelling -- it
> appears that SSA is going to make obvious optimizations like dead code
> elimination in a vec4 IR harder.  Ken and Matt pretty well convinced me
> that any new IR we work on should probably be scalar -- 965 is mostly
> scalar getting more so, my next project is scalar, and as far as I know
> current radeon and nouveau is scalar.
>
> Is anyone working on hardware with vector instructions these days?

Yes, the Tegra vertex shader ISA is NV30/40, which is vector. Also,
the Lima-guys might not be happy with a scalar-only ISA. Neither of
these are supported in Mesa today, but Freedreno supports Adreno 2xx,
Nouveau supports NV30/40, and there's the AMD R300 driver, all vector
hardware.


More information about the mesa-dev mailing list