<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 18, 2012, at 2:07 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt"><div dir="ltr"><div class="gmail_default" style="">On Tue, Dec 18, 2012 at 1:13 PM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@google.com" target="_blank" class="cremed">eliben@google.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Dec 18, 2012 at 1:09 PM, Craig Topper <<a href="mailto:craig.topper@gmail.com" class="cremed">craig.topper@gmail.com</a>> wrote:<br>
> But its pretty easy to change the tabstop within the editor to make it<br>
> readable.<br>
><br>
<br>
</div>True, in this case... The output is not trying to be intelligent in<br>
the general case, just spitting out tabs. I agree that to replace<br>
this, however, it would be best to look at some smart column-padded<br>
formatting than use a constant tab -> N spaces replacement. I'll see<br>
if this is something I can get to.</blockquote><div><br></div><div style="">Maybe it's naive, but I would expect it to be easy for each backend to expose a constant N which is the length of the longest mnemonic, and then for the printer to pad to N+1 or N+2….</div>
</div></div></div></div></blockquote><br></div><div>That would probably work for X86, but other targets (ARM in particular) often have operands which are printed/parsed as suffices on the mnemonic itself. Because of these, the backend does not statically know the longest potential string-of-stuff-before-the-tab.</div><div><br></div><div>--Owen</div><br></body></html>