<html><body><p><font size="2">Thank you for the feedback and suggestion. </font><br><br><font size="2">There are more than 300 testcases with hex form in assembly test under llvm source tree. </font><br><font size="2">So I think at least following major tools and platforms have supported it well.</font><br><font size="2">And I have tried on the platforms that I can access, no problem found yet either.</font><br><br><font size="2">$ grep ".long\s*0x" test -R|cut -d ':' -f 1 | cut -d '/' -f 3 |sort|uniq</font><br><font size="2">AArch64</font><br><font size="2">AMDGPU</font><br><font size="2">ARM</font><br><font size="2">AsmParser</font><br><font size="2">COFF</font><br><font size="2">Hexagon</font><br><font size="2">llvm-dwarfdump</font><br><font size="2">llvm-objdump</font><br><font size="2">llvm-readobj</font><br><font size="2">llvm-symbolizer</font><br><font size="2">MachO</font><br><font size="2">PowerPC</font><br><font size="2">RISCV</font><br><font size="2">Thumb</font><br><font size="2">X86</font><br><br><br><font size="2"><br>Best,<br><br>Jinsong Ji (ΌΝ½πΛΙ), PhD.<br><br>XL/LLVM on Power Compiler Development <br>E-mail: jji@us.ibm.com</font><br><br><img width="16" height="16" src="cid:1__=8FBB0F97DFC4142D8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Nemanja Ivanovic ---02/04/2020 08:52:06 AM---Seems reasonable to me, but we should make sure that var"><font size="2" color="#424282">Nemanja Ivanovic ---02/04/2020 08:52:06 AM---Seems reasonable to me, but we should make sure that various assemblers out there support this.</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Nemanja Ivanovic <nemanja.i.ibm@gmail.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Jacob Lifshay <programmerjake@gmail.com></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">Jinsong Ji <jji@us.ibm.com>, llvm-dev <llvm-dev@lists.llvm.org>, Robert Enenkel <enenkel@ca.ibm.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">02/04/2020 08:52 AM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[EXTERNAL] Re: [llvm-dev] [RFC] Print FP constant assembly in hexadecimal form instead of decimal</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>Seems reasonable to me, but we should make sure that various assemblers out there support this.<br>I think it would make sense to try this out on some number of platforms before proceeding. Perhaps a few Linux distros, AIX, Windows, MacOS, FreeBSD. And of course, to make sure that LLVM's own llvm-mc understands it :) (but I suspect this is in the mentioned patch which I haven't looked at yet).<br><br>On Tue, Jan 28, 2020 at 4:33 PM Jacob Lifshay via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org"><u><font color="#0000FF">llvm-dev@lists.llvm.org</font></u></a>> wrote:
<ul>On Tue, Jan 28, 2020 at 11:05 AM Jinsong Ji via llvm-dev<br><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank"><u><font color="#0000FF">llvm-dev@lists.llvm.org</font></u></a>> wrote:<br>><br>> Hi:<br>><br>> When debugging some floating point assembly, we found it is inconvenient to read the decimal constants in assembly.<br>><br>> In hex form many FP numbers are immediately recognizable, their exponents are more obvious etc.<br>> We normally use hex form in debugger or LLVM IR,<br>> not sure what is the reason that we want to use decimal in assembly?<br><br>This seems like a really good idea!<br><br>Jacob<br>_______________________________________________<br>LLVM Developers mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:llvm-dev@lists.llvm.org" target="_blank"><u><font color="#0000FF">llvm-dev@lists.llvm.org</font></u></a><u><font color="#0000FF"><br></font></u><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank"><u><font color="#0000FF">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</font></u></a><br><br></ul><BR>
</body></html>