PATCH: R600/SI: Experimental assembler / inline assembly support

Marek Olšák maraeo at gmail.com
Fri Mar 13 08:05:52 PDT 2015


Hi Tom,

So will I be able to use inline assembly in Mesa? Can I write whole
shaders in asm? Will the compilation be faster with asm-only shaders?

This would be useful for a fetch shader, which should be a separate
binary invoked by a vertex shader (e.g. by using a jump instruction,
or more easily, by appending a vertex shader binary after a fetch
shader binary).

Marek

On Fri, Mar 13, 2015 at 3:45 AM, Tom Stellard <tom at stellard.net> wrote:
> Hi,
>
> The attached patches add experimental assembler and inline assembly
> support to the R600 backend.  Not all instructions are supported yet,
> but the most of non-image instructions should work.
>
> I've only tested with the SI encodings, Sea Islands and Volcanic Islands
> are probably less complete.
>
> -Tom
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list