[llvm-dev] [RFC] Print FP constant assembly in hexadecimal form instead of decimal

Jacob Lifshay via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 28 13:32:41 PST 2020


On Tue, Jan 28, 2020 at 11:05 AM Jinsong Ji via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi:
>
> When debugging some floating point assembly, we found it is inconvenient to read the decimal constants in assembly.
>
> In hex form many FP numbers are immediately recognizable, their exponents are more obvious etc.
> We normally use hex form in debugger or LLVM IR,
> not sure what is the reason that we want to use decimal in assembly?

This seems like a really good idea!

Jacob


More information about the llvm-dev mailing list