David Goodwin
2009-Jul-17 22:00 UTC
[LLVMdev] regression: double spaced asm output for thumb-2
Something has changed in the last few days that breaks thumb-2 (and possibly all ARM) assembly output. Some, but not all lines are double- spaced, for example: fstd d13, [sp, #+40] fstd d12, [sp, #+32] fstd d11, [sp, #+24] fstd d10, [sp, #+16] fstd d9, [sp, #+8] fstd d8, [sp] sub sp, sp, #872 mov r4, r1 mov r5, r0 cmp r0, #2 ble LBB1_133 @ entry.bb2.i_crit_edge LBB1_1: @ bb.i ldr r0, [r4, #+8] bl L_atoi$stub LBB1_2: @ bb2.i str r0, [sp, #+80] cmp r5, #1 ble LBB1_134 @ bb2.i.dealwithargs.exit_crit_edge LBB1_3: @ bb3.i ldr r0, [r4, #+4] bl L_atoi$stub LBB1_4: @ dealwithargs.exit mov r4, r0 str r4, [sp, #+64] mov r0, #32 ldr r5, [sp, #+80] mov r1, r5 bl L___divsi3$stub str r0, [sp, #+72] mov r0, #64 mov r1, r5 bl L___divsi3$stub str r0, [sp, #+76] ldr r0, LCPI1_30 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090717/7031db0a/attachment.html>
Anton Korobeynikov
2009-Jul-17 22:30 UTC
[LLVMdev] regression: double spaced asm output for thumb-2
Hi David On Sat, Jul 18, 2009 at 02:00, David Goodwin<david_goodwin at apple.com> wrote:> Something has changed in the last few days that breaks thumb-2 (and possibly > all ARM) assembly output. Some, but not all lines are double-spaced, for > example:How does extra whitespace break the things? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
David Goodwin
2009-Jul-17 22:50 UTC
[LLVMdev] regression: double spaced asm output for thumb-2
It doesn't break the assembler... but it is wrong... and ugly... and many other adjectives. I isolated the change and let the submitter know. David On Jul 17, 2009, at 3:30 PM, Anton Korobeynikov wrote:> Hi David > > On Sat, Jul 18, 2009 at 02:00, David > Goodwin<david_goodwin at apple.com> wrote: >> Something has changed in the last few days that breaks thumb-2 (and >> possibly >> all ARM) assembly output. Some, but not all lines are double- >> spaced, for >> example: > How does extra whitespace break the things? > > -- > With best regards, Anton Korobeynikov > Faculty of Mathematics and Mechanics, Saint Petersburg State > University > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev