<div dir="auto"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="mailto:CAG1MoSY3Y89J20eDOWHnUfzwiL2jJG1e9urD90UoUeRYyR7MwA@mail.gmail.com" rel="noreferrer noreferrer" target="_blank"></a></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'm primarily a hardware person but would like to do some<br>
compiler-architecture co-design research. Are there any good references for<br>
the NVPTX backend?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto"><div dir="auto">Hi Nick,</div><div dir="auto"><br></div><div dir="auto">I've found working near ptxas quite painful. There are various bugs open against it and the documentation for sass is sparse.</div><div dir="auto"><br></div><div dir="auto">For architecture research, you may have a better time with the amdgcn backend. The target ISA is well documented, and llc generates code for it, so there's no opaque translation blob in the way of reasoning about the system.</div><div dir="auto"><br></div><div dir="auto">There's some notes on the main llvm page and the ISA is published by AMD. Beyond that I think it's the code and mailing list.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br style="font-family:sans-serif"></div><div dir="auto">Jon</div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>