<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 20, 2011, at 1:08 PM, Jakob Stoklund Olesen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Jun 20, 2011, at 8:53 AM, Justin Holewinski wrote:<br><br><blockquote type="cite">However, as far as I know, LLVM requires static register data that is generated from tablegen files.<br></blockquote><br>TableGen is not required, you can provide your own TargetRegisterInfo sub-class. That's a lot of work, though, and I wouldn't recommend it.<br></div></blockquote><div><br></div><div>That's an interesting idea. Since the PTX register file is fairly simple (no overlapping, etc.), the generated register info does not seem too complicated.</div><div><br></div><div>My main concern would be if the register description structures change, which would require manual changes to the PTX back-end instead of just relying on TableGen being updated to use the new format.</div><br><blockquote type="cite"><div><br>/jakob<br><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Thanks,<br><br>Justin Holewinski</span>
</div>
<br></body></html>